Skip to content

helper function to handle mps and cuda #45

@n0w0f

Description

@n0w0f
          you could also have mps ;) I typically use or write a helper function that can also handle those cases. 

(same issue with cuda device numbers)

Originally posted by @kjappelbaum in #44 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions