Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix INC #220

Merged
merged 3 commits into from
Jul 2, 2024
Merged
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
2 changes: 2 additions & 0 deletions optimum_benchmark/scenarios/training/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"gradient_accumulation_steps": 1,
"output_dir": "./trainer_output",
"evaluation_strategy": "no",
"eval_strategy": "no",
"save_strategy": "no",
"do_train": True,
"use_cpu": False,
"max_steps": -1,
Expand Down
3 changes: 3 additions & 0 deletions tests/configs/_inc_quant_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
backend:
ptq_quantization: true
calibration: true
2 changes: 1 addition & 1 deletion tests/configs/_text_decoders_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ hydra:
sweeper:
params:
backend.task: text-generation
backend.model: hf-internal-testing/tiny-random-gpt2,IlyasMoutawwakil/tiny-random-llama
backend.model: hf-internal-testing/tiny-random-GPT2LMHeadModel,hf-internal-testing/tiny-random-LlamaForCausalLM
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ defaults:
- _base_ # inherits from base config
- _cpu_ # inherits from cpu config
- _inference_ # inherits from inference config
- _inc_quant_ # inherits from incremental quantization config
- _text_decoders_ # inherits from text decoders config
- _no_weights_ # inherits from no weights config
- _self_ # hydra 1.1 compatibility
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ defaults:
- _base_ # inherits from base config
- _cpu_ # inherits from cpu config
- _inference_ # inherits from inference config
- _inc_quant_ # inherits from incremental quantization config
- _text_encoders_ # inherits from text encoders config
- _no_weights_ # inherits from no weights config
- _self_ # hydra 1.1 compatibility
Expand Down
Loading