You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\projects\ipex-llm\python\llm\example\NPU\HF-Transformers-AutoModels\Multimodal\speech_paraformer-large.py", line 44, in
model = AutoModel(
File "D:\miniforge3\envs\llm_para\lib\site-packages\ipex_llm\transformers\npu_model.py", line 616, in init
self.model = self.from_pretrained(*args, **kwargs)
File "D:\miniforge3\envs\llm_para\lib\unittest\mock.py", line 1379, in patched
return func(*newargs, **newkeywargs)
File "D:\miniforge3\envs\llm_para\lib\site-packages\ipex_llm\transformers\npu_model.py", line 170, in from_pretrained
model.config.update({"optimize_model": optimize_model})
AttributeError: 'AutoModel' object has no attribute 'config'
The text was updated successfully, but these errors were encountered:
Hi @fanyhchn , we have identified your issue and are currently working on a fix. You may install the latest version of ipex-llm[npu] tomorrow to get the update.
Traceback (most recent call last):
File "D:\projects\ipex-llm\python\llm\example\NPU\HF-Transformers-AutoModels\Multimodal\speech_paraformer-large.py", line 44, in
model = AutoModel(
File "D:\miniforge3\envs\llm_para\lib\site-packages\ipex_llm\transformers\npu_model.py", line 616, in init
self.model = self.from_pretrained(*args, **kwargs)
File "D:\miniforge3\envs\llm_para\lib\unittest\mock.py", line 1379, in patched
return func(*newargs, **newkeywargs)
File "D:\miniforge3\envs\llm_para\lib\site-packages\ipex_llm\transformers\npu_model.py", line 170, in from_pretrained
model.config.update({"optimize_model": optimize_model})
AttributeError: 'AutoModel' object has no attribute 'config'
The text was updated successfully, but these errors were encountered: