We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54aa619 commit dcf2a59Copy full SHA for dcf2a59
vllm/model_executor/models/siglip.py
@@ -208,8 +208,10 @@ def __init__(
208
209
self.config = config
210
self.activation_fn = get_act_fn(config.hidden_act)
211
- # Special handling for BNB quantization
212
- if quant_config and quant_config.get_name() == "bitsandbytes":
+ # Special handling for BNB and torchao quantization
+ if quant_config and quant_config.get_name() in [
213
+ "bitsandbytes", "torchao"
214
+ ]:
215
quantizable = True
216
else:
217
# For other quantization, we require the hidden size to be a
0 commit comments