Skip to content

Commit a3fb5b8

Browse files
Update optimum/intel/ipex/modeling_base.py
Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
1 parent e4cc4e6 commit a3fb5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/intel/ipex/modeling_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def _from_transformers(
176176
config.torchscript = True
177177
config.torch_dtype = torch_dtype
178178

179-
return cls(traced_model, config=config, model_save_dir=model_id, use_cache=use_cache)
179+
return cls(traced_model, config=config, model_save_dir=model_id, use_cache=use_cache, warmup=False)
180180

181181
@classmethod
182182
def _from_pretrained(

0 commit comments

Comments
 (0)