aten::index_copy.out #4
-
NotImplementedError: The operator 'aten::index_copy.out' is not currently implemented for the MPS device. If you want this op to be added in priority during the prototype phase of this feature, please comment on pytorch/pytorch#77764. As a temporary fix, you can set the environment variable Getting this in 05_part-2.ipynb. I use MacBook M3 Pro 18GB RAM. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi there, thanks for sharing. I don't remember creating a |
Beta Was this translation helpful? Give feedback.
-
As of the most recent release (v0.4.12), litgpt should work again on macOS. You can either install the latest version from main or do pip install litgpt -U Then, e.g., from litgpt import LLM
llm = LLM.load("microsoft/phi-2")
llm.generate("What do Llamas eat?") will produce reasonable results again. (There was an issue with the default precision on macOS that I just fixed.) |
Beta Was this translation helpful? Give feedback.
As of the most recent release (v0.4.12), litgpt should work again on macOS. You can either install the latest version from main or do
Then, e.g.,
will produce reasonable results again. (There was an issue with the default precision on macOS that I just fixed.)