Skip to content

Commit

Permalink
update ignore list in llama examples (#2338)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfineran authored Jun 18, 2024
1 parent 22cc6be commit 9a28cd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/llama7b_one_shot_quantization.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ from sparseml.modifiers.quantization.gptq import GPTQModifier

gptq = GPTQModifier(
targets="Linear",
scheme="W4A16"
scheme="W4A16",
ignore=["lm_head"],
)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ quantization_stage:
run_type: oneshot
quantization_modifiers:
GPTQModifier:
ignore: [ "lm_head" ]
sequential_update: false
config_groups:
group_0:
Expand Down

0 comments on commit 9a28cd7

Please sign in to comment.