Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cuda版本错误 #70

Open
ZHUHF123 opened this issue Jul 19, 2024 · 0 comments
Open

cuda版本错误 #70

ZHUHF123 opened this issue Jul 19, 2024 · 0 comments

Comments

@ZHUHF123
Copy link

报错如下
/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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant