feat: support bitsandbytes quantization algorithm (#15325)
This commit is contained in:
@@ -19,6 +19,7 @@ CompressedTensorsConfig = DummyConfig
|
||||
from sglang.srt.layers.quantization.auto_round import AutoRoundConfig
|
||||
from sglang.srt.layers.quantization.awq import AWQConfig, AWQMarlinConfig
|
||||
from sglang.srt.layers.quantization.base_config import QuantizationConfig
|
||||
from sglang.srt.layers.quantization.bitsandbytes import BitsAndBytesConfig
|
||||
from sglang.srt.layers.quantization.blockwise_int8 import BlockInt8Config
|
||||
from sglang.srt.layers.quantization.compressed_tensors.compressed_tensors import (
|
||||
CompressedTensorsConfig,
|
||||
@@ -59,6 +60,7 @@ BASE_QUANTIZATION_METHODS: Dict[str, Type[QuantizationConfig]] = {
|
||||
"w8a8_fp8": W8A8Fp8Config,
|
||||
"awq": AWQConfig,
|
||||
"awq_marlin": AWQMarlinConfig,
|
||||
"bitsandbytes": BitsAndBytesConfig,
|
||||
"gguf": GGUFConfig,
|
||||
"gptq": GPTQConfig,
|
||||
"gptq_marlin": GPTQMarlinConfig,
|
||||
|
||||
Reference in New Issue
Block a user