env - mac
If you see this message on Unsloth Studio WebUI, try this.
#maybe first step will be failed because this logs mean that llama-cpp wasn't installed, actually.
- pip uninstall llama-cpp-python -y
- CMAKE_ARGS="-DGGML_METAL=on" pip install "llama-cpp-python[server]" --no-cache-dir
- export LLAMA_SERVER_PATH=$(which llama-server)
If It's not solved, you can try this(I also do this, and it's good to me)
- git clone https://github.com/ggerganov/llama.cpp
- brew install cmake
- cd llama.cpp
- cmake -B build
- cmake --build build --config Release -j
- cp build/bin/llama-server {your_dir}/unsloth_studio/bin/
- chmod +x {your_dir}/unsloth_studio/bin/llama-server
- export LLAMA_SERVER_PATH={your_dir}/unsloth_studio/bin/llama-server
env - mac
If you see this message on Unsloth Studio WebUI, try this.
#maybe first step will be failed because this logs mean that llama-cpp wasn't installed, actually.
If It's not solved, you can try this(I also do this, and it's good to me)