Instructions to use incoai/Qwen3.8-27B-DFlash2-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 incoai/Qwen3.8-27B-DFlash2-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 incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf incoai/Qwen3.8-27B-DFlash2-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 incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf incoai/Qwen3.8-27B-DFlash2-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 incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf incoai/Qwen3.8-27B-DFlash2-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 incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M
Use Docker
docker model run hf.co/incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use incoai/Qwen3.8-27B-DFlash2-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "incoai/Qwen3.8-27B-DFlash2-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": "incoai/Qwen3.8-27B-DFlash2-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M
- Ollama
How to use incoai/Qwen3.8-27B-DFlash2-GGUF with Ollama:
ollama run hf.co/incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M
- Unsloth Studio
How to use incoai/Qwen3.8-27B-DFlash2-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 incoai/Qwen3.8-27B-DFlash2-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 incoai/Qwen3.8-27B-DFlash2-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for incoai/Qwen3.8-27B-DFlash2-GGUF to start chatting
- Pi
How to use incoai/Qwen3.8-27B-DFlash2-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf incoai/Qwen3.8-27B-DFlash2-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": "incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use incoai/Qwen3.8-27B-DFlash2-GGUF with Docker Model Runner:
docker model run hf.co/incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M
- Lemonade
How to use incoai/Qwen3.8-27B-DFlash2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.8-27B-DFlash2-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use incoai/Qwen3.8-27B-DFlash2-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 incoai/Qwen3.8-27B-DFlash2-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 incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use incoai/Qwen3.8-27B-DFlash2-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf incoai/Qwen3.8-27B-DFlash2-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 "incoai/Qwen3.8-27B-DFlash2-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"
Isn't it think too much?
I use
GGML_HIP_ALLOC_SPLIT=1 HIP_FORCE_DEV_KERNARG=1 AMD_ENABLE_SDMA=0 HSA_OVERRIDE_GFX_VERSION=10.3.0 nice -n -10 ./llama-server -m ../Qwen3.8-27B-Ridge-3.7bpw.gguf -ngl 99 --host 0.0.0.0 --port 8080 -c 32768 -b 2048 -ub 1024 -ctk q4_0 -ctv q4_0 -fa on --spec-type draft-mtp --spec-draft-n-max 3 --spec-draft-p-min 0.4 --samplers "penalties;dry;top_p;min_p;temperature" --temp 1 --top-p 0.95 --min-p 0.05 --repeat-penalty 1.0 --reasoning-preserve --jinja -np 1 -n -1 -t 6
But it really think a lot. It suppose to write simple snake game π
I also test Qwen3.8-27B-Cold-Fusion-GAIN-V1.1-NM-DAU-NEO-MAX-NEO-MTP-IQ3_M with same harness/ui which did not had this issue.
What am i missing?
The default reasoning effort for this model is xhigh. You might want to adjust that.
@zhijianliu ah okay, sorry i just noticed i typed in wrong repo, it should related with Qwen3.8-27B-Ridge-3.7bpw one. Other models do not think that much in same settings/harness.
Btw thank you, DFlash2 really great! https://github.com/lemonade-sdk/llamacpp-rocm/issues/129 Able to see 50 tps in my old 6800xt but due to tight vram... even 4bit one 1.14GB is a bit large. I think couldn't be smaller right? In the other hand mtp drafter shipped with IQ3_M is around 200mb as i know. Don't wanna drop IQ2 due to quality but having hard time to run both.
Also was checking if i can run mtp drafter in another device and connect both via LAN but due to latency looks not feasible, also another idea was fitting mtp into gpu's high bandwidth area called infinity cache 2tbps but 128mb limited also hardware locked.
1+1 != 2 right? If not, please see https://huggingface.co/HauhauCS/Qwen3.8-27B-Uncensored-HauhauCS-Aggressive-MTP-GGUF/discussions/19 and its patch
Just got 72tps max and 50 avg
Final response does not depend on draft model, it's entirely dependent on the main model, so your issue does not relate to this draft model.
Also, just so you notice: your --spec-type is set to "draft-mtp", not "draft-dflash". So you are not even using the correct draft mode. I suggest you understand the launch params for llama.cpp before arriving at conclusions.
@zxbc2023 yea, main post here was not related. I used dflash got 50, all history available https://github.com/lemonade-sdk/llamacpp-rocm/issues/129#issuecomment-5337491951
Sorry for confusion

