Skip to content

Commit e6ead61

Browse files
ywang96lulmer
authored andcommitted
[CI/Build] Fix pre-commit errors from vllm-project#13571 (vllm-project#13709)
Signed-off-by: Roger Wang <[email protected]> Signed-off-by: Louis Ulmer <[email protected]>
1 parent 13d42b6 commit e6ead61

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

csrc/quantization/fp4/nvfp4_scaled_mm_entry.cu

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ void cutlass_scaled_fp4_mm(torch::Tensor& D, torch::Tensor const& A,
3131
#if defined ENABLE_NVFP4 && ENABLE_NVFP4
3232
return cutlass_scaled_fp4_mm_sm100a(D, A, B, A_sf, B_sf, alpha);
3333
#endif
34-
TORCH_CHECK_NOT_IMPLEMENTED(false, "No compiled nvfp4 mm kernel, vLLM should "
35-
"be compiled using CUDA 12.8 and target "
36-
"compute capability 100 or above.");
34+
TORCH_CHECK_NOT_IMPLEMENTED(false,
35+
"No compiled nvfp4 mm kernel, vLLM should "
36+
"be compiled using CUDA 12.8 and target "
37+
"compute capability 100 or above.");
3738
}

csrc/quantization/fp4/nvfp4_scaled_mm_kernels.cu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,9 @@ void runGemm(at::Tensor& D, at::Tensor const& A, at::Tensor const& B,
194194
at::Tensor const& A_sf, at::Tensor const& B_sf,
195195
at::Tensor const& alpha, int64_t m, int64_t n, int64_t k,
196196
cudaStream_t stream) {
197-
TORCH_CHECK(false, "Unsupported CUTLASS version. Set VLLM_CUTLASS_SRC_DIR to "
198-
"a CUTLASS 3.8 source directory to enable support.");
197+
TORCH_CHECK(false,
198+
"Unsupported CUTLASS version. Set VLLM_CUTLASS_SRC_DIR to "
199+
"a CUTLASS 3.8 source directory to enable support.");
199200
}
200201
#endif // defined(CUTLASS_ARCH_MMA_SM100_SUPPORTED)
201202

0 commit comments

Comments
 (0)