Skip to content

Commit 4161517

Browse files
committed
fix
1 parent ea786dd commit 4161517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/intel/neural_compressor/modeling_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def _from_pretrained(
144144

145145
if isinstance(state_dict, torch.jit.ScriptModule):
146146
raise RuntimeError(
147-
f"`{cls.__name__}` does not support the loading TorchScript model, to load your model please use {cls.__name__.replace('INC', 'IPEX')}` instead."
147+
f"`{cls.__name__}` does not support the loading of TorchScript models, to load your model please use `{cls.__name__.replace('INC', 'IPEX')}` instead."
148148
)
149149

150150
q_config = state_dict.get("best_configure", None)

0 commit comments

Comments
 (0)