Instructions to use OnlyTextLLMs/Qwen3.8-27B-OnlyText-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 OnlyTextLLMs/Qwen3.8-27B-OnlyText-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 OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M
Use Docker
docker model run hf.co/OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M
- Ollama
How to use OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF with Ollama:
ollama run hf.co/OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M
- Unsloth Studio
How to use OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF to start chatting
- Pi
How to use OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF: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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF with Docker Model Runner:
docker model run hf.co/OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M
- Lemonade
How to use OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.8-27B-OnlyText-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use OnlyTextLLMs/Qwen3.8-27B-OnlyText-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 OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF: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:8080/v1 hermes config set model.default OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF: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:8080/v1 \ --custom-model-id "OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF: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"
Qwen3.8-27B-OnlyText-GGUF
GGUF quants of OnlyTextLLMs/Qwen3.8-27B-OnlyText
— the text-only derivative of Qwen/Qwen3.8-27B with the
MTP draft head embedded in-file (no separate draft file). The MTP tensors
are included by the converter by default (nextn_predict_layers = 1); run with
a recent llama.cpp and --spec-type draft-mtp to enable speculative decoding.
Quant files
| File | Size |
|---|---|
Qwen3.8-27B-OnlyText-MTP-Q4_K_M.gguf |
16.8 GB |
Qwen3.8-27B-OnlyText-MTP-Q6_K.gguf |
22.4 GB |
Qwen3.8-27B-OnlyText-MTP-Q8_0.gguf |
29.0 GB |
Benchmarks
Measured 2026-08-24 on 2× AMD Radeon AI PRO R9700 (gfx1201, 34 GB each) with
llama.cpp f280b26983ad (HIP/ROCm build, ROCm 7.14, -c 32768 -fa on). Baseline =
llama-bench PP512/1024/2048 + TG128/256; MTP = llama-cli single-turn chat
(thinking disabled), 256 generated tokens, median conditions, -np 1.
| Quant | Device | Gen tok/s (no MTP) | Prefill t/s (PP512) | Gen tok/s (best MTP) |
|---|---|---|---|---|
| Q4_K_M | single R9700 | 27.3 | 1035 | 42.7 (MTP n=3) |
| Q6_K | single R9700 | 24.0 | 660 | 44.0 (MTP n=2) |
| Q8_0 | single R9700 | 19.8 | 1222 | 43.6 (MTP n=4) |
| Q4_K_M | dual R9700 (layer-split) | 23.9 | 869 | 39.8 (MTP n=3) |
| Q6_K | dual R9700 (layer-split) | 22.0 | 545 | 39.6 (MTP n=2) |
| Q8_0 | dual R9700 (layer-split) | 19.0 | 1110 | 41.5 (MTP n=4) |
Baselines cited (to beat — published results)
- 51.8 tok/s, single Radeon AI PRO R9700 (MTP=2, Vulkan, Windows) — AMD blog — Run Qwen 3.8 27B Day 0
- 24.5 tok/s, Ryzen AI Max+ 395 / Strix Halo (MTP=4) — AMD blog (same)
- 17.4 tok/s decode, Qwen3.6-27B Q4_K_M, R9700, no MTP — willitrunai
- 12.1 → 21.2 tok/s (MTP n=3, 1.81×), Qwen3.6-27B Q4_K_M, Strix Halo ROCm — calebcoffie — llama.cpp MTP on Strix Halo
- ~75 → >90 tok/s, Q4_K_S, RTX 5090 (LM Studio) — DavidAU MTP GGUF model card
MTP reference speedup: ~1.5–2×, no accuracy loss at temperature 0 (unsloth Qwen3.6-27B-MTP-GGUF; merge PR ggml-org/llama.cpp#22673).
Usage
Requires a llama.cpp build from 2026-05-16 or later (MTP support, commit
4f13cb7+). Enable MTP with --spec-type draft-mtp; the best draft count is
--spec-draft-n-max 2 on Radeon PRO R9700 and 4 on Ryzen AI Max / Strix Halo.
# llama-server (OpenAI-compatible)
llama-server -m Qwen3.8-27B-OnlyText-MTP-Q4_K_M.gguf -ngl 99 -c 32768 -fa on \
--spec-type draft-mtp --spec-draft-n-max 2
# llama-cli single-turn chat (thinking disabled)
llama-cli -m Qwen3.8-27B-OnlyText-MTP-Q4_K_M.gguf -ngl 99 -c 32768 -fa on \
-st --reasoning off --spec-type draft-mtp --spec-draft-n-max 2 -p "Your prompt"
Notes:
- The chat template keeps Qwen's thinking mode on by default
(
reasoning_effort: xhigh) — the model reasons extensively before answering. Disable it with--reasoning off(llama-cli) or"chat_template_kwargs": {"enable_thinking": false}(server API) for fast direct answers. - Dual-GPU: unset
*_VISIBLE_DEVICESenv pins; llama.cpp auto layer-splits (--split-mode layeris the default).
Details
- Base: Qwen/Qwen3.8-27B (apache-2.0), 27.32B params,
64 layers (48 Gated-DeltaNet linear-attention + 16 full-attention), hidden
5120, vocab 248302,
qwen35GGUF architecture. - Tokenizer: 15 text-only special tokens at ids 248044–248058 (EOS
248046=<|im_end|>); vision/audio tokens removed. - Conversion:
convert_hf_to_gguf.py(llama.cppf280b26983ad) thenllama-quantizewith the file's named type; MTP tensors embedded by default. - Weights are untouched derivatives — no additional training.
Attribution
This model is a derivative of Qwen/Qwen3.8-27B by the Qwen team, released under the apache-2.0 license. All credit for the underlying weights and capabilities belongs to the original authors; this repository only removes modalities and quantizes, it does not add new training.
- Downloads last month
- 33
4-bit
6-bit
8-bit
Model tree for OnlyTextLLMs/Qwen3.8-27B-OnlyText-GGUF
Base model
Qwen/Qwen3.8-27B