Skip to content

Commit

Permalink
inc only working with quantized models
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Jul 1, 2024
1 parent dd02f26 commit b040d78
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
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

0 comments on commit b040d78

Please sign in to comment.