fix: weights_only=False for QuantState
This commit is contained in:
@@ -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