Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Oct 13, 2023
1 parent 20268b1 commit fe4e8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/neural_compressor/test_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def calibration_fn(p_model):
save_directory=tmp_dir,
save_onnx_model=False,
)
model = INCModelForCausalLM.from_pretrained(tmp_dir, export=True)
model = INCModelForCausalLM.from_pretrained(tmp_dir)

pre_outputs = quantizer._quantized_model.generate(
**tokens, do_sample=False, num_beams=1, temperature=0.9, min_length=20, max_length=20
Expand Down

0 comments on commit fe4e8dd

Please sign in to comment.