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

Commit 72c1373

Browse files
authored
Update quantize.py
1 parent 3956f53 commit 72c1373

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
@@ -787,7 +787,7 @@ class EmbeddingOnlyQuantHandler(QuantHandler):
787787
def __init__(
788788
self,
789789
model: Optional[nn.Module] = None,
790-
device,
790+
device=None,
791791
precision=None,
792792
tokenizer=None,
793793
*,

0 commit comments

Comments
 (0)