Skip to content

Commit 903430c

Browse files
committed
Address comments
Signed-off-by: Pavani Majety <pmajety@nvidia.com>
1 parent 6a8e10f commit 903430c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w4a4_nvfp4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self):
5252
assert has_flashinfer(), f"FlashInfer is required for {self.backend}"
5353
elif envs.VLLM_NVFP4_GEMM_BACKEND == "cutlass":
5454
self.backend = "cutlass"
55-
assert cutlass_fp4_supported(), "Cutlass is required for {self.backend}"
55+
assert cutlass_fp4_supported(), f"Cutlass is required for {self.backend}"
5656

5757
if self.backend == "none":
5858
raise ValueError(

vllm/model_executor/layers/quantization/modelopt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ def __init__(self, quant_config: ModelOptNvFp4Config) -> None:
949949
assert has_flashinfer(), f"FlashInfer is required for {self.backend}"
950950
elif envs.VLLM_NVFP4_GEMM_BACKEND == "cutlass":
951951
self.backend = "cutlass"
952-
assert cutlass_fp4_supported(), "Cutlass is required for {self.backend}"
952+
assert cutlass_fp4_supported(), f"Cutlass is required for {self.backend}"
953953

954954
if self.backend == "none":
955955
raise ValueError(

0 commit comments

Comments
 (0)