ROCm / ROCm/AMDMIGraphX

Handle reshapes while fusing inputs in MLIR

Open
#3,211 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
333
Forks
150
Avg merge
4d 19h
Merged PRs (30d)
54

Description

https://github.com/ROCm/AMDMIGraphX/pull/3010/files#r1648254890

With #3010 MIGraphX can fuse pointwise inputs for the Dot/conv instruction for MLIR.
It is not handling Reshapes that happen on pointwise instruction inputs. We can add those.

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 linked #3010 diff and its review context to understand how MLIR fuses pointwise inputs for Dot and convolution instructions. Trace the existing fusion path and identify where reshape inputs are excluded. Done means reshape operations on pointwise inputs are handled during fusion, with the relevant MLIR behavior covered by the project's existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.