Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectFifo Matmul Sprint #609

Closed
Abhishek-Varma opened this issue Jul 30, 2024 · 2 comments
Closed

ObjectFifo Matmul Sprint #609

Abhishek-Varma opened this issue Jul 30, 2024 · 2 comments

Comments

@Abhishek-Varma
Copy link
Contributor

Abhishek-Varma commented Jul 30, 2024

29th July update

Plan for next day : Working on fixes for Matmul+Elementwise + triage Ukernel leading to all zeroes.

30th July update

31st July update

1st Aug update

  • Started to write a separate pass to flatten the logical objectfifo instead of doing it during LowerToAIE, so that @jtuyls could take the output from the pass and make the matmul-elementwise work through the pipeline. @yzhang93
  • Tried to triage bf16 Matmul - saw similar incorrect results for i32 as well - relayed that to @jtuyls ; Jorn helped to find a way to narrow it down to compiler vs runtime issue - will be trying the same for bf16 today (2nd Aug). @Abhishek-Varma

2nd Aug update

5th Aug update

  • Verified DataLayoutPropagation changes to solve the redundant copy issue for Matmul+Elem. Started taking a look at the temporary buffer issue in DistributeCoresAndObjectFifos pass. @Abhishek-Varma

6th Aug update

7th Aug update

8th Aug update

  • Created a pass --iree-amdaie-split-buffers (name will change) and able to get through lower-to-aie pass. @Abhishek-Varma

9th Aug update

@MaheshRavishankar
Copy link
Collaborator

Thanks folks for keeping the updates coming!

@Abhishek-Varma
Copy link
Contributor Author

Abhishek-Varma commented Aug 9, 2024

This sprint we've achieved Matmul codegen working through ObjectFifo backend for i32 / bf16 / i8 / bf16 ukernel running successfully without any hang/numerical issues. And have started to made good progress on Matmul + Elemwise.

Closing this tracker now.

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

No branches or pull requests

2 participants