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][FP8] Enable R.matmul + R.multiply offloading #16974

Merged
merged 1 commit into from
May 8, 2024

Conversation

ibsidorenko
Copy link
Contributor

@ibsidorenko ibsidorenko commented May 7, 2024

This commit enables offloading of the next pattern to cuBLAS:

  mm = R.linear(data, weights)
  scale = R.multiply(a_scale, w_scale)
  out = R.multiply(mm, scale)
  out = R.cast(out, dtype)

cc @csullivan @JosephTheOctonaut

@github-actions github-actions bot requested a review from csullivan May 7, 2024 12:11
@ibsidorenko ibsidorenko force-pushed the cublas-gemm-multiply-offloading branch from 8737903 to 61328ae Compare May 7, 2024 12:42
This commit enables offloading of the next pattern to cuBLAS:
  mm = R.linear(data, weights)
  scale = R.multiply(a_scale, w_scale)
  out = R.multiply(mm, scale)
  out = R.cast(out, dtype)
@ibsidorenko ibsidorenko force-pushed the cublas-gemm-multiply-offloading branch from 61328ae to 01ee40f Compare May 7, 2024 12:46
@masahi masahi merged commit c0a47ed into apache:main May 8, 2024
19 checks passed
@ibsidorenko ibsidorenko deleted the cublas-gemm-multiply-offloading branch May 8, 2024 12:27
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