Skip to content

[BUG] llama-server binary not found — cannot load GGUF models. Run setup.sh to build it, or set LLAMA_SERVER_PATH #4415

Description

@JibeomPark

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.

  1. pip uninstall llama-cpp-python -y
  2. CMAKE_ARGS="-DGGML_METAL=on" pip install "llama-cpp-python[server]" --no-cache-dir
  3. 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)

  1. git clone https://github.com/ggerganov/llama.cpp
  2. brew install cmake
  3. cd llama.cpp
  4. cmake -B build
  5. cmake --build build --config Release -j
  6. cp build/bin/llama-server {your_dir}/unsloth_studio/bin/
  7. chmod +x {your_dir}/unsloth_studio/bin/llama-server
  8. export LLAMA_SERVER_PATH={your_dir}/unsloth_studio/bin/llama-server

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions