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
Bigdl-llm version:2.5.0b20240322, inference Qwen1.5-7B-Chat failed based generate.py
Traceback (most recent call last):
File "/home/intel/LLM/BigDL/python/llm/example/GPU/HF-Transformers-AutoModels/Model/qwen1.5/generate.py", line 45, in
model = AutoModelForCausalLM.from_pretrained(model_path,
File "/home/intel/anaconda3/envs/bigdl-llm/lib/python3.10/site-packages/bigdl/llm/transformers/model.py", line 320, in from_pretrained
model = cls.load_convert(q_k, optimize_model, *args, **kwargs)
File "/home/intel/anaconda3/envs/bigdl-llm/lib/python3.10/site-packages/bigdl/llm/transformers/model.py", line 434, in load_convert
model = cls.HF_Model.from_pretrained(*args, **kwargs)
File "/home/intel/anaconda3/envs/bigdl-llm/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 461, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
File "/home/intel/anaconda3/envs/bigdl-llm/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 998, in from_pretrained
config_class = CONFIG_MAPPING[config_dict["model_type"]]
File "/home/intel/anaconda3/envs/bigdl-llm/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 710, in getitem
raise KeyError(key)
KeyError: 'qwen2'
The text was updated successfully, but these errors were encountered:
Bigdl-llm version:2.5.0b20240322, inference Qwen1.5-7B-Chat failed based generate.py
Traceback (most recent call last):
File "/home/intel/LLM/BigDL/python/llm/example/GPU/HF-Transformers-AutoModels/Model/qwen1.5/generate.py", line 45, in
model = AutoModelForCausalLM.from_pretrained(model_path,
File "/home/intel/anaconda3/envs/bigdl-llm/lib/python3.10/site-packages/bigdl/llm/transformers/model.py", line 320, in from_pretrained
model = cls.load_convert(q_k, optimize_model, *args, **kwargs)
File "/home/intel/anaconda3/envs/bigdl-llm/lib/python3.10/site-packages/bigdl/llm/transformers/model.py", line 434, in load_convert
model = cls.HF_Model.from_pretrained(*args, **kwargs)
File "/home/intel/anaconda3/envs/bigdl-llm/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 461, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
File "/home/intel/anaconda3/envs/bigdl-llm/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 998, in from_pretrained
config_class = CONFIG_MAPPING[config_dict["model_type"]]
File "/home/intel/anaconda3/envs/bigdl-llm/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 710, in getitem
raise KeyError(key)
KeyError: 'qwen2'
The text was updated successfully, but these errors were encountered: