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

No CUDA runtime is found #15

Open
mirzaqasem opened this issue May 20, 2023 · 0 comments
Open

No CUDA runtime is found #15

mirzaqasem opened this issue May 20, 2023 · 0 comments

Comments

@mirzaqasem
Copy link

hi
first i thank you for your code
but when i run

git clone https://github.com/megvii-research/TreeEnergyLoss
cd TreeEnergyLoss
pip install -r requirements.txt
cd kernels/lib_tree_filter
sudo python3 setup.py build develop

i got error

No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
Traceback (most recent call last):
File "/content/FedICRA/code/utils/TreeEnergyLoss/kernels/lib_tree_filter/setup.py", line 21, in
raise Exception('This implementation is only avaliable for CUDA devices.')
Exception: This implementation is only avaliable for CUDA devices.

but i active GPU on runtime and torch.cuda.is_available() return true

please help me to fix it

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