diff --git a/test_quantize_shapes.py b/test_quantize_shapes.py index 457eaa8..c6696a4 100644 --- a/test_quantize_shapes.py +++ b/test_quantize_shapes.py @@ -7,7 +7,7 @@ from pathlib import Path def test_shapes(): print("Loading quantized test shard...") - ckpt = torch.load("/data/models/test_quantize/model.safetensors", map_location="cpu") + ckpt = torch.load("/data/models/test_quantize/model.safetensors", map_location="cpu", weights_only=False) print(f"Loaded {len(ckpt)} tensors\n")