You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2025. It is now read-only.
It would be nice to support Metal Performance Shaders backend for pytorch on macOS
the main changes for inference seem to be:
load_in_8bit
must beFalse
device_map
set to{"":"mps"}
see:
https://github.com/Birch-san/falcon-play/blob/cbf9b2aebe7eef3eea305a511d6cdda17282ca8a/scripts/chat_play.py#L154-L157
https://github.com/Birch-san/falcon-play/blob/cbf9b2aebe7eef3eea305a511d6cdda17282ca8a/scripts/chat_play.py#L175
cc @Birch-san are there any other good docs or resources for adding mps support?
The text was updated successfully, but these errors were encountered: