llvm / llvm/torch-mlir

[ONNX] Scan outputs for onnx.Loop

Open
#3,988 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.9k
Forks
736
Avg merge
5d 22h
Merged PRs (30d)
15

Description

The current implementation for `onnx.Loop` operator (PR #3408) does not support scan outputs. These are additional outputs that are concatenated across all iterations (see [operator spec](https://onnx.ai/onnx/operators/onnx__Loop.html) for more information).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the onnx.Loop implementation introduced by PR #3408 and read the linked ONNX operator specification, focusing on scan outputs. Trace the existing handling of Loop outputs and identify the relevant tests or entry points before making changes. Done means scan outputs are concatenated across all iterations and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.