Skip to content

os.environ['CUDA_VISIBLE_DEVICES'] = '1' does not work in jupyter #571

Closed
@imhuay

Description

@imhuay

As the title says, it is invalid to specify the GPU through CUDA_VISIBLE_DEVICES in jupyter, and only 'GPU:0' will still be used; but it is effective when using CUDA_VISIBLE_DEVICES=1 python *.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions