Skip to content

Commit 18faa75

Browse files
committed
fix build
Signed-off-by: Dylan Chen <[email protected]>
1 parent 75e0535 commit 18faa75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/tensorrt_llm/thop/fp8RowwiseGemm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ torch::Tensor fp8_rowwise_gemm_launch(torch::Tensor const& mat1, torch::Tensor c
8787
auto stream = at::cuda::getCurrentCUDAStream(mat1.get_device());
8888

8989
auto mGemmRunner = std::make_shared<CutlassFp8RowwiseGemmRunner<OutputType>>();
90-
size_t const wsSize = mGemmRunner->getWorkspaceSize(m, n, k);
90+
int64_t const wsSize = mGemmRunner->getWorkspaceSize(m, n, k);
9191
auto gemmConfig = maybe_config ? *maybe_config : mGemmRunner->getConfigs()[0];
9292
at::Tensor workspace = at::detail::empty_cuda({wsSize}, at::ScalarType::Char, torch::kCUDA, std::nullopt);
9393

0 commit comments

Comments
 (0)