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

Could not find module "nvcuda.dll" #95

Closed
1 task done
lightCraft2020 opened this issue Mar 16, 2023 · 3 comments
Closed
1 task done

Could not find module "nvcuda.dll" #95

lightCraft2020 opened this issue Mar 16, 2023 · 3 comments

Comments

@lightCraft2020
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

在windows系统上执行,报错:Could not find module "nvcuda.dll",代码已经修改为:
model = AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True).float()
使用CPU进行执行,结果还是报错,没有找到cuda 相关的dll 还需要修改哪个地方么?

Expected Behavior

No response

Steps To Reproduce

在windows系统上执行,报错:Could not find module "nvcuda.dll",代码已经修改为:
model = AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True).float()
使用CPU进行执行,结果还是报错,没有找到cuda 相关的dll 还需要修改哪个地方么?

Environment

- OS:
- Python: 3.8
- Transformers: 
- PyTorch:  
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :False

Anything else?

No response

@duzx16
Copy link
Member

duzx16 commented Mar 16, 2023

能提供一下截图看看具体报错是在哪一行吗

@lightCraft2020
Copy link
Author

cpu_bug

@duzx16
Copy link
Member

duzx16 commented Mar 16, 2023

类似于#6 (comment)
先把仓库clone到本地再运行就可以解决这个问题。

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

2 participants