Instructions to use Mike0021/Qwen3.8-27B-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 Mike0021/Qwen3.8-27B-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 Mike0021/Qwen3.8-27B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Mike0021/Qwen3.8-27B-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 Mike0021/Qwen3.8-27B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Mike0021/Qwen3.8-27B-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 Mike0021/Qwen3.8-27B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Mike0021/Qwen3.8-27B-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 Mike0021/Qwen3.8-27B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Mike0021/Qwen3.8-27B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Mike0021/Qwen3.8-27B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Mike0021/Qwen3.8-27B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Mike0021/Qwen3.8-27B-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": "Mike0021/Qwen3.8-27B-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Mike0021/Qwen3.8-27B-GGUF:Q4_K_M
- Ollama
How to use Mike0021/Qwen3.8-27B-GGUF with Ollama:
ollama run hf.co/Mike0021/Qwen3.8-27B-GGUF:Q4_K_M
- Unsloth Studio
How to use Mike0021/Qwen3.8-27B-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 Mike0021/Qwen3.8-27B-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 Mike0021/Qwen3.8-27B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Mike0021/Qwen3.8-27B-GGUF to start chatting
- Pi
How to use Mike0021/Qwen3.8-27B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Mike0021/Qwen3.8-27B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Mike0021/Qwen3.8-27B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Mike0021/Qwen3.8-27B-GGUF with Docker Model Runner:
docker model run hf.co/Mike0021/Qwen3.8-27B-GGUF:Q4_K_M
- Lemonade
How to use Mike0021/Qwen3.8-27B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Mike0021/Qwen3.8-27B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.8-27B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Mike0021/Qwen3.8-27B-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 Mike0021/Qwen3.8-27B-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 Mike0021/Qwen3.8-27B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Mike0021/Qwen3.8-27B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Mike0021/Qwen3.8-27B-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 "Mike0021/Qwen3.8-27B-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 GGUF
Source-faithful and architecture-aware GGUF conversions of
Qwen/Qwen3.8-27B, including its
native vision projector and one-layer MTP draft model.
This release was independently built from source revision
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
with llama.cpp revision
1692f9e50bb20fd96b963af38a282daf78feea64.
All 18 source safetensors shards were verified against their Hub LFS SHA-256
digests before conversion.
Files
Main model
| File | Size | Purpose |
|---|---|---|
Qwen3.8-27B-Q4_K_M.gguf |
18.97 GB | Recommended practical model. Conservative 5.64 BPW mixed quantization. |
Qwen3.8-27B-Q8_0.gguf |
28.60 GB | Near-lossless high-quality quantization. |
Qwen3.8-27B-BF16.gguf |
53.81 GB | Maximum-fidelity BF16 conversion. |
The recommended Q4 file is deliberately not a stock Q4_K_M quant. Its FFN and embedding matrices use Q4_K, the final output and attention-output projections use Q6_K, and all other attention plus Gated DeltaNet/SSM matrices use Q8_0. This protects the model's architecture-sensitive paths while keeping the file under 19 GB.
Vision projector
Download one projector to use images or video. It is not needed for text-only inference.
| File | Size | Purpose |
|---|---|---|
mmproj-Qwen3.8-27B-Q8_0.gguf |
0.63 GB | Recommended practical projector. |
mmproj-Qwen3.8-27B-BF16.gguf |
0.93 GB | Maximum-fidelity projector. |
MTP speculative-decoding sidecar
These files are optional. They enable Qwen3.8's native one-layer multi-token-prediction draft model; they do not change the target model's final sampling distribution.
| File | Size | Purpose |
|---|---|---|
mtp-Qwen3.8-27B-Q4_0.gguf |
1.68 GB | Smallest and usually best practical draft sidecar. |
mtp-Qwen3.8-27B-Q8_0.gguf |
3.16 GB | Higher-fidelity draft sidecar. |
mtp-Qwen3.8-27B-BF16.gguf |
5.95 GB | Maximum-fidelity draft sidecar. |
Download
Recommended text + vision pair:
hf download Mike0021/Qwen3.8-27B-GGUF \
Qwen3.8-27B-Q4_K_M.gguf \
mmproj-Qwen3.8-27B-Q8_0.gguf \
--local-dir ./Qwen3.8-27B-GGUF
Add mtp-Qwen3.8-27B-Q4_0.gguf to that command if you want speculative
decoding.
llama.cpp usage
This new architecture requires llama.cpp revision 1692f9e or a tested newer
revision. Other GGUF runtimes and older GUIs may not support Qwen3.8 yet.
Text chat with thinking disabled:
llama-cli \
-m Qwen3.8-27B-Q4_K_M.gguf \
-ngl all -c 32768 --jinja --conversation \
--chat-template-kwargs '{"enable_thinking":false}'
Image understanding:
llama-cli \
-m Qwen3.8-27B-Q4_K_M.gguf \
--mmproj mmproj-Qwen3.8-27B-Q8_0.gguf \
--image image.jpg \
--image-min-tokens 1024 \
-p "Describe this image precisely." \
-ngl all -c 32768 -n 512 --jinja
MTP speculative decoding:
llama-cli \
-m Qwen3.8-27B-Q4_K_M.gguf \
-md mtp-Qwen3.8-27B-Q4_0.gguf \
--spec-type draft-mtp --spec-draft-n-max 3 \
-ngl all -ngld all -c 32768 --jinja --conversation \
--chat-template-kwargs '{"enable_thinking":false}'
The model's native context window is 262,144 tokens. Start with a smaller runtime context such as 32K unless you need the full window, because KV and recurrent-state memory grow with the configured context and concurrency.
Thinking and sampling
The exact source Jinja template is embedded in every text and MTP GGUF. Thinking
defaults to xhigh. Select another supported effort explicitly:
--chat-template-kwargs \
'{"enable_thinking":true,"reasoning_effort":"low","preserve_thinking":true}'
Supported effort values are low, medium, and xhigh. Use
{"enable_thinking":false} to disable thinking. At the pinned llama.cpp
revision, pass the effort through chat_template_kwargs; top-level OpenAI API
reasoning_effort forwarding is still being completed in
llama.cpp PR #26941.
Qwen's source model card recommends these starting points:
| Mode | Temperature | Top-p | Top-k | Presence penalty |
|---|---|---|---|---|
| Thinking | 1.0 | 0.95 | 20 | 0.0 |
| Non-thinking | 0.7 | 0.8 | 20 | 1.5 |
Disabling thinking does not automatically change the sampler settings.
Validation and provenance
The release passed the following checks before upload:
- GGUF v3 metadata:
qwen35, 64 target layers, 262,144 context, 248,320-token vocabulary. - Exact source chat-template comparison.
- Expected tensor counts: 851 text, 334 projector, and 18 MTP tensors.
- Expected type distributions for every BF16, Q8, and Q4 artifact.
- Full SHA-256 checksums (see
SHA256SUMS). - CUDA tensor checks and deterministic text-generation smoke tests.
- Native image/projector and MTP speculative-decoding smoke tests.
The exact conversion commands, tool revisions, tensor policy, and validation
details are in CONVERSION.md. Raw conversion and
quantization logs are included under logs/.
Why no importance-matrix Q4?
llama.cpp supports importance-matrix quantization, but the architecture was new at conversion time and no representative Qwen3.8-specific calibration plus held-out evaluation was available. An unvalidated calibration corpus could bias the remaining Q4 FFNs. This release therefore follows ggml-org's conservative, architecture-aware reference recipe, which already keeps the attention and DeltaNet/SSM paths at Q8. Any future imatrix build should be published as a separate variant with its calibration provenance and held-out KLD/task results.
License
The original model and these converted weights are distributed under the
Apache License 2.0. See the
Qwen/Qwen3.8-27B model card for
the upstream model's documentation and intended-use guidance.
- Downloads last month
- 781
4-bit
8-bit
16-bit
Model tree for Mike0021/Qwen3.8-27B-GGUF
Base model
Qwen/Qwen3.8-27B