Skip to content

Commit

Permalink
fix wrong variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ZX committed Oct 8, 2024
1 parent 8220973 commit bf26114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gptqmodel/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ def save_quantized(
model_save_name = model_base_name + ".safetensors"
else:
model_save_name = model_base_name + ".bin"
if not self.qlinear_kernel.SUPPORTED_SHARDS and max_shard_size is not None:
if not self.qlinear_kernel.SUPPORTS_SHARDS and max_shard_size is not None:
logger.warning("Sharding is not supported for this quant. Disabling sharding.")
max_shard_size = None

Expand Down

0 comments on commit bf26114

Please sign in to comment.