Skip to content

try_gpu() function for macos #2655

@xiaruize0911

Description

@xiaruize0911

Hi, I am trying to use d2l on MacOS. I found that try_gpu() function can only detect 'cuda', but not 'mps'. Can anyone add this?
Thanks

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