Skip to content

SequentialPlacer takes into account max channels per tile#2221

Merged
AndraBisca merged 56 commits intomainfrom
update-placer
May 7, 2025
Merged

SequentialPlacer takes into account max channels per tile#2221
AndraBisca merged 56 commits intomainfrom
update-placer

Conversation

@AndraBisca
Copy link
Copy Markdown
Contributor

@AndraBisca AndraBisca commented Apr 24, 2025

TODO:

  • get tile max channel information from target model
  • differentiate between input and output channels
  • add tests
  • cleanup and comment code
  • add better error messaging
  • also account for channels used in Worker placement
  • use shim_mux connections to determine channels for shim tiles

Partly addresses issues in #1757

abisca and others added 22 commits April 24, 2025 06:50
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@jgmelber
Copy link
Copy Markdown
Collaborator

placement=Tile(i, 0), # Explicitly placed until #2221

placement=Tile(i, 0), # Explicitly placed until #2221

@jgmelber
Copy link
Copy Markdown
Collaborator

.forward(placement=Tile(i, 1)) # Explicitly placed until #2221)

AndraBisca and others added 5 commits April 29, 2025 09:06
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Comment thread python/iron/placers.py Outdated
Comment thread python/AIEMLIRModule.cpp Outdated
abisca and others added 9 commits May 5, 2025 09:43
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@AndraBisca AndraBisca marked this pull request as ready for review May 6, 2025 11:56
@jgmelber
Copy link
Copy Markdown
Collaborator

jgmelber commented May 7, 2025

RTM?

@AndraBisca AndraBisca added this pull request to the merge queue May 7, 2025
@fifield
Copy link
Copy Markdown
Collaborator

fifield commented May 7, 2025

RTM?

yes, please merge placers.py into AIEPlacers.cpp :)

Merged via the queue into main with commit 90a5fcf May 7, 2025
51 checks passed
@AndraBisca AndraBisca deleted the update-placer branch May 7, 2025 14:28
fifield pushed a commit to fifield/mlir-aie that referenced this pull request Nov 12, 2025
Co-authored-by: AndraBisca <andrab@amd.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Joseph Melber <jmelber@xilinx.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants