-
Notifications
You must be signed in to change notification settings - Fork 46
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
ImportError: libcudnn.so.8: cannot open shared object file: No such file or directory #36
Comments
cuda确定环境ok吗?import torch怎么就报错了? |
conda创建一个虚拟环境,然后进入克隆的你这个项目的仓库里pip install -r requirements.txt,然后再去运行训练代码就报了这个错,我其他两个虚拟环境的pytorch都没问题 |
你创建环境后,单独装一次pytorch,然后再装requirements里的依赖试试,你这个就是基础环境的问题,我还是建议用docker |
自己的台式机啊,怎么用docker?你那个requirements.txt应该把torch也放进去吧? |
windows的台式机也可以装docker |
https://pytorch.org/get-started/locally/#start-locally |
安装我肯定会啊,我的意思是最好requirements.txt文件里把该包含的库都包含了,一键启动,开箱即用多方便 |
但torch的安装命令不是唯一的,所以我提供的开箱即用的环境是docker环境,即使是transformers官方也没有直接一键即用,也要先安装好torch,tensorflow或jax |
我台式机装的ubuntu系统,昨晚我直接安装requirements.txt后用pip list查看时有torch的,好的,我回去试试,先安装torch,再pip install -r requirements.txt |
我也是台式机ubuntu,装的docker,更建议你用docker |
好的 |
环境没问题了,但是一加载模型,就被killed,3060的显存,还是没法直接加载ChatGLM-6B |
The text was updated successfully, but these errors were encountered: