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 3fdd125 commit b789adfCopy full SHA for b789adf
src/compressed_tensors/quantization/quant_config.py
@@ -185,7 +185,8 @@ def from_pretrained(
185
ignore[layer_type] = []
186
ignore[layer_type].append(name)
187
else:
188
- quantization_status = submodule.quantization_status
+ if hasattr(submodule, "quantization_status"):
189
+ quantization_status = submodule.quantization_status
190
scheme = submodule.quantization_scheme
191
quantization_type_names.add(layer_type)
192
0 commit comments