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

Cannot import on machine with ROCm CPU + CUDA GPU #334

Open
reikdas opened this issue Sep 27, 2024 · 0 comments
Open

Cannot import on machine with ROCm CPU + CUDA GPU #334

reikdas opened this issue Sep 27, 2024 · 0 comments

Comments

@reikdas
Copy link

reikdas commented Sep 27, 2024

>>> import scorch

gets stuck at

No ROCm runtime is found, using ROCM_HOME='/opt/rocm'

However,

>>> import torch
>>> torch.cuda.is_available()
True

works fine.

My CPU is AMD:

Vendor ID:                AuthenticAMD
  Model name:             AMD Ryzen Threadripper PRO 7965WX 24-Cores

And my GPU is:

Fri Sep 27 10:50:07 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.90.07              Driver Version: 550.90.07      CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX 6000 Ada Gene...    Off |   00000000:01:00.0 Off |                  Off |
| 30%   36C    P8             24W /  300W |      69MiB /  49140MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  NVIDIA RTX 6000 Ada Gene...    Off |   00000000:C1:00.0 Off |                  Off |
| 30%   35C    P8             23W /  300W |      12MiB /  49140MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

I suspect that maybe some dependency is seeing that ROCm is available and is getting confused about CUDA and ROCm?

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