Skip to content

Commit c21a889

Browse files
authored
Update quantize.py
1 parent 2a9b828 commit c21a889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quantize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def quantize(
539539
device: str = default_device,
540540
) -> None:
541541
assert checkpoint_path.is_file(), checkpoint_path
542-
542+
device = 'cpu'
543543
precision = torch.bfloat16
544544

545545
print("Loading model ...")

0 commit comments

Comments
 (0)