Instructions to use RTorney/Inkling-2-Mini-Pi-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RTorney/Inkling-2-Mini-Pi-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf RTorney/Inkling-2-Mini-Pi-GGUF # Run inference directly in the terminal: llama cli -hf RTorney/Inkling-2-Mini-Pi-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RTorney/Inkling-2-Mini-Pi-GGUF # Run inference directly in the terminal: llama cli -hf RTorney/Inkling-2-Mini-Pi-GGUF
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf RTorney/Inkling-2-Mini-Pi-GGUF # Run inference directly in the terminal: ./build/bin/llama cli -hf RTorney/Inkling-2-Mini-Pi-GGUF
Use Docker
docker model run hf.co/RTorney/Inkling-2-Mini-Pi-GGUF
- Llama new
- LM Studio
- Jan
- Ollama
How to use RTorney/Inkling-2-Mini-Pi-GGUF with Ollama:
ollama run hf.co/RTorney/Inkling-2-Mini-Pi-GGUF
- Unsloth Desktop
- Pi
How to use RTorney/Inkling-2-Mini-Pi-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RTorney/Inkling-2-Mini-Pi-GGUF
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "RTorney/Inkling-2-Mini-Pi-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use RTorney/Inkling-2-Mini-Pi-GGUF with Docker Model Runner:
docker model run hf.co/RTorney/Inkling-2-Mini-Pi-GGUF
- Lemonade
How to use RTorney/Inkling-2-Mini-Pi-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RTorney/Inkling-2-Mini-Pi-GGUF
Run and chat with the model
lemonade run user.Inkling-2-Mini-Pi-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use RTorney/Inkling-2-Mini-Pi-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RTorney/Inkling-2-Mini-Pi-GGUF
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default RTorney/Inkling-2-Mini-Pi-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use RTorney/Inkling-2-Mini-Pi-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RTorney/Inkling-2-Mini-Pi-GGUF
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "RTorney/Inkling-2-Mini-Pi-GGUF" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Download scripts/pi-setup.sh from RTorney/Inkling-2-Mini-Pi-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 2.4 kB
-
https://huggingface.co/RTorney/Inkling-2-Mini-Pi-GGUF/resolve/main/scripts/pi-setup.sh
- Command line
-
hf download hf://RTorney/Inkling-2-Mini-Pi-GGUF/scripts/pi-setup.sh
-
curl -L -o pi-setup.sh https://huggingface.co/RTorney/Inkling-2-Mini-Pi-GGUF/resolve/main/scripts/pi-setup.sh
2.4 kB
| # pi-setup.sh: build Unsloth's llama.cpp "b12572-mix-8eebad4" on a Raspberry Pi 5 (Cortex-A76, NEON + dotprod), CPU only. | |
| # The fork's tag only holds the CI tooling; the mix tree is upstream b12572 (652d559ed) + 30 pinned PR commits that the | |
| # fork mirrors under refs/pins/<sha>. This script rebuilds that tree exactly like the PC copy (same order, same pins). | |
| # Needs: git cmake ninja-build (or make) g++ libgomp (apt install git cmake ninja-build build-essential python3). | |
| # Usage: ./pi-setup.sh [dest_dir] (pins-b12572.txt must sit next to this script) | |
| set -euo pipefail | |
| HERE=$(cd "$(dirname "$0")" && pwd) | |
| DEST=${1:-$HOME/llama.cpp-inkling} | |
| BASE=652d559edf278347160baeb91ab654ac57ac429e # upstream b12572 (rev-list --count = 12572) | |
| PINS=$HERE/pins-b12572.txt | |
| [ -f "$PINS" ] || { echo "missing $PINS" >&2; exit 1; } | |
| if [ ! -d "$DEST/.git" ]; then | |
| git clone --filter=blob:none https://github.com/unslothai/llama.cpp "$DEST" | |
| fi | |
| cd "$DEST" | |
| git fetch -q --no-tags origin $(awk '{print "refs/pins/"$3":refs/pins/"$3}' "$PINS") | |
| git fetch -q origin "refs/tags/b12572-mix-8eebad4:refs/tags/b12572-mix-8eebad4" | |
| US=$(mktemp -d); git archive b12572-mix-8eebad4 scripts/unsloth | tar -x -C "$US" | |
| git checkout -q --detach $BASE | |
| git switch -q -C mix-b12572-8eebad4 | |
| while read -r SRC NUM SHA; do | |
| if ! git -c user.name=local -c user.email=local@localhost -c merge.conflictStyle=diff3 \ | |
| merge -q --no-ff --no-edit -m "Merge ${SRC}#${NUM} @ ${SHA}" "$SHA" </dev/null >/dev/null 2>&1; then | |
| if python3 -I "$US/scripts/unsloth/additive_merge.py" </dev/null >/dev/null 2>&1 && [ -z "$(git diff --name-only --diff-filter=U)" ]; then | |
| git -c user.name=local -c user.email=local@localhost commit -q --no-edit; echo "additive ${SRC}#${NUM}" | |
| else | |
| git merge --abort; echo "FAIL ${SRC}#${NUM}" >&2; exit 1 | |
| fi | |
| else echo "ok ${SRC}#${NUM}"; fi | |
| done < "$PINS" | |
| T=$(git rev-parse HEAD^{tree}); R=$(cat "$HERE/mix-tree.txt" 2>/dev/null || echo n/a) | |
| echo "mix tree hash: $T (PC build: $R)"; [ "$T" = "$R" ] || echo "WARNING: source tree differs from the PC build" >&2 | |
| cmake -S . -B build-pi -G Ninja -DCMAKE_BUILD_TYPE=Release -DGGML_NATIVE=ON -DGGML_OPENMP=ON \ | |
| -DLLAMA_CURL=OFF -DLLAMA_BUILD_TESTS=OFF -DGGML_CUDA=OFF -DGGML_VULKAN=OFF | |
| cmake --build build-pi -j4 --target llama-cli llama-server llama-completion llama-bench llama-perplexity | |
| ./build-pi/bin/llama-cli --version | |