Instructions to use YourHighnessLA/L0xRE-V2-27b-Low 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 YourHighnessLA/L0xRE-V2-27b-Low 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 YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M # Run inference directly in the terminal: llama cli -hf YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M # Run inference directly in the terminal: llama cli -hf YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
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 YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
Use Docker
docker model run hf.co/YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use YourHighnessLA/L0xRE-V2-27b-Low with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "YourHighnessLA/L0xRE-V2-27b-Low" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "YourHighnessLA/L0xRE-V2-27b-Low", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
- Ollama
How to use YourHighnessLA/L0xRE-V2-27b-Low with Ollama:
ollama run hf.co/YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
- Unsloth Desktop
- Pi
How to use YourHighnessLA/L0xRE-V2-27b-Low with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
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": "YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use YourHighnessLA/L0xRE-V2-27b-Low with Docker Model Runner:
docker model run hf.co/YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
- Lemonade
How to use YourHighnessLA/L0xRE-V2-27b-Low with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
Run and chat with the model
lemonade run user.L0xRE-V2-27b-Low-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use YourHighnessLA/L0xRE-V2-27b-Low with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
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 YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use YourHighnessLA/L0xRE-V2-27b-Low with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M
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 "YourHighnessLA/L0xRE-V2-27b-Low:Q4_K_M" \ --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"
L0xRE-V2-27b-Low
A capable 27B agent on a 12 GB GPU. 256K context with sparse attention, the same size and speed as L0xRE-27b-Low, and closer to the full model.
L0xRE-V2-27b-Low is the second-generation weight set for L0xRE Low, a quantized Qwen3.8-27B derivative for local coding assistants and AI agents. The file size is unchanged (8.62 GB, every layer on the GPU), as is the speed. V2 is a refit with better calibration and a re-balanced mix of 2-bit and 3-bit codes, and it is measurably closer to the BF16 model, especially on code, tool calls and agent traces.
Runtime: L0xRE v0.1.6.5 (Sparse Defaults) or later. This is the default model for the sparse runtime. The repository home page always names the current release and the install/update steps, so start there rather than at a pinned release. Runtime updates do not change the weights in this repository.
Sparse attention and 256K context
v0.1.6 made sparse attention the default above 8K tokens and raised the 12 GB profile to 262,144 tokens. v0.1.6.5 promotes the current defaults. The same 12 GB card now serves twice the context, with retrieval close to dense in the measured tests.
- Below 8K tokens: fully dense. Outputs are logit-identical to the dense path, not merely close.
- Above 8K tokens: each query attends to a sink, a local window, and the most relevant earlier tokens selected by a learned D-LSA map (
qwen38-dlsa-d2048.l0xmap, installed next to the model). v0.1.6.5 defaults are 256-token tiles, top-k 16,384, an 11,648-token sink, pooled prefill, a generation anchor, and CLOCK unit-cache gather v3. - Exact-match retrieval links: a rare token sequence seen earlier hard-links the current block back to those earlier blocks. This targets the main failure of learned sparse attention, picking the wrong one of several similar records. Generation uses the plain sparse selection, so decode speed is unchanged.
- Dense fallback:
L0XRE_SPARSE=0disables sparse attention. Dense mode is not the default above 8K; it mis-handles some agent transcripts past about 30K tokens.
Measured sparse quality
These are the v0.1.6 release measurements with L0xRE-V2-27b-Low + DFlash2 at temperature 0:
| Test | Dense | v0.1.6 sparse |
|---|---|---|
| Needle recall, 8 records in real agent transcripts, 16Kโ192K (RTX 3060 and RTX 5090) | 224/224 on each card | 223/224 on each card |
| Held-out retrieval (code, paths, paraphrased questions), two prompt sets, RTX 5090 | 269/288 | 268/288 |
| Responses below 8K tokens | โ | bit-identical to the dense path (logit hashes) |
| Prefill cost, same runtime without the links | โ | RTX 3060 โ0.2โฆ+0.1%; RTX 4090 โ0.4โฆโ0.1%; RTX 5090 within 1.6% |
v0.1.6.5's lab quality run (F1 + DFlash2 + s2 template) measured KL versus dense on real Hermes trajectories at 0.0107 for 42โ78K, 0.0140 for 128โ170K, and 0.0263 for 180โ200K, with recall 72/72, matching dense. This is an internal lab result, not an external leaderboard.
Known limits: one sequence at a time (-np 1); exact-match links can copy a neighbour at counting positions (for example a chapter number after "CHAPTER"); confident disagreements with dense attention remain at the plain-sparse rate of 1 in 862 positions; tree verify runs inside the resident window up to 8K, and deeper verify uses the 8-row chain.
What improved
KLD against BF16 Qwen3.8-27B, on gen-masked positions of the public quant-challenge golden set. Lower is better. Holdout is 200 documents frozen before any fitting and scored once, for this release.
| Split | L0xRE-27b-Low (v1) | L0xRE-V2-27b-Low | Change |
|---|---|---|---|
| Holdout, 200 docs: overall | 0.1223 | 0.0928 | โ24.2% [โ20.4, โ26.9] |
| Holdout: agentic mean (code, tools, reasoning, math) | 0.0701 | 0.0497 | โ29.1% |
| Holdout: code | 0.0752 | 0.0499 | โ33.7% |
| Holdout: agent and SWE traces | 0.0596 | 0.0383 | โ35.8% |
| Development, 116 docs: overall | 0.1151 | 0.0833 | โ27.7% |
V2 has lower KLD on 190 of the 200 holdout documents. Its weakest case is a thinking-off prompt that keeps the xhigh reasoning instruction with an empty think block, where a few chat and tool documents score worse. v0.1.5's thinking-off serving mode does not render that prompt.
Benchmarks
Club-3090 8-pack N150 (150 tasks: tool calls, instruction following, structured output, data extraction, reasoning/math, bug finding, Hermes agent and CLI tasks):
| Mode | v1 (B02-A2 weights) | V2 |
|---|---|---|
| Thinking off, RTX 3060 | 119 | 121 |
| Thinking on, medium effort, 8K reasoning budget, ร2 (pass@1 / pass@3) | โ | 127/133, 125/135 |
For comparison, v1 scored 127/133 with thinking on at xhigh effort and no reasoning budget, which took about twice as long per run.
Speed
RTX 3060 12 GB, native Linux, headless, DFlash2 drafter, bench.sh. Paired against v1 weights on the same build and flags:
| Metric | V2 | Versus v1 |
|---|---|---|
| Narrative decode | ~45 tok/s | within 2% |
| Code decode | ~78 tok/s | within 2% |
| 10K prompt prefill | ~720 tok/s | within 1% |
| 90K prompt prefill | ~480 tok/s | within 1% |
| Decode at 90K depth (3 runs each) | 61.3 tok/s | v1 50.2 |
Decode at depth depends mostly on how many tokens the drafter gets accepted, so single runs vary widely. The per-step compute cost is the same for both weight sets.
v0.1.6.5 sparse runtime check
On the same RTX 3060 12 GB, the v0.1.6.5 release kit booted at 11,175 MiB / 12,288 MiB with the full 262,144-token sparse context and Q8_0 vision. bench.sh measured 55.73 tok/s narrative (transformer essay) and 100.17 tok/s code (Python quicksort), with 839 tok/s prefill at 10K and 688 tok/s prefill at 90K. These use the v0.1.6.5 sparse defaults and are not directly comparable with the paired agent-prompt table above.
Model files
| File | Purpose | Size |
|---|---|---|
L0xRE-V2-27b-Low.gguf |
Main model, sha256 8eb326fddc73abae8ab26ae1c33fdeafd9d773c2702836a9fed77339bc537459 |
8.62 GB |
Qwen3.8-27B-DFlash2-Q4_K_M.gguf |
Recommended DFlash2 drafter (unchanged from v1), sha256 1a25c56858e1ebe93f2718ac1d49d1151f9323325c1bbfd6209370f4db131ebd |
1.14 GB |
qwen38-dlsa-d2048.l0xmap |
D-LSA sparse-attention map installed next to the model (v0.1.6+) | 6 MB |
This model requires the L0xRE BeeLLama Low runtime, v0.1.5 or later. The current v0.1.6.5 release adds the sparse defaults described above. The API model name is still L0xRE-27b-Low, so existing client settings keep working. Stock llama.cpp, Ollama, LM Studio, Transformers and other engines are not supported. The GGUF extension alone does not mean it is compatible.
- Downloads last month
- 2,784
4-bit
Model tree for YourHighnessLA/L0xRE-V2-27b-Low
Base model
Qwen/Qwen3.8-27B