-
Notifications
You must be signed in to change notification settings - Fork 120
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
AttributeError: module 'torch._C' has no attribute '_cuda_setDevice' #90
Comments
Hi @byungjinku Thanks for trying the demo It looks like your torch version might not be GPU enabled from a quick google search ; pytorch/pytorch#33655 (comment) best regards, |
this code supoort only cuda 10.1 ? we can't use on cuda 11.8? |
No it should support both. |
/home/bjku/miniconda3/envs/atlasnet/lib/python3.6/site-packages/torch/cuda/init.py:104: UserWarning: warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name)) I'tried to resoleve but i couldn't |
Traceback (most recent call last):
File "c:\Users\byung\Desktop\AtlasNet-master\train.py", line 14, in
torch.cuda.set_device(opt.multi_gpu[0])
File "C:\Users\byung\anaconda3\Lib\site-packages\torch\cuda_init_.py", line 350, in set_device
torch._C._cuda_setDevice(device)
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'torch._C' has no attribute '_cuda_setDevice'
I tried to run your demo but I had this issue
The text was updated successfully, but these errors were encountered: