QwenLM / Qwen-Audio

The official repo of Qwen-Audio (通义千问-Audio) chat & pretrained large audio language model proposed by Alibaba Cloud.
Other
1.49k stars 107 forks source link

cuda版本错误 #70

Open ZHUHF123 opened 4 months ago

ZHUHF123 commented 4 months ago

报错如下 /home/puaiuc/.conda/envs/Qwen_audio/lib/python3.9/site-packages/gradio_client/documentation.py:105: UserWarning: Could not get documentation group for <class 'gradio.mix.Parallel'>: No known documentation group for module 'gradio.mix' warnings.warn(f"Could not get documentation group for {cls}: {exc}") /home/puaiuc/.conda/envs/Qwen_audio/lib/python3.9/site-packages/gradio_client/documentation.py:105: UserWarning: Could not get documentation group for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix' warnings.warn(f"Could not get documentation group for {cls}: {exc}") Traceback (most recent call last): File "/home/zhuhongfei/Qwen-Audio/web_demo_audio.py", line 262, in main() File "/home/zhuhongfei/Qwen-Audio/web_demo_audio.py", line 256, in main model, tokenizer = _load_model_tokenizer(args) File "/home/zhuhongfei/Qwen-Audio/web_demo_audio.py", line 44, in _load_model_tokenizer tokenizer = AutoTokenizer.from_pretrained( File "/home/puaiuc/.conda/envs/Qwen_audio/lib/python3.9/site-packages/transformers/models/auto/tokenization_auto.py", line 710, in from_pretrained tokenizer_class = get_class_from_dynamic_module(class_ref, pretrained_model_name_or_path, *kwargs) File "/home/puaiuc/.conda/envs/Qwen_audio/lib/python3.9/site-packages/transformers/dynamic_module_utils.py", line 497, in get_class_from_dynamic_module return get_class_in_module(class_name, final_module.replace(".py", "")) File "/home/puaiuc/.conda/envs/Qwen_audio/lib/python3.9/site-packages/transformers/dynamic_module_utils.py", line 199, in get_class_in_module module = importlib.import_module(module_path) File "/home/puaiuc/.conda/envs/Qwen_audio/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 790, in exec_module File "", line 228, in _call_with_frames_removed File "/home/puaiuc/.cache/huggingface/modules/transformers_modules/QWen-Audio-Chat/tokenization_qwen.py", line 28, in from .audio import File "/home/puaiuc/.cache/huggingface/modules/transformers_modules/QWen-Audio-Chat/audio.py", line 7, in import torch File "/home/puaiuc/.conda/envs/Qwen_audio/lib/python3.9/site-packages/torch/init.py", line 239, in from torch._C import * # noqa: F403 ImportError: /home/puaiuc/.conda/envs/Qwen_audio/lib/python3.9/site-packages/torch/lib/../../nvidia/cusparse/lib/libcusparse.so.12: symbol __nvJitLinkAddData_12_1 version libnvJitLink.so.12 not defined in file libnvJitLink.so.12 with link time reference

当前cuda版本12.0 torch2.3.1 python3.9