Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 3956f53

Browse files
authored
Fix default args
Fix default args
1 parent 5f19018 commit 3956f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchchat/utils/quantize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ class WeightOnlyInt8QuantHandler(QuantHandler):
585585
def __init__(
586586
self,
587587
model: Optional[nn.Module] = None,
588-
device,
588+
device = None,
589589
precision=None,
590590
tokenizer=None,
591591
*,

0 commit comments

Comments
 (0)