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.53k stars 666 forks source link

Running does not work on MacOS with homebrew conda #130

Open dylan-sh opened 7 months ago

dylan-sh commented 7 months ago

I don't know anything but:

Attempted to run-mac.sh, no output. Removed set-e to see the output. conda activate does not work, unknown command. Removed brew installation of miniconda, opting to manually download conda. Only output because set-e flag removed, asking to update conda. Updated conda and now works:

dylan@macbook llama-gpt % ./run-mac.sh --model 7b 
Xcode is installed at /Applications/Xcode.app/Contents/Developer
Conda is installed.
Conda environment 'llama-gpt' already exists.
Activating the conda environment 'llama-gpt'...
...

Basically if you're trying to run it on Apple Silicon and use homebrew then it doesn't work but I don't know why because conda activate should just work.

Bram1903 commented 7 months ago

I'm experiencing the same issue. I cloned the repository as instructed, but whenever I execute the ./run-mac.sh --model 13b command, I don't see any form of output, nor any exceptions being thrown.

akanz1 commented 7 months ago

For me the problem was that i already had mambaforge installed. I suspect that my conda command was broken as I recently changed shells. Once I've removed the old installation and made sure to source .bashrc in my .zshrc to have a working conda command it proceeded in the script.

joshghent commented 6 months ago

@Bram1903 same issue here, thought I was going crazy. CleanShot 2023-12-12 at 15 08 54@2x