Skip to content

GPUs requested but none are available #3542

@shanhaidexiamo

Description

@shanhaidexiamo

my server has 8 GPUs, but when I use the trainer class and set gpus = -1, it gets the run error GPUs requested but none are available, use torch to check the gpus , get the number of gpu is 8, and cuda.is_available is true. Does any one can tell me what's wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedwaiting on authorWaiting on user action, correction, or updatewon't fixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions