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

Install problem #36

Open
XuHangkun opened this issue May 28, 2024 · 3 comments
Open

Install problem #36

XuHangkun opened this issue May 28, 2024 · 3 comments

Comments

@XuHangkun
Copy link

My cuda version is 11.7 (checked with command "nvcc --version"), and I run "conda env create -f environment.yaml" to build the environment and run "conda activate detectorfreesfm" without any problem. But when I run "conda activate detectorfreesfm", the system show the errors below.
image
I found the cuda version of install torch is 12.1 with command "torch.version.cuda". So is there any advice to solve this problem?

@hxy-123
Copy link
Contributor

hxy-123 commented May 29, 2024

It seems that the installed pytorch version used CUDA 12.1, where the required pytorch version is 1.8.0 and CUDA version is 11.7 in our environment. You can check whether the installed pytorch version is right.

@XuHangkun
Copy link
Author

It seems that the installed pytorch version used CUDA 12.1, where the required pytorch version is 1.8.0 and CUDA version is 11.7 in our environment. You can check whether the installed pytorch version is right.

It seems the torch version is changed after the pytorch-lightning is installed. The problem is same as this issue "#38"

@hxy-123
Copy link
Contributor

hxy-123 commented May 29, 2024

It seems that the installed pytorch version used CUDA 12.1, where the required pytorch version is 1.8.0 and CUDA version is 11.7 in our environment. You can check whether the installed pytorch version is right.

It seems the torch version is changed after the pytorch-lightning is installed. The problem is same as this issue "#38"

I think it is weird that pytorch-lightning with version 1.3.5 tries to upgrade pytorch version to 2.3.0, as they are not compatible as shown in official manual. You can have a look at whether the final installed pytorch-lightning version is 1.3.5, as required by repo.

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