Skip to content

Commit

Permalink
fix spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
jiqing-feng committed May 31, 2024
1 parent bde814e commit 4a81ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/intel/ipex/modeling_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def ipex_jit_trace(model, task, use_cache):

model.config.return_dict = False

model.config.use_cache = past_key_values" in sample_inputs
model.config.use_cache = "past_key_values" in sample_inputs

model = ipex.optimize(model.eval(), dtype=model.dtype, inplace=True)
# Disable repack while jit tracing to reduce the memory
Expand Down

0 comments on commit 4a81ea9

Please sign in to comment.