[misc] remove is_cuda_available (#5319)
This commit is contained in:
@@ -22,9 +22,9 @@ from sglang.srt.layers.quantization.utils import (
|
||||
requantize_with_max_scale,
|
||||
)
|
||||
from sglang.srt.layers.radix_attention import RadixAttention
|
||||
from sglang.srt.utils import is_cuda_available
|
||||
from sglang.srt.utils import is_cuda
|
||||
|
||||
if is_cuda_available():
|
||||
if is_cuda():
|
||||
from sgl_kernel import cutlass_scaled_fp4_mm, scaled_fp4_quant
|
||||
|
||||
# Initialize logger for the module
|
||||
|
||||
Reference in New Issue
Block a user