Instructions to use YTan2000/Qwopus3.8-27B-Coder-Flash-TQ 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 YTan2000/Qwopus3.8-27B-Coder-Flash-TQ 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 YTan2000/Qwopus3.8-27B-Coder-Flash-TQ # Run inference directly in the terminal: llama cli -hf YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf YTan2000/Qwopus3.8-27B-Coder-Flash-TQ # Run inference directly in the terminal: llama cli -hf YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
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 YTan2000/Qwopus3.8-27B-Coder-Flash-TQ # Run inference directly in the terminal: ./build/bin/llama cli -hf YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
Use Docker
docker model run hf.co/YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
- Llama new
- LM Studio
- Jan
- vLLM
How to use YTan2000/Qwopus3.8-27B-Coder-Flash-TQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "YTan2000/Qwopus3.8-27B-Coder-Flash-TQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "YTan2000/Qwopus3.8-27B-Coder-Flash-TQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
- Ollama
How to use YTan2000/Qwopus3.8-27B-Coder-Flash-TQ with Ollama:
ollama run hf.co/YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
- Unsloth Desktop
- Pi
How to use YTan2000/Qwopus3.8-27B-Coder-Flash-TQ with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "YTan2000/Qwopus3.8-27B-Coder-Flash-TQ" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use YTan2000/Qwopus3.8-27B-Coder-Flash-TQ with Docker Model Runner:
docker model run hf.co/YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
- Lemonade
How to use YTan2000/Qwopus3.8-27B-Coder-Flash-TQ with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
Run and chat with the model
lemonade run user.Qwopus3.8-27B-Coder-Flash-TQ-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use YTan2000/Qwopus3.8-27B-Coder-Flash-TQ with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
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:8080/v1 hermes config set model.default YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use YTan2000/Qwopus3.8-27B-Coder-Flash-TQ with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
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:8080/v1 \ --custom-model-id "YTan2000/Qwopus3.8-27B-Coder-Flash-TQ" \ --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"
Qwopus3.8-27B-Coder-Flash-TQ
Engine: tqLLM 1.2.3 (docker pull ytan2000/tqllm:1.2.3 or ghcr.io/turbo-tan/tqllm:1.2.3).
Jackrong/Qwopus3.8-27B-Coder-Flash, a coding fine-tune of Qwen3.8-27B, in TQ_L (14.63 GB) for the tqLLM engine, with a DFlash2 draft model for exact speculative decoding. Against Jackrong's own Q4_K_M (16.8 GB) on the same engine and GPU: 2.2 GB smaller, decode 24 % faster, equal or better on every quality row below.
Credits
| What is in these files | Credit |
|---|---|
| Qwopus3.8-27B-Coder-Flash fine-tune (BF16 source) | Jackrong (Jackrong/Qwopus3.8-27B-Coder-Flash) |
| Qwen3.8-27B base weights, MTP head | Qwen team, Alibaba (Qwen) |
| Output head and token embeddings (Q6_K / Q4_K), tokenizer, chat template | from Jackrong/Qwopus3.8-27B-Coder-Flash-GGUF Q4_K_M |
| DFlash2 draft model weights and method | Jian Chen, Yesheng Liang, Zhijian Liu, z-lab (arXiv 2602.06036) |
| Rotation-based quantisation, the lineage of the TQ4 format | Google Research, TurboQuant |
Credits for the engine (KV cache, speculative decoding, kernels): tqllm.com/credits.
Files
| File | Size | What it is |
|---|---|---|
Qwopus3.8-27B-Coder-Flash-TQ_L.gguf |
14.63 GB | the model: TQ4 body, Q6_K output head, Q4_K embeddings; 24 GB GPUs and GB10 |
drafters/Qwen3.8-27B-DFlash2-TQ3.gguf |
0.79 GB | DFlash2 draft model (Qwen3.8-27B), TQ3 weights |
mtp-vocab/atx_65536.txt |
0.4 MB | the draft model's token list (65,536 ids) |
drafters/NOTICE |
licence notice for the draft model |
hf download YTan2000/Qwopus3.8-27B-Coder-Flash-TQ Qwopus3.8-27B-Coder-Flash-TQ_L.gguf drafters/Qwen3.8-27B-DFlash2-TQ3.gguf mtp-vocab/atx_65536.txt --local-dir models
Run
This file needs tqLLM: its TQ4 tensors use tqLLM's own GGUF type (300), so stock llama.cpp, Ollama and LM Studio cannot load it.
docker run --rm --gpus all -p 127.0.0.1:8086:8086 -v "$PWD/models:/models:ro" \
-e MODEL_FILE=/models/Qwopus3.8-27B-Coder-Flash-TQ_L.gguf \
-e DRAFT_MODEL_FILE=/models/drafters/Qwen3.8-27B-DFlash2-TQ3.gguf \
-e DRAFT_VOCAB_FILE=/models/mtp-vocab/atx_65536.txt \
-e KV_FORMAT=tq3 -e CONTEXT=32768 -e REASONING=on -e MAX_TOKENS=4096 \
ytan2000/tqllm:1.2.3
The image runs on x86-64 (RTX 30 / 40 / 50) and arm64 (GB10 / DGX Spark). The server is OpenAI-compatible
(/v1/chat/completions). All options: docker run --rm --gpus all --entrypoint tqserve ytan2000/tqllm:1.2.3 --help.
- Drafter: the Qwen3.8-27B DFlash2 draft model proposes several tokens and the 27B checks them in one pass; every accepted token is exact, so the output is the model's own text, only faster. It was trained on the base model and still works well for this fine-tune (decode below).
- Long agent loops: in long tool-use sessions (75K+ tokens of history) this fine-tune can fall into a repeated
reasoning loop more often than the base Qwen3.8-27B; Jackrong's Q4_K_M behaves the same (it is the fine-tune, not the
quantisation). A presence penalty of 1.5 (
"presence_penalty": 1.5in the request) keeps it out of them.
Quality
Same engine, same GPU (RTX 3090), both files:
| TQ_L | Jackrong Q4_K_M | |
|---|---|---|
| Size | 14.63 GB | 16.8 GB |
| GSM8K (200, greedy) | 96.0 % | 96.0 % |
| MMLU-Pro (291-question subset, thinking off) | 83.8 % | 81.4 % |
| KLD vs the Qwopus BF16, prose + code (lower is closer) | 0.016 | 0.017 |
| KLD, prose / code | 0.019 / 0.012 | 0.016 / 0.017 |
| KLD, chat with thinking | 0.20 | 0.24 |
| Same top token as BF16 (all text) | 93.0 % | 93.2 % |
KLD: mean per-token KL divergence from the BF16 model on the same 1024-token chunks (6 prose, 5 code, 5 chat). Chat with thinking is far from BF16 for both files alike, which points at the fine-tune, not the quantisation. Over all 16 chunks: 0.075 vs 0.086, within noise (paired bootstrap). MMLU-Pro on 291 questions has a standard error of about 2.2 points.
BenchLoop by task (RTX 3090, same engine, both files):
| Task | TQ_L | Q4_K_M |
|---|---|---|
| coding | 93.8 | 93.8 |
| toolcall | 86.7 | 86.7 |
| dataextract | 88.1 | 87.4 |
| reasonmath | 80.0 | 80.0 |
| instructfollow | 87.8 | 87.8 |
Speed (RTX 3090 24 GB, tqLLM 1.4.0 release candidate, greedy, 64K context, q8 KV, 4 prompts x 2, 400 tokens each)
| TQ_L | Q4_K_M | |
|---|---|---|
| Decode tok/s, DFlash2 drafter | 196.4 | 158.9 |
| Decode tok/s, no drafter | 51.6 | 40.5 |
| Prefill tok/s, 14,401-token prompt | 1,822 | 1,700 |
| Prefill tok/s, 29,887-token prompt | 1,740 | 1,607 |
Decode speed with a drafter depends on the text: code and copy-heavy answers accept more drafts than open prose.
The run command above, as written, with ytan2000/tqllm:1.2.3 (32K context, tq3 KV, DFlash2 drafter):
| Hardware | Ready | 512-token answer | 26,199-token prompt: first token |
|---|---|---|---|
| RTX 3090 24 GB | 136 s | 149.2 tok/s | 14.3 s |
| GB10 (DGX Spark) | 18 s | 61.7 tok/s | 23.7 s |
Format
TQ4 (4.125 bits per weight) rotates each 128-weight block and stores one FP16 scale per block plus 16-level codes; the rotation spreads outliers so one scale per 128 weights is enough. The body is quantised with GPTQ on calibration text.
Chat template
The file embeds the model's chat template; no --chat-template-file is needed.
- Downloads last month
- 1,095
We're not able to determine the quantization variants.
Model tree for YTan2000/Qwopus3.8-27B-Coder-Flash-TQ
Base model
Qwen/Qwen3.8-27B