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

AMD Rx 6600 #10

Open
Kilgorio2 opened this issue Nov 2, 2024 · 2 comments
Open

AMD Rx 6600 #10

Kilgorio2 opened this issue Nov 2, 2024 · 2 comments

Comments

@Kilgorio2
Copy link

Kilgorio2 commented Nov 2, 2024

what do I need to do to fix this
open-oasis\generate.py", line 19, in
model = model.to(device).eval()
^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\torch\nn\modules\module.py", line 1340, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\torch\nn\modules\module.py", line 900, in _apply
module._apply(fn)
File "C:\Python312\Lib\site-packages\torch\nn\modules\module.py", line 900, in _apply
module._apply(fn)
File "C:\Python312\Lib\site-packages\torch\nn\modules\module.py", line 927, in apply
param_applied = fn(param)
^^^^^^^^^
File "C:\Python312\Lib\site-packages\torch\nn\modules\module.py", line 1326, in convert
return t.to(
^^^^^
File "C:\Python312\Lib\site-packages\torch\cuda_init
.py", line 310, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

@matth3wmajf
Copy link
Contributor

matth3wmajf commented Nov 3, 2024

I believe this model is meant with NVIDIA GPUs in mind, but you might be able to make it use OpenCL or SYCL instead, which should support AMD GPUs. I've heard SYCL tends to be even faster than CUDA.
EDIT: You may want to check this issue out, seems like they've fixed the issue.

@nonetrix
Copy link

nonetrix commented Nov 4, 2024

I think this can be closed as duplicate, also I'd suggest either using WSL (not sure if ROCm is available) or Linux on bate metal. Likely to have best results there as PyTorch isn't available on AMD Windows, although last time I checked might be soon but it's been a while and haven't heard much

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

3 participants