Instructions to use xenecode/llm-inference-8gb-gpu 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 xenecode/llm-inference-8gb-gpu 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 xenecode/llm-inference-8gb-gpu:F16 # Run inference directly in the terminal: llama cli -hf xenecode/llm-inference-8gb-gpu:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf xenecode/llm-inference-8gb-gpu:F16 # Run inference directly in the terminal: llama cli -hf xenecode/llm-inference-8gb-gpu:F16
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 xenecode/llm-inference-8gb-gpu:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf xenecode/llm-inference-8gb-gpu:F16
Use Docker
docker model run hf.co/xenecode/llm-inference-8gb-gpu:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use xenecode/llm-inference-8gb-gpu with Ollama:
ollama run hf.co/xenecode/llm-inference-8gb-gpu:F16
- Unsloth Desktop
- Pi
How to use xenecode/llm-inference-8gb-gpu with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf xenecode/llm-inference-8gb-gpu:F16
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": "xenecode/llm-inference-8gb-gpu:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use xenecode/llm-inference-8gb-gpu with Docker Model Runner:
docker model run hf.co/xenecode/llm-inference-8gb-gpu:F16
- Lemonade
How to use xenecode/llm-inference-8gb-gpu with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull xenecode/llm-inference-8gb-gpu:F16
Run and chat with the model
lemonade run user.llm-inference-8gb-gpu-F16
List all available models
lemonade list
- Hermes Agent
How to use xenecode/llm-inference-8gb-gpu with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf xenecode/llm-inference-8gb-gpu:F16
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 xenecode/llm-inference-8gb-gpu:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use xenecode/llm-inference-8gb-gpu with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf xenecode/llm-inference-8gb-gpu:F16
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 "xenecode/llm-inference-8gb-gpu:F16" \ --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"
Inkling 2 Mini, 2-bit GGUF tuned for 8 GB GPUs
Unsloth's UD-IQ2_XXS file of Inkling 2 Mini tuned for 8 GB GPUs. Two variants are provided:
Inkling-2-Mini-UD-IQ2_XXS-q4att-loopf16.gguf(recommended, 7.82 GiB): attention tensors in 4-bit (Q4_K), loop tensors in 16-bit (F16). Saves ~264 MB over the original file and cuts dense attention VRAM reads, reaching 51.6 tokens/s at 48K context with a 1536 MiB expert cache. Perplexity vsq6att: 8.0457 vs 7.9617 (+1.05%, within +/-0.33 SE, 16 chunks, context 512,q4_0KV).Inkling-2-Mini-UD-IQ2_XXS-q6att-loopf16.gguf(7.94 GiB): attention tensors in 6-bit (Q6_K), loop tensors in 16-bit (F16). Saves ~140 MB with identical perplexity to the original file (7.8825 vs 7.8846).
Speed
RTX 4060 8 GB, Ryzen 5 5600X, 16 GB RAM, Windows 11, 48K context (q4att-loopf16):
- writing (
temp 0benchmark, short ctx): 51.6 tokens/s (default llama.cpp settings with the original file: 20.4) - writing (live
--temp 0.6 --repeat-penalty 1.05, ~4K ctx): 44-45 tokens/s - writing (live
--temp 0.6 --repeat-penalty 1.05, ~40K ctx): 38.6 tokens/s - prompt reading: 734 tokens/s
- GPU memory: 7.42-7.55 GB, nothing spilled into shared memory
- Free system RAM: ~6.9 GB (with
--load-mode none)
How to run
Use Unsloth's llama.cpp fork (build b12722 or newer):
llama-server -m Inkling-2-Mini-UD-IQ2_XXS-q4att-loopf16.gguf ^
--fit off -ot "blk\.([0-5]|1[8-9]|2[0-3])\.ffn_.*_exps\.=CPU" ^
--ctx-size 49152 -ctk q4_0 -ctv q4_0 -fa on -ub 1024 ^
--moe-cache-mib 1536 --moe-cache-cpu-share 0.95 --load-mode none ^
--temp 0.6 --repeat-penalty 1.05
The -ot line keeps the experts of layers 0-5 and 18-23 in RAM. Layers 6-17 run three times per token, so their experts go to the GPU. --load-mode none avoids Windows mmap RAM bloat and keeps the CPU experts in pinned CUDA_Host memory.
How this setup was found, what worked and what did not: https://github.com/xenecodd/llm-inference-8gb-gpu
- Downloads last month
- 697
16-bit
Model tree for xenecode/llm-inference-8gb-gpu
Base model
thinkingmachines/Inkling-2-Mini