Skip to content

<auto_select_gpus=True, gpus=-1> raise MisconfigurationException("GPUs requested but none are available.") #4207

@ssaru

Description

@ssaru

🐛 Bug

auto_select_gpus

if auto_select_gpus enabled and gpus is an integer, pick available gpus automatically.

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

  • CUDA:
    • GPU:
      • Quadro RTX 6000
    • available: True
    • version: 10.1
  • Packages:
    • numpy: 1.19.2
    • pyTorch_debug: False
    • pyTorch_version: 1.6.0+cu101
    • pytorch-lightning: 0.9.0
    • tqdm: 4.50.2
  • System:

Additional context

(cc. @inmoonlight)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedOpen to be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions