getumbrel / llama-gpt

A self-hosted, offline, ChatGPT-like chatbot. Powered by Llama 2. 100% private, with no data leaving your device. New: Code Llama support!
https://apps.umbrel.com/app/llama-gpt
MIT License
10.82k stars 699 forks source link

Does not run on MacBookPro 13-inch, M1, 2020 #65

Open LiamKarlMitchell opened 1 year ago

LiamKarlMitchell commented 1 year ago

Chip: Apple M1 macOS Ventura 13.0.1

It says This script is intended to be run on MacOS with M1/M2 chips. Exiting...

But it is a Apple M1 chip.

LiamKarlMitchell commented 1 year ago

If I comment out the check it works. Should the || be an &&?

mayankchhabra commented 1 year ago

That's interesting! @LiamKarlMitchell can you please run this command on your Mac and share the output:

sysctl -n machdep.cpu && uname -m
LiamKarlMitchell commented 1 year ago

Hi @mayankchhabra

It does say Darwin and arm64 with the other commands just the logic was wrong?

sysctl -n machdep.cpu && uname -m
8
8
8
8
Apple M1
arm64