fix: remove quant_states reference

This commit is contained in:
Christian Medina
2026-07-02 22:52:49 -04:00
parent 18ef0f73ef
commit d1f0c81ac4

View File

@@ -71,7 +71,7 @@ def streaming_quantize(model_path: str, output_path: str):
print(f" Saved {shard_name}") print(f" Saved {shard_name}")
del state_dict, quant_states del state_dict
gc.collect() gc.collect()
torch.cuda.empty_cache() torch.cuda.empty_cache()