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

installation problem, what is wrong ? #33

Open
KatjaM2020 opened this issue Dec 5, 2022 · 14 comments
Open

installation problem, what is wrong ? #33

KatjaM2020 opened this issue Dec 5, 2022 · 14 comments

Comments

@KatjaM2020
Copy link

ld2NA/RoseTTAFold2NA/example$ ../run_RF2NA.sh t000_ protein.fa R:RNA.fa
Running RoseTTAFold2NA to predict structures
Running on CPU
plddt best
/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/amp/autocast_mode.py:202: UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling
warnings.warn('User provided device_type of 'cuda', but CUDA is not available. Disabling')
Traceback (most recent call last):
File "/media/katja/BIGDATA/RoseTTAFold2NA/RoseTTAFold2NA/network/predict.py", line 345, in
pred.predict(inputs=args.inputs, out_prefix=args.prefix, ffdb=ffdb)
File "/media/katja/BIGDATA/RoseTTAFold2NA/RoseTTAFold2NA/network/predict.py", line 225, in predict
self.run_model(Ls, msa_orig, ins_orig, t1d, t2d, xyz_t, xyz_t[:,0], alpha_t, "%s%02d"%(out_prefix, i_trial))
File "/media/katja/BIGDATA/RoseTTAFold2NA/RoseTTAFold2NA/network/predict.py", line 269, in _run_model
logit_s, logit_aa_s, logit_pae, init_crds, alpha_prev, _, pred_lddt_binned, msa_prev, pair_prev, state_prev = self.model(
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/media/katja/BIGDATA/RoseTTAFold2NA/RoseTTAFold2NA/network/RoseTTAFoldModel.py", line 96, in forward
msa, pair, xyz, alpha_s, xyzallatom, state = self.simulator(
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/media/katja/BIGDATA/RoseTTAFold2NA/RoseTTAFold2NA/network/Track_module.py", line 430, in forward
msa_full, pair, xyz, state, alpha = self.extra_block[i_m](msa_full, pair,
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/media/katja/BIGDATA/RoseTTAFold2NA/RoseTTAFold2NA/network/Track_module.py", line 356, in forward
xyz, state, alpha = self.str2str(msa.float(), pair.float(), xyz.detach().float(), state.float(), idx, top_k=top_k)
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/amp/autocast_mode.py", line 14, in decorate_autocast
return func(args, **kwargs)
File "/media/katja/BIGDATA/RoseTTAFold2NA/RoseTTAFold2NA/network/Track_module.py", line 223, in forward
shift = self.se3(G, node.reshape(B
L, -1, 1), l1_feats, edge_feats)
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/media/katja/BIGDATA/RoseTTAFold2NA/RoseTTAFold2NA/network/SE3_network.py", line 83, in forward
return self.se3(G, node_features, edge_features) #, clamp_d=clamp_d)
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/se3_transformer-1.0.0-py3.8.egg/se3_transformer/model/transformer.py", line 163, in forward
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/se3_transformer-1.0.0-py3.8.egg/se3_transformer/model/basis.py", line 166, in get_basis
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/contextlib.py", line 113, in enter
return next(self.gen)
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/cuda/nvtx.py", line 86, in range
range_push(msg.format(*args, **kwargs))
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/cuda/nvtx.py", line 28, in range_push
return _nvtx.rangePushA(msg)
File "/home/katja/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/cuda/nvtx.py", line 9, in _fail
raise RuntimeError("NVTX functions not installed. Are you sure you have a CUDA build?")
RuntimeError: NVTX functions not installed. Are you sure you have a CUDA build?

@rgogal
Copy link

rgogal commented Dec 6, 2022

I am having the same issue despite installing it a few times. Were you able to find a resolution?

@KatjaM2020
Copy link
Author

KatjaM2020 commented Dec 7, 2022 via email

@leiloull
Copy link

leiloull commented Dec 8, 2022

Same here, I was wondering if this is because of the CUDA version? I am using CUDA11.5.119 on Ubuntu 22.04.1 LTS.

@KatjaM2020
Copy link
Author

KatjaM2020 commented Dec 8, 2022 via email

@rgogal
Copy link

rgogal commented Dec 8, 2022

I got mine running. My CUDA version was 11.3 and it is not compatible with pytorch 1.13 which is installed with the environment file. Pytorch 1.13 is only compatible with CUDA 11.6 and above. I had to downgrade my pytorch version in my environment. Here is the command I used.
conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=11.3 -c pytorch -c conda-forge

@sa-minami
Copy link

I had the same error as KatjaM2020 and the solution by rgogal worked for me as well.

@leiloull
Copy link

I had the same error as KatjaM2020 and the solution by rgogal worked for me as well.

I am using the CUDA 11.6 and NVIDIA-SMI 470.161.03, but the problem is still there.

@leiloull
Copy link

I got mine running. My CUDA version was 11.3 and it is not compatible with pytorch 1.13 which is installed with the environment file. Pytorch 1.13 is only compatible with CUDA 11.6 and above. I had to downgrade my pytorch version in my environment. Here is the command I used. conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=11.3 -c pytorch -c conda-forge

Do you have any specific reasons for using the CUDA 11.3 version? I am on 11.6 but the problem still can't be solved.

@sa-minami
Copy link

I got mine running. My CUDA version was 11.3 and it is not compatible with pytorch 1.13 which is installed with the environment file. Pytorch 1.13 is only compatible with CUDA 11.6 and above. I had to downgrade my pytorch version in my environment. Here is the command I used. conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=11.3 -c pytorch -c conda-forge

Do you have any specific reasons for using the CUDA 11.3 version? I am on 11.6 but the problem still can't be solved.

I started with 11.6, but that did not work for me. This was with Pytorch 1.13. I then downgraded both and it worked for me.

@rgogal
Copy link

rgogal commented Dec 13, 2022

I got mine running. My CUDA version was 11.3 and it is not compatible with pytorch 1.13 which is installed with the environment file. Pytorch 1.13 is only compatible with CUDA 11.6 and above. I had to downgrade my pytorch version in my environment. Here is the command I used. conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=11.3 -c pytorch -c conda-forge

Do you have any specific reasons for using the CUDA 11.3 version? I am on 11.6 but the problem still can't be solved.

I don't have access to change my CUDA version (working on university HPC) so had no choice but to use 11.3.

@i-l-sokolov
Copy link

I got mine running. My CUDA version was 11.3 and it is not compatible with pytorch 1.13 which is installed with the environment file. Pytorch 1.13 is only compatible with CUDA 11.6 and above. I had to downgrade my pytorch version in my environment. Here is the command I used. conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=11.3 -c pytorch -c conda-forge

I installed all requirements from the file in repository, had the same problem, tried this downgrading of libraries versions, but problem remains. If anyone have ideas what could be wrong, I would be very grateful. Thank you in advance

@dpretorius
Copy link

I have the same error when trying to run my script as @KatjaM2020

I am running it on:
Ubantu 20.4
Nvidia Driver version 470.161.03
CUDA version 11.4

Any developments on this?

@aylindmm
Copy link

aylindmm commented Jan 23, 2023

What worked for me was uninstalling PyTorch and installing the Preview (Nightly) build acording to my OS and CUDA version.

https://pytorch.org/get-started/locally/

@SuhasSrinivasan
Copy link
Contributor

Hello everyone, please see #105 for potential solution.

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

8 participants