-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
<auto_select_gpus=True, gpus=-1> raise MisconfigurationException("GPUs requested but none are available.") #4207
Labels
Milestone
Comments
7 tasks
SkafteNicki
added a commit
that referenced
this issue
Oct 29, 2020
* fix: `nb` is set total number of devices, when nb is -1. Refs: #4207 * feat: add test code 1. test combination `auto_select_gpus`, `gpus` options using Trainer 2. test `pick_multiple_gpus` function directly Refs: #4207 * docs: modify contents in `Select GPU devices` Refs: #4207 * refactore: reflect the reuslt of review Refs: #4207 * refactore: reflect the reuslt of review Refs: #4207 * Update CHANGELOG.md Co-authored-by: chaton <thomas@grid.ai> Co-authored-by: Roger Shieh <55400948+s-rog@users.noreply.github.com> Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>
Borda
pushed a commit
that referenced
this issue
Nov 4, 2020
* fix: `nb` is set total number of devices, when nb is -1. Refs: #4207 * feat: add test code 1. test combination `auto_select_gpus`, `gpus` options using Trainer 2. test `pick_multiple_gpus` function directly Refs: #4207 * docs: modify contents in `Select GPU devices` Refs: #4207 * refactore: reflect the reuslt of review Refs: #4207 * refactore: reflect the reuslt of review Refs: #4207 * Update CHANGELOG.md Co-authored-by: chaton <thomas@grid.ai> Co-authored-by: Roger Shieh <55400948+s-rog@users.noreply.github.com> Co-authored-by: Nicki Skafte <skaftenicki@gmail.com> (cherry picked from commit b459fd2)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug
auto_select_gpus
but, if you set gpus is -1, raise MisconfigurationException("GPUs requested but none are available.")
Please reproduce using [the BoringModel and post here]
bug_auto_select_gpus
Expected behavior
pick all gpus
Environment
Additional context
(cc. @inmoonlight)
The text was updated successfully, but these errors were encountered: