fix: weights_only=False for QuantState
This commit is contained in:
1 parent
5b2d629d11
commit
1c576aac5d
1 file changed
+1
-1
@@ -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")
|
||||
|
||||
|
||||
Reference in new issue
Block a user