Skip to content

Commit

Permalink
Fix f8f8bf16 function signature when cuda disabled
Browse files Browse the repository at this point in the history
Summary: Since D57442310 changed f8f8bf16 function signature, changing the function signature back fixes the issue

Differential Revision: D57529592
  • Loading branch information
jiawenliu64 authored and facebook-github-bot committed May 18, 2024
1 parent 79aba2c commit 37e9ef8
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1896,6 +1896,14 @@ at::Tensor f8f8bf16_cublas(
"CUDA version is older than 12.0"); // requires CUDA>=12
}
at::Tensor f8f8bf16(
at::Tensor XQ, // FP8
at::Tensor WQ, // FP8
at::Tensor scale,
bool use_fast_accum) {
throw std::runtime_error(
"CUDA version is older than 12.0"); // requires CUDA>=12
}
at::Tensor f8f8bf16_tensorwise(
at::Tensor XQ, // FP8
at::Tensor WQ, // FP8
double scale,
Expand Down

0 comments on commit 37e9ef8

Please sign in to comment.