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
This is Unsloth's UD-IQ2_XXS file of Inkling 2 Mini with two small changes that save ~140 MB:
- the 85 attention tensors are stored in 6-bit (
Q6_K) instead of 8-bit (Q8_0) - the 144 loop tensors are stored in 16-bit instead of 32-bit
On an 8 GB GPU, that saved memory goes into llama.cpp's expert cache, so the model runs faster. Quality is the same: perplexity 7.8825 vs 7.8846 for the original file (16 chunks, context 512).
Speed
RTX 4060 8 GB, Ryzen 5 5600X, 16 GB RAM, Windows 11, 64K context:
- writing: 43.7 tokens/s (default llama.cpp settings with the original file: 20.4)
- prompt reading: 734 tokens/s
- GPU memory: 7.07 GB, nothing spilled into shared memory
How to run
Use Unsloth's llama.cpp fork (build b12722 or newer):
llama-server -m Inkling-2-Mini-UD-IQ2_XXS-q6att-loopf16.gguf ^
--fit off -ot "blk\.([0-5]|1[8-9]|2[0-3])\.ffn_.*_exps\.=CPU" ^
--ctx-size 65536 -ctk q4_0 -ctv q4_0 -fa on -ub 1024 ^
--moe-cache-mib 1408 --moe-cache-cpu-share 0.95 ^
--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.
How this setup was found, what worked and what did not: https://github.com/xenecodd/llm-inference-8gb-gpu
- Downloads last month
- -
16-bit
Model tree for xenecode/llm-inference-8gb-gpu
Base model
thinkingmachines/Inkling-2-Mini