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

which version cuda should i choose for this application? #118

Open
xiohulp opened this issue Jan 3, 2024 · 0 comments
Open

which version cuda should i choose for this application? #118

xiohulp opened this issue Jan 3, 2024 · 0 comments

Comments

@xiohulp
Copy link

xiohulp commented Jan 3, 2024

Traceback (most recent call last):
File "edit_app.py", line 268, in
main()
File "edit_app.py", line 110, in main
model.eval().cuda()
File "C:\Anaconda\envs\ip2p\lib\site-packages\pytorch_lightning\core\mixins\device_dtype_mixin.py", line 127, in cuda
return super().cuda(device=device)
File "C:\Anaconda\envs\ip2p\lib\site-packages\torch\nn\modules\module.py", line 918, in cuda
return self._apply(lambda t: t.cuda(device))
File "C:\Anaconda\envs\ip2p\lib\site-packages\torch\nn\modules\module.py", line 810, in _apply
module._apply(fn)
File "C:\Anaconda\envs\ip2p\lib\site-packages\torch\nn\modules\module.py", line 810, in _apply
module._apply(fn)
File "C:\Anaconda\envs\ip2p\lib\site-packages\torch\nn\modules\module.py", line 810, in _apply
module._apply(fn)
[Previous line repeated 1 more time]
File "C:\Anaconda\envs\ip2p\lib\site-packages\torch\nn\modules\module.py", line 833, in _apply
param_applied = fn(param)
File "C:\Anaconda\envs\ip2p\lib\site-packages\torch\nn\modules\module.py", line 918, in
return self.apply(lambda t: t.cuda(device))
File "C:\Anaconda\envs\ip2p\lib\site-packages\torch\cuda_init
.py", line 289, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

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

1 participant