Instructions to use AtomicChat/Qwen3.5-9B-DFlash-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 AtomicChat/Qwen3.5-9B-DFlash-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 AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
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 AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
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 AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
Use Docker
docker model run hf.co/AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
- LM Studio
- Jan
- vLLM
How to use AtomicChat/Qwen3.5-9B-DFlash-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AtomicChat/Qwen3.5-9B-DFlash-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": "AtomicChat/Qwen3.5-9B-DFlash-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
- Ollama
How to use AtomicChat/Qwen3.5-9B-DFlash-GGUF with Ollama:
ollama run hf.co/AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
- Unsloth Studio
How to use AtomicChat/Qwen3.5-9B-DFlash-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 AtomicChat/Qwen3.5-9B-DFlash-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 AtomicChat/Qwen3.5-9B-DFlash-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for AtomicChat/Qwen3.5-9B-DFlash-GGUF to start chatting
- Pi
How to use AtomicChat/Qwen3.5-9B-DFlash-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
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": "AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use AtomicChat/Qwen3.5-9B-DFlash-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
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 "AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0" \ --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"
- Docker Model Runner
How to use AtomicChat/Qwen3.5-9B-DFlash-GGUF with Docker Model Runner:
docker model run hf.co/AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
- Lemonade
How to use AtomicChat/Qwen3.5-9B-DFlash-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
Run and chat with the model
lemonade run user.Qwen3.5-9B-DFlash-GGUF-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use AtomicChat/Qwen3.5-9B-DFlash-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 AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
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 AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0
Run Hermes
hermes
- Atomic Chat
forge: regenerate the model card
Browse files
README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
| 3 |
base_model:
|
| 4 |
- z-lab/Qwen3.5-9B-DFlash
|
| 5 |
base_model_relation: quantized
|
| 6 |
-
quantized_by:
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
library_name: gguf
|
| 9 |
tags:
|
| 10 |
- atomic-chat
|
| 11 |
-
-
|
| 12 |
-
-
|
| 13 |
-
- draft-model
|
| 14 |
-
- qwen
|
| 15 |
- gguf
|
| 16 |
- llama.cpp
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
<center>
|
|
@@ -26,49 +26,89 @@ tags:
|
|
| 26 |
|
| 27 |
<br/>
|
| 28 |
|
| 29 |
-
<img src="https://huggingface.co/AtomicChat/Qwen3.5-9B-DFlash-GGUF/resolve/main/
|
| 30 |
|
| 31 |
<div style="display:flex; justify-content:center; gap:0.5em;">
|
| 32 |
-
<a href="https://huggingface.co/z-lab/Qwen3.5-9B-DFlash"><strong>
|
| 33 |
</div>
|
| 34 |
</center>
|
| 35 |
|
| 36 |
-
**Qwen3.5 9B
|
| 37 |
|
| 38 |
-
##
|
| 39 |
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
> [!NOTE]
|
| 43 |
-
> These GGUFs are **
|
| 44 |
|
| 45 |
-
|
|
|
|
| 46 |
|
| 47 |
-
|
| 48 |
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
| 58 |
|
| 59 |
## Choosing a quant
|
| 60 |
|
| 61 |
| Quant | Size | Notes |
|
| 62 |
|---|---|---|
|
| 63 |
-
| **`Q8_0`** | 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
-
|
|
|
|
|
|
|
| 66 |
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
-
|
| 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
## License
|
| 73 |
|
| 74 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
thumbnail: https://huggingface.co/AtomicChat/Qwen3.5-9B-DFlash-GGUF/resolve/main/hero.png
|
| 4 |
base_model:
|
| 5 |
- z-lab/Qwen3.5-9B-DFlash
|
| 6 |
base_model_relation: quantized
|
| 7 |
+
quantized_by: AtomicChat
|
| 8 |
pipeline_tag: text-generation
|
| 9 |
library_name: gguf
|
| 10 |
tags:
|
| 11 |
- atomic-chat
|
| 12 |
+
- qwen3.5
|
| 13 |
+
- z-lab
|
|
|
|
|
|
|
| 14 |
- gguf
|
| 15 |
- llama.cpp
|
| 16 |
+
- quantized
|
| 17 |
---
|
| 18 |
|
| 19 |
<center>
|
|
|
|
| 26 |
|
| 27 |
<br/>
|
| 28 |
|
| 29 |
+
<img src="https://huggingface.co/AtomicChat/Qwen3.5-9B-DFlash-GGUF/resolve/main/hero.png" alt="Qwen3.5 9B Dflash" style="width:100%; max-width:100%; height:auto; margin-bottom:0.6em;"/>
|
| 30 |
|
| 31 |
<div style="display:flex; justify-content:center; gap:0.5em;">
|
| 32 |
+
<a href="https://huggingface.co/z-lab/Qwen3.5-9B-DFlash"><strong>Base model: z-lab/Qwen3.5-9B-DFlash</strong></a>
|
| 33 |
</div>
|
| 34 |
</center>
|
| 35 |
|
| 36 |
+
**Qwen3.5 9B Dflash**, self-quantized to GGUF by [Atomic Chat](https://atomic.chat). Built straight from Z Lab's original weights with a per-tensor importance matrix, so this is not a repack of somebody else's files. Runs fully offline.
|
| 37 |
|
| 38 |
+
## Highlights
|
| 39 |
|
| 40 |
+
- **1.3B parameters**: the weights this repo quantizes.
|
| 41 |
+
- **Context length**: 262,144 tokens (256K), as published by Z Lab.
|
| 42 |
+
- **6 layers**: Dense decoder, hybrid sliding-window (4096) and global attention.
|
| 43 |
+
- **Full imatrix ladder**: every quant is calibrated with an importance matrix.
|
| 44 |
|
| 45 |
> [!NOTE]
|
| 46 |
+
> These GGUFs are **self-quantized from the original weights**, not a repack. The importance matrix keeps low-bit quants closer to the full-precision model.
|
| 47 |
|
| 48 |
+
> [!IMPORTANT]
|
| 49 |
+
> Always pass `--jinja` so the **Qwen3.5 9B Dflash chat template** is applied. Without it the model can emit malformed turns.
|
| 50 |
|
| 51 |
+
## Model Overview
|
| 52 |
|
| 53 |
+
| Property | Value |
|
| 54 |
+
|---|---|
|
| 55 |
+
| Base model | `z-lab/Qwen3.5-9B-DFlash` |
|
| 56 |
+
| Parameters | 1.3B |
|
| 57 |
+
| Layers | 6 |
|
| 58 |
+
| Sliding window | 4096 tokens |
|
| 59 |
+
| Context length | 262,144 tokens (256K) |
|
| 60 |
+
| Vocabulary | 248,320 |
|
| 61 |
+
| Modalities | Text |
|
| 62 |
+
| Architecture | Dense decoder, hybrid sliding-window (4096) and global attention, 32 attention heads over 8 KV heads, `DFlashDraftModel` |
|
| 63 |
+
| This repo | GGUF quants (imatrix). Quants: `Q8_0` |
|
| 64 |
|
| 65 |
## Choosing a quant
|
| 66 |
|
| 67 |
| Quant | Size | Notes |
|
| 68 |
|---|---|---|
|
| 69 |
+
| **`Q8_0`** | 1.4 GB | **Effectively lossless, reference quality.** |
|
| 70 |
+
|
| 71 |
+
> [!TIP]
|
| 72 |
+
> Pick the largest file that fits your (V)RAM with room for context. `Q8_0` is the sweet spot for most setups; `Q6_K` or `Q8_0` for maximum fidelity.
|
| 73 |
+
|
| 74 |
+
## Get started
|
| 75 |
+
|
| 76 |
+
Run Qwen3.5 9B Dflash locally with:
|
| 77 |
+
|
| 78 |
+
- **[Atomic Chat](https://atomic.chat):** the easiest path. Open the app, search `AtomicChat/Qwen3.5-9B-DFlash-GGUF`, pick a quant, hit **Use this model**.
|
| 79 |
+
- **llama.cpp:** `llama-server -hf AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0 --jinja -c 8192`
|
| 80 |
+
- **Ollama:** `ollama run hf.co/AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0`
|
| 81 |
+
- **LM Studio / Jan:** search the repo id, download any quant.
|
| 82 |
+
|
| 83 |
+
## Best practices
|
| 84 |
|
| 85 |
+
| Parameter | Value |
|
| 86 |
+
|---|---|
|
| 87 |
+
| sampling defaults | not stated |
|
| 88 |
|
| 89 |
+
The base model card does not state sampling defaults.
|
| 90 |
+
|
| 91 |
+
## Run in llama.cpp
|
| 92 |
+
|
| 93 |
+
```bash
|
| 94 |
+
git clone https://github.com/ggml-org/llama.cpp
|
| 95 |
+
cmake llama.cpp -B llama.cpp/build -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
|
| 96 |
+
cmake --build llama.cpp/build --config Release -j --target llama-cli llama-server
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
+
```bash
|
| 100 |
+
./llama.cpp/build/bin/llama-server \
|
| 101 |
+
-hf AtomicChat/Qwen3.5-9B-DFlash-GGUF:Q8_0 \
|
| 102 |
+
--jinja -ngl 99 -c 8192 -fa on
|
| 103 |
+
```
|
| 104 |
|
| 105 |
+
## How these were made
|
| 106 |
|
| 107 |
+
1. Download `z-lab/Qwen3.5-9B-DFlash` (original weights).
|
| 108 |
+
2. Convert to f16 GGUF with [llama.cpp](https://github.com/ggml-org/llama.cpp).
|
| 109 |
+
3. Build an importance matrix over our calibration corpus.
|
| 110 |
+
4. Quantize the ladder with `--imatrix`.
|
| 111 |
|
| 112 |
## License
|
| 113 |
|
| 114 |
+
Original model by Z Lab, released under the Apache 2.0 license. Quantized by Atomic Chat.
|