Skip to content

Commit

Permalink
fix 2:4 examples (vllm-project#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikka authored Sep 10, 2024
1 parent fa21e45 commit f8e0ef6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ quantization_stage:
run_type: oneshot
quantization_modifiers:
GPTQModifier:
sequential_update: false
sequential_update: true
ignore: ["lm_head"]
config_groups:
group_0:
weights:
num_bits: 4
type: "int"
symmetric: true
strategy: "channel"
targets: ["Linear"]
strategy: "group"
group_size: 128
targets: ["Linear"]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ quantization_stage:
run_type: oneshot
quantization_modifiers:
GPTQModifier:
sequential_update: false
sequential_update: true
ignore: ["lm_head"]
config_groups:
group_0:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
num_calibration_samples = 512

# set training parameters for finetuning
num_train_epochs = 0.5
num_train_epochs = 0.01
logging_steps = 500
save_steps = 5000
gradient_checkpointing = True # saves memory during training
Expand Down

0 comments on commit f8e0ef6

Please sign in to comment.