Closed xiao-ming-code closed 2 years ago
it is caused by your own environment. You can use the docker we provide.
24 it is caused by your own environment. You can use the docker we provide.
你好,我使用docker ,但是torch.cuda.is_available==False,cuda就不可用了,这可以怎么解决呢?
24 it is caused by your own environment. You can use the docker we provide.
服务器显卡是RTX3090,是不是docker cuda版本不兼容呢? 有什么办法可以解决么?
可以尝试在 docker 中安装更高版本的 cuda,同时也需要重新安装对应版本的 pytorch 和 apex
可以尝试在 docker 中安装更高版本的 cuda,同时也需要重新安装对应版本的 pytorch 和 apex
您好,我安装了cuda11.3,和对应的pytorch,但是cuda还是不可用的,请问下还有什么可能的办法么?
什么叫 cuda 不可用呢?如果 python 环境下 torch.cuda.is_available()
输出是 False 的话,说明 pytorch 和 cuda 仍然没有对应。可以看下 python 环境中 torch.version.cuda
的输出和命令行环境中 nvcc --version
的输出是否能对应。
我这边torch.version.cuda和nvcc --version一致,但是还是出现了与@xiao-ming-code相同的问题
是什么问题?是 "cuda不可用" 还是 import /home/xx/.cache/torch_extensions
?
torch.version.cuda和nvcc --version一致,但是torch.cuda.is_available()输出还是False
这是你环境配置的问题了,可以看看环境变量是否设置正确
你是否安装了nvidia-docker?如果没装nvidia-docker,docker环境是不能用gpu的
can you paste the dockerfile to build image: yxthu17/eva:1.5?
我找到了解决办法,在/root/.cache/torch_extensions/ 目录下执行ninja即可生成util.so
我在进行 bash eva_fineturn.sh 时出现下面这个错误?我尝试了很久还是没有解决,麻烦你看一下