Replies: 1 comment
-
added info: (LocalGPT) user@e-MacBook-Air localGPT % python run_localGPT.py --device_type mps |
Beta Was this translation helpful? Give feedback.
-
added info: (LocalGPT) user@e-MacBook-Air localGPT % python run_localGPT.py --device_type mps |
Beta Was this translation helpful? Give feedback.
-
When I get to the "enter a query" stage after running Python run_LocalGPT.py --device_type mps I get the below error:
/Users/user/miniforge3/envs/LocalGPT/lib/python3.10/site-packages/InstructorEmbedding/instructor.py:278: UserWarning: MPS: no support for int64 reduction ops, casting it to int32 (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/mps/operations/ReduceOps.mm:144.)
assert torch.sum(attention_mask[local_idx]).item() >= context_masks[local_idx].item(),
ggml_metal_graph_compute: command buffer 0 failed with status 5
GGML_ASSERT: /private/var/folders/56/klht16nj4ks4hngpm9trsm540000gn/T/pip-install-jcn1s898/llama-cpp-python_58a63b51a93847c5ab0a87543a11841e/vendor/llama.cpp/ggml-metal.m:1185: false
zsh: abort python run_localGPT.py --device_type mps
/Users/user/miniforge3/envs/LocalGPT/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
I've followed all the amendment to make this run on M1 Mac but I have obviously missed something...?
Beta Was this translation helpful? Give feedback.
All reactions