Skip to content

Commit c963335

Browse files
committed
Try fix test
1 parent 2b642a1 commit c963335

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/models/llama/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def __init__(self, **kwargs):
178178
if checkpoint:
179179
self.model_.checkpoint_dtype = get_checkpoint_dtype(checkpoint)
180180
else:
181-
self.model_.checkpoint_dtype = None
181+
self.model_.checkpoint_dtype = torch.float32
182182

183183
if "int8" in str(checkpoint_path):
184184
print("Using int8 weight-only quantization!")

0 commit comments

Comments
 (0)