Skip to content

Commit e5591f4

Browse files
authored
[Bugfix] [Example] Fix QuIP example (#1773)
## Purpose ## * In order to support LC which did not have [QuIP default arguments fix](#1770), update example to explicitly set targets Signed-off-by: Kyle Sayers <[email protected]>
1 parent e330182 commit e5591f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/transform/quip_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# * apply spinquant transforms to model in order to make quantization easier
2222
# * quantize the weights to 4 bit with a group size 128
2323
recipe = [
24-
QuIPModifier(transform_type="random-hadamard"),
24+
QuIPModifier(targets="Linear", transform_type="random-hadamard"),
2525
QuantizationModifier(targets="Linear", scheme="W4A16", ignore=["lm_head"]),
2626
]
2727

0 commit comments

Comments
 (0)