Skip to content

device='auto' should select the fastest possible device #576

@ottonemo

Description

@ottonemo

I see the code

device = ‘cuda’ if torch.cuda.is_available() else ‘cpu’

repeated often in user code. Maybe we should introduce device='auto' exactly for this case?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions