fix: remove quant_states reference
This commit is contained in:
1 parent
18ef0f73ef
commit
d1f0c81ac4
1 file changed
+1
-1
@@ -71,7 +71,7 @@ def streaming_quantize(model_path: str, output_path: str):
|
||||
|
||||
print(f" Saved {shard_name}")
|
||||
|
||||
del state_dict, quant_states
|
||||
del state_dict
|
||||
gc.collect()
|
||||
torch.cuda.empty_cache()
|
||||
|
||||
|
||||
Reference in new issue
Block a user