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

[CuBLAS] Support implicit broadcast in batch_matmul #8229

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

comaniac
Copy link
Contributor

@comaniac comaniac commented Jun 9, 2021

Closing #7730

This PR improves CuBLAS batch_matmul to support implicit broadcasting (i.e., the first dimension of matrix B is 1). Before this PR, the added test cases will throw errors like Check failed: BatchCount3D(B) == batch_size.

cc @masahi @tqchen

@comaniac comaniac linked an issue Jun 9, 2021 that may be closed by this pull request
@masahi masahi merged commit b93e56e into apache:main Jun 10, 2021
@masahi
Copy link
Member

masahi commented Jun 10, 2021

Thanks @comaniac, we should do this for rocblas too @csullivan @altanh

@comaniac comaniac deleted the cublas_batch_matmul branch June 10, 2021 05:12
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 17, 2021
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jun 17, 2021
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.

[Bug] Missing broadcast_to before batch_matmul for CuBLAS
2 participants