Skip to content

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
@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