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

Fix TKW gemm tests #36

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Fix TKW gemm tests #36

wants to merge 11 commits into from

Conversation

Hardcode84
Copy link

@Hardcode84 Hardcode84 commented Dec 13, 2024

  • Use TKW create_vmfb_file option to get vmfb file directly
  • Get scheduling params from the TK itself
  • Disable scheduling for large K as compilation taking too long
  • Support case when out_type != accumulator_type
  • Update exec_args as code generated by TK expected out param to be present
  • Gracefully handle TK errors instead of terminating entire script

Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ivan Butygin <[email protected]>
@saienduri
Copy link
Contributor

saienduri commented Dec 13, 2024

Thanks for the fixes Ivan! Is it possible to stick with generate TK mlir and then go through the normal compilation flow? It would be great if we can limit branching off from the general flow only when necessary. This allows us to scale and build an overall clean pipeline and helps also on visibility of how we are compiling (flags, commands, etc)

@Hardcode84
Copy link
Author

Hardcode84 commented Dec 13, 2024

Is it possible to stick with generate TK mlir and then go through the normal compilation flow?

I'm not sure if it's a good idea, TK can potentially add a custom flags to its default IREE pipeline and bypassing it means we are testing non-user facing version of the product.

Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ivan Butygin <[email protected]>
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.

2 participants