You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to build a docker following the Dockerfile. When executing the last command--python setup.py install--in cule folder, I got the error:
Traceback (most recent call last):
File "setup.py", line 12, in
codes = [arch[-2] + '0' for arch in torch.cuda.get_arch_list()]
AttributeError: module 'torch.cuda' has no attribute 'get_arch_list'
In the docker, my os is 18.04.2-Ubuntu with cuda 10.0 , torch 1.2.0. I noticed that there is no get_arch_list() method in /usr/local/lib/python3.6/dist-packages/torch/cuda/init.py. Though torch 1.8.0 has attribute 'get_arch_list', torch 1.2.0 seems to be the highest version that matches with cuda 10.0.
I'm confused. How can I fix the bug? Many thanks.
The text was updated successfully, but these errors were encountered:
I tried to build a docker following the Dockerfile. When executing the last command--python setup.py install--in cule folder, I got the error:
Traceback (most recent call last):
File "setup.py", line 12, in
codes = [arch[-2] + '0' for arch in torch.cuda.get_arch_list()]
AttributeError: module 'torch.cuda' has no attribute 'get_arch_list'
In the docker, my os is 18.04.2-Ubuntu with cuda 10.0 , torch 1.2.0. I noticed that there is no get_arch_list() method in /usr/local/lib/python3.6/dist-packages/torch/cuda/init.py. Though torch 1.8.0 has attribute 'get_arch_list', torch 1.2.0 seems to be the highest version that matches with cuda 10.0.
I'm confused. How can I fix the bug? Many thanks.
The text was updated successfully, but these errors were encountered: