We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77f11c3 commit 0bf6a76Copy full SHA for 0bf6a76
torchao/prototype/spinquant/spinquant.py
@@ -32,7 +32,7 @@ def forward(self, x):
32
return x
33
34
35
-def apply_spinquant(model: Transformer, use_r1=False, use_r2=True, use_r4=True, pretrained_rotation_path=None):
+def apply_spinquant(model: Transformer, use_r1=False, use_r2=False, use_r4=True, pretrained_rotation_path=None):
36
"""
37
Apply SpinQuant to a Transformer model: https://arxiv.org/abs/2405.16406
38
0 commit comments