Views
No views yet

Why is this labeled "2-bit" on Hugging Face? Hugging Face automatically buckets this repository under its "2-bit" filter because the base ftype identifier isQ2_K(~2.7 bits per weight on non-critical MLP blocks).However, this is NOT a degraded uniform 2-bit model. Standard uniform 2-bit quants (IQ2_Mat 10.6 GB) compress all 64 layers equally, resulting in severe degradation of reasoning and vocabulary.This build (UD-Q2_K_XLat 12.1 GB on disk) injects 1.5 GB of extra high-precision tensor data into the most critical neural paths, delivering near-4-bit reasoning accuracy with the memory footprint of a 2-bit model.
| # | Precision | Target Layers & Tensors | Purpose |
|---|---|---|---|
| 1 | Q8_0 / F32 | Input embeddings (token_embd), Output logits, all 17 Layer-64 NextN draft heads | Zero vocabulary loss and intact MTP speculative speed |
| 2 | Q4_K | Core attention projections (Layers 18 to 28: attn_k, attn_v, attn_o) | Full 4-bit reasoning fidelity on deep logic layers |
| 3 | Q3_K | Intermediate self-attention scoring matrices | Optimal balance between memory and attention scoring |
| 4 | IQ2_M | Bulk feed-forward network (FFN/MLP) blocks | Maximum compression on noise-resilient weights |
| Feature | Standard IQ2_M | Standard Q4_K_M | This Build: UD3-Q2_K_XL |
|---|---|---|---|
| File Size on Disk | 10.6 GB | 16.8 GB | 12.1 GB (11.23 GB raw) |
| Quantization Method | Uniform 2-bit | Uniform 4-bit | Dynamic Layer-Importance Mix |
| Token Vocabulary | Degraded | Baseline | Max Precision (Q8_0 / F32) |
| MTP Draft Head | Missing / Fused | Missing / Fused | Pinned Q8_0 (Layer 64 Verified) |
| 16GB VRAM + 128K Context | Fits (quality loss) | Out of Memory | Fits Comfortably (~14.2 GB) |
| Reasoning Quality | Degraded (+0.70 PPL) | Baseline (+0.02 PPL) | Near-4-Bit Quality (~0.12 PPL) |
C:, D:, or G:) has enough free space.powershell, and press Enter.Get-Volume | Select-Object DriveLetter, FileSystemLabel, @{Name="FreeSpaceGB";Expression={[math]::round($_.SizeRemaining/1GB,2)}}powershell, and press Enter.C: drive, run:
mkdir C:\QwenModel; cd C:\QwenModelD:, run D:, then mkdir QwenModel; cd QwenModel).1# 1. Install the official Hugging Face downloader
2pip install -U huggingface_hub
3
4# 2. Download model files
5huggingface-cli download DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf --local-dir .
6huggingface-cli download DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF mmproj-BF16.gguf --local-dir .QwenModel folder, create a text file named docker-compose.yml.C:/QwenModel if using drive D: or G:):1services:
2 qwen38-server:
3 image: ghcr.io/ggml-org/llama.cpp:server-cuda
4 container_name: qwen38-server
5 restart: unless-stopped
6 ports:
7 - "9999:9999"
8 volumes:
9 - "C:/QwenModel:/models:ro"
10 command: >
11 --model "/models/Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf"
12 --mmproj "/models/mmproj-BF16.gguf"
13 --n-gpu-layers 99
14 --ctx-size 131072
15 --cache-type-k q8_0
16 --cache-type-v q4_0
17 --temp 1.0
18 --top-p 0.95
19 --top-k 20
20 --min-p 0.05
21 --dry-multiplier 0.6
22 --dry-base 1.75
23 --dry-allowed-length 2
24 --xtc-probability 0.1
25 --flash-attn on
26 --spec-type draft-mtp
27 --spec-draft-n-max 2
28 -b 4096
29 -ub 1024
30 --cont-batching
31 --parallel 1
32 --reasoning-preserve
33 --reasoning-budget 1024
34 --metrics
35 --host 0.0.0.0
36 --port 9999
37 deploy:
38 resources:
39 reservations:
40 devices:
41 - driver: nvidia
42 count: all
43 capabilities: [gpu]💡 How to Change the Port in Docker: If port 9999 is already in use by another app, you can change it to any port you want (e.g. 8080). Simply update both occurrences in the file:
ports: - "8080:8080"--port 8080
docker compose up -dllama-b*-bin-win-cuda-cu12.4-x64.zip).QwenModel folder.1.\llama-server.exe `
2 -m "Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf" `
3 --mmproj "mmproj-BF16.gguf" `
4 -ngl 99 `
5 -c 131072 `
6 --cache-type-k q8_0 `
7 --cache-type-v q4_0 `
8 --temp 1.0 `
9 --top-p 0.95 `
10 --top-k 20 `
11 --min-p 0.05 `
12 --dry-multiplier 0.6 `
13 --dry-base 1.75 `
14 --dry-allowed-length 2 `
15 --xtc-probability 0.1 `
16 --flash-attn on `
17 --spec-type draft-mtp `
18 --spec-draft-n-max 2 `
19 -b 4096 `
20 -ub 1024 `
21 --cont-batching `
22 --reasoning-preserve `
23 --reasoning-budget 1024 `
24 --port 9999💡 How to Change the Port in Native Mode: Simply change--port 9999to your desired port number (for example--port 8080).
http://localhost:9999<think> tags and generate code!Terminal and press Return.mkdir -p ~/QwenModel && cd ~/QwenModel1curl -L -O https://huggingface.co/DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF/resolve/main/Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf
2curl -L -O https://huggingface.co/DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF/resolve/main/mmproj-BF16.ggufbrew install llama.cpp1llama-server \
2 -m ~/QwenModel/Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf \
3 --mmproj ~/QwenModel/mmproj-BF16.gguf \
4 -ngl 99 \
5 -c 32768 \
6 --temp 1.0 \
7 --top-p 0.95 \
8 --top-k 20 \
9 --min-p 0.05 \
10 --flash-attn on \
11 --spec-type draft-mtp \
12 --spec-draft-n-max 2 \
13 --reasoning-preserve \
14 --reasoning-budget 1024 \
15 --port 9999💡 How to Change the Port on Mac: Change--port 9999in the command above to any port number you prefer (such as--port 8080).
http://localhost:9999df -h /home1mkdir -p ~/QwenModel && cd ~/QwenModel
2
3# Download model weights
4pip install -U huggingface_hub
5huggingface-cli download DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf --local-dir ~/QwenModel
6huggingface-cli download DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF mmproj-BF16.gguf --local-dir ~/QwenModeldocker-compose.yml in ~/QwenModel:1services:
2 qwen38-server:
3 image: ghcr.io/ggml-org/llama.cpp:server-cuda
4 container_name: qwen38-server
5 restart: unless-stopped
6 ports:
7 - "9999:9999"
8 volumes:
9 - "$HOME/QwenModel:/models:ro"
10 command: >
11 --model "/models/Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf"
12 --mmproj "/models/mmproj-BF16.gguf"
13 --n-gpu-layers 99
14 --ctx-size 131072
15 --cache-type-k q8_0
16 --cache-type-v q4_0
17 --temp 1.0
18 --top-p 0.95
19 --top-k 20
20 --min-p 0.05
21 --dry-multiplier 0.6
22 --dry-base 1.75
23 --dry-allowed-length 2
24 --xtc-probability 0.1
25 --flash-attn on
26 --spec-type draft-mtp
27 --spec-draft-n-max 2
28 -b 4096
29 -ub 1024
30 --cont-batching
31 --parallel 1
32 --reasoning-preserve
33 --reasoning-budget 1024
34 --metrics
35 --host 0.0.0.0
36 --port 9999
37 deploy:
38 resources:
39 reservations:
40 devices:
41 - driver: nvidia
42 count: all
43 capabilities: [gpu]💡 How to Change the Port on Linux: Indocker-compose.yml, changeports: - "9999:9999"and--port 9999to your desired port number.
docker compose up -dhttp://localhost:9999.http://localhost:9999/v1, you can connect your favorite coding editors:http://127.0.0.1:9999/v1local (or leave blank).Qwen3.8-27B-Uncensored131072local.http://localhost:9999/v1.Qwen3.8-27B-Uncensored.settings.json), add a custom endpoint:1{
2 "language_models": {
3 "openai": {
4 "api_url": "http://localhost:9999/v1",
5 "available_models": [
6 {
7 "name": "Qwen3.8-27B-Uncensored",
8 "max_tokens": 131072
9 }
10 ]
11 }
12 }
13}-b 4096 -ub 1024 batch evaluation).q8_0 Keys / q4_0 Values): 2.4 GBJonathanColetti/Qwen3.8-27B-Uncensored) using Heretic orthogonal abliteration at BF16.Qwen/Qwen3.8-27B).