Skip to content

Fix AIMV2 to use get_device() for MPS support#9

Open
rromanchuk wants to merge 1 commit into
jacobmarks:mainfrom
rromanchuk:fix/aimv2-mps-support
Open

Fix AIMV2 to use get_device() for MPS support#9
rromanchuk wants to merge 1 commit into
jacobmarks:mainfrom
rromanchuk:fix/aimv2-mps-support

Conversation

@rromanchuk
Copy link
Copy Markdown

AIMV2 was hardcoded to select CUDA or CPU, skipping MPS. Use the existing get_device() helper which already handles CUDA > MPS > CPU.

This drives me nuts lol, especially since there are a bunch of official guides featuring this plugin + AIMv2.

It's actually broken across the entire set of operators, but it's a much more invasive fix. At the very least, let the apple model run mps.

AIMV2 was hardcoded to select CUDA or CPU, skipping MPS. Use the
existing get_device() helper which already handles CUDA > MPS > CPU.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant