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

Adding checks for loaded with cuda on missing places in code #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

minifisk
Copy link

@minifisk minifisk commented Nov 3, 2023

Had issues running the node on my Mac M1 due to missing checks for if PyTorch was initialized with CUDA (which it isn't on Mac's as it don't have NVIDIA GPU's). Works fine now. Copied your existing way of checking this so shouldn't cause any issues.

…ble to run the node in CPU-mode for non-NVIDIA-devices, such as Macs)
@minifisk
Copy link
Author

minifisk commented Nov 9, 2023

Can you please merge this one?

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

Successfully merging this pull request may close these issues.

1 participant