[lint] improve ruff check (#11922)

Co-authored-by: Xiaoyu Zhang <35585791+BBuf@users.noreply.github.com>
This commit is contained in:
Liangsheng Yin
2025-10-22 11:32:50 +08:00
committed by GitHub
co-authored by Xiaoyu Zhang
parent 590bc4b7a7
commit 9d61205dac
19 changed files with 73 additions and 31 deletions
@@ -44,6 +44,13 @@ from sglang.srt.layers.quantization.fp8 import Fp8LinearMethod
from sglang.srt.layers.quantization.unquant import UnquantizedLinearMethod
try:
from vllm.model_executor.layers.quantization.compressed_tensors.schemes.compressed_tensors_24 import (
CompressedTensors24,
)
from vllm.model_executor.layers.quantization.compressed_tensors.schemes.compressed_tensors_w4a16_sparse24 import (
W4A16SPARSE24_SUPPORTED_BITS,
CompressedTensorsW4A16Sparse24,
)
from vllm.model_executor.layers.quantization.compressed_tensors.schemes.compressed_tensors_wNa16 import (
WNA16_SUPPORTED_BITS,
CompressedTensorsWNA16,