Skip to content

Commit 733bbc4

Browse files
committed
fix compile param
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
1 parent a27f0d1 commit 733bbc4

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
@@ -136,7 +136,7 @@ def __init__(
136136
self.model_save_dir = model_save_dir
137137
self._add_patch = _is_patched_with_ipex(model, self.export_feature, self.use_cache)
138138
self.compile = self.can_compile()
139-
model.config.compile = compile
139+
model.config.compile = self.compile
140140

141141
self.input_names = set(inspect.signature(model.forward).parameters)
142142

0 commit comments

Comments
 (0)