-
Notifications
You must be signed in to change notification settings - Fork 2
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
not working correctly when only one gpu is available #3
Comments
Hallo @f-fuchs, |
Hey @ibenes, I hope everything went well with your thesis. Have you had a chance to look into this yet? |
Hi @f-fuchs! As far as I can tell from your example, your 1-GPU machine is not in an exclusive mode. This case has special handling in safe-gpu: The default for us is GPUs in our local cluster, which are in exclusive mode and need to be allocated appropriately. The other one is occasional GPUs in people PCs, which are not exclusive, running a couple of processes associated with GUI etc. Here we don't want to check that the card is free (because it is not) and safe-gpu simply sends the current process there. Is that roughly your situation? I know the test for the exclusivity is not perfect; if you'd like the behaviour of safe-gpu to change in your case, could you attach the output of |
okay, now i am confused 😕 I ran if this is the intended behavior that's also fine, I currently don't need need it to work with one GPU. 👌 |
Thanks for the input, we will update the test for exclusivity; I will keep this Issue open until then 💪 |
Hey,
when I try to use 3 GPUs but only 2 are available the library behaves as expected and the third process crashes.
But when I try to use 2 GPUs when only 1 is available both processes get the one available GPU. Can I prevent this?
The text was updated successfully, but these errors were encountered: