Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
max_seq_length=MAX_SEQUENCE_LENGTH,
num_calibration_samples=NUM_CALIBRATION_SAMPLES,
shuffle_calibration_samples=False,
# Avoid calibrating all experts in this single-GPU example path to reduce
# OOM risk when llmcompressor has already linearized MoE experts.
moe_calibrate_all_experts=False,
)

# Confirm generations of the quantized model look sane.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
max_seq_length=MAX_SEQUENCE_LENGTH,
num_calibration_samples=NUM_CALIBRATION_SAMPLES,
shuffle_calibration_samples=False,
# Avoid calibrating all experts in this single-GPU example path to reduce
# OOM risk when llmcompressor has already linearized MoE experts.
moe_calibrate_all_experts=False,
)

# Confirm generations of the quantized model look sane.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
num_calibration_samples=NUM_CALIBRATION_SAMPLES,
# disable shuffling to get slightly better mmlu score
shuffle_calibration_samples=False,
# For Qwen3-30B, 128 samples, 200 iters, expert routing coverage is
# sufficient in practice. Enabling all experts can OOM on a single 80GB GPU,
# so keep this False for the single-GPU example path.
moe_calibrate_all_experts=False,
)

# Confirm generations of the quantized model look sane.
Expand Down
Loading