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

[TOPI] Fix batch_matmul tensorcore legalize for transpose_b = False case #13618

Merged
merged 3 commits into from
Dec 15, 2022

Conversation

masahi
Copy link
Member

@masahi masahi commented Dec 14, 2022

The hardcoded shapes

    B, M, K = x_tensor.shape
    B, N, K = y_tensor.shape

is not valid if transpose_b = False or transpose_a = True.

@vinx13

@tvm-bot
Copy link
Collaborator

tvm-bot commented Dec 14, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to tag found in teams: topi See #10317 for details

Generated by tvm-bot

@masahi masahi merged commit 7fd0cdb into apache:main Dec 15, 2022
fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
…ase (apache#13618)

* fixed tensor core batch_matmul legalize for transpose_b = False case

* add test

* clean up
mikeseven pushed a commit to mikeseven/tvm that referenced this pull request Sep 27, 2023
…ase (apache#13618)

* fixed tensor core batch_matmul legalize for transpose_b = False case

* add test

* clean up
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.

3 participants