Skip to content

[FEATURE] Improve overall device placement handling #108

@davidberenstein1957

Description

@davidberenstein1957

Is your feature request related to a problem? Please describe.

I noticed this broader habbit in #97 and partially covered there, but I realised there is a wider habit of enforcing cuda usage, although people might still be interested in using cpu or mps, and @sharpenb mentioned we wanted to try supporting it.

Describe the solution you'd like

I propose re-using the logic in #97 and doing some other things:

  • Always check and warm for device placement, where we prefer mps/cuda when no preference is given.
  • Warn when using mps about limited support while nudging users to open an issue in case of weird behaviour. (torch..compile implements internal MPS warning, for example)

Additional context

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions