← back to catalog · indexed 2026-08-25 17:02

DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF

DavidrPatton Qwen 27B GGUF second-order 262K ctx
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/DavidrPatton%2FQwen3.8-27B-Uncensored-UD3-GGUF"
Response includes
  • classification m-uncensored
  • files 5
  • hub_downloads_all_time 3,930
  • author_summary 1 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M-U
Primary method

Uncensored (method unknown)

No other method signals detected in this model.
Confidence
LOW
Why this label 3 signals
Weak or ambiguous signals. Best guess based on catalog patterns; treat as tentative and check the evidence below.
  • 'uncensored' in name/tags but no 'abliterated' marker
  • method not identifiable from author declaration alone
  • may be DPO fine-tune, prompt engineering, or unknown technique
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · lifetime
7K
1K last 30d - stable
Likes
7
Model age
3mo ago
created 2026-08-25
Downloads over time
Now 6.7K → from 246 ↑ 2,616%
02.4K4.9K7.3K 246 on Aug 26 6.7K on Nov 25 AugSepOctNov
Aug 26 → Nov 25 · 92 snapshots · spans 91 days

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Languages
en zh
Quantizations
Q2_K
Tags
llama.cpp gguf unsloth dynamic-3.0 ud3 qwen uncensored mtp speculative-decoding 16gb-vram text-generation conversational

Related

Total size
12.1 GB
Files
5
Quantizations
1
Indexed by us
2026-08-25 17:02
Last updated on HF
2026-08-26 03:45

Files by quantization

Q2_K 1 file 11.2 GB
Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf 11.2 GB 84a73c07 download
Vision projector (mmproj) · attach to a main model 1 file 888 MB
mmproj-BF16.gguf 888 MB 83ee4f4f download
Auxiliary files 3 files 1.51 MB
banner.png 1.49 MB ed69dec2 download
README.md 14.3 KB 6b1cd65e download
.gitattributes 1.65 KB bdec571f download

README latest version on record, committed 2026-08-26


language:

  • en
  • zh
    license: apache-2.0
    library_name: llama.cpp
    base_model:
  • JonathanColetti/Qwen3.8-27B-Uncensored
  • Qwen/Qwen3.8-27B
    base_model_relation: quantized
    pipeline_tag: text-generation
    tags:
  • unsloth
  • dynamic-3.0
  • ud3
  • gguf
  • qwen
  • uncensored
  • mtp
  • speculative-decoding
  • 16gb-vram
  • llama.cpp
  • text-generation
  • conversational

Qwen3.8-27B Uncensored UD3 GGUF

Qwen3.8-27B-Uncensored (Unsloth Dynamic 3.0 UD3-GGUF)

An advanced, hybrid mixed-precision Unsloth Dynamic 3.0 (UD3) quantization of Qwen3.8-27B-Uncensored featuring a verified, pinned Q8_0 Multi-Token Prediction (MTP) draft head (Layer 64).

Engineered specifically to fit a complete 27-Billion parameter uncensored reasoning model plus a massive 128K context window directly inside consumer 16GB VRAM GPUs (such as the NVIDIA RTX 4070 Ti SUPER, RTX 4080, RTX 3090, and RTX 4090) as well as Apple Silicon Macs and Linux workstations.


Demystifying the "2-Bit" Label: The Mixed-Precision Architecture

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 is Q2_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_M at 10.6 GB) compress all 64 layers equally, resulting in severe degradation of reasoning and vocabulary.

This build (UD-Q2_K_XL at 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 Allocation Breakdown

# 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

Key Advantages Over Standard Quantizations

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)

🚀 Beginner-Friendly Setup Guides (Pick Your Operating System)

Click on your operating system below for an exact, step-by-step walkthrough.

🪟 Windows Setup Guide (Click to open)

Follow these steps on Windows 10 or Windows 11:

Step 1: Check Your Hard Drives & Free Space

Before downloading the 12.1 GB model, make sure you choose a drive with at least 20 GB of free space.

  • Option 1 (Visual / File Explorer):
    1. On your keyboard, press the Windows Key + E to open File Explorer.
    2. Click This PC on the left menu.
    3. Look under Devices and drives to find which drive (e.g. C:, D:, or G:) has enough free space.
  • Option 2 (PowerShell Command):
    1. Press Windows Key + R, type powershell, and press Enter.
    2. Copy and paste this command and press Enter:
      Get-Volume | Select-Object DriveLetter, FileSystemLabel, @{Name="FreeSpaceGB";Expression={[math]::round($_.SizeRemaining/1GB,2)}}
      
    3. Pick a drive letter that has at least 20 GB free.

Step 2: Open PowerShell & Create Your Folder

  1. Press the Windows Key + R, type powershell, and press Enter.
  2. If you are using your C: drive, run:
    mkdir C:\QwenModel; cd C:\QwenModel
    
  3. (If you chose a different drive like D:, run D:, then mkdir QwenModel; cd QwenModel).

Step 3: Download the Model Files

Copy and paste these commands into PowerShell to download the model directly into your folder:

# 1. Install the official Hugging Face downloader
pip install -U huggingface_hub

# 2. Download model files
huggingface-cli download DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf --local-dir .
huggingface-cli download DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF mmproj-BF16.gguf --local-dir .

Step 4: Run the Server (Choose Option A or Option B)

Option A: 1-Click Launch with Docker (Recommended)

If you have Docker Desktop installed:

  1. In your QwenModel folder, create a text file named docker-compose.yml.
  2. Paste the following text into the file and save it (adjust C:/QwenModel if using drive D: or G:):
services:
  qwen38-server:
    image: ghcr.io/ggml-org/llama.cpp:server-cuda
    container_name: qwen38-server
    restart: unless-stopped
    ports:
      - "9999:9999"
    volumes:
      - "C:/QwenModel:/models:ro"
    command: >
      --model "/models/Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf"
      --mmproj "/models/mmproj-BF16.gguf"
      --n-gpu-layers 99
      --ctx-size 131072
      --cache-type-k q8_0
      --cache-type-v q4_0
      --temp 1.0
      --top-p 0.95
      --top-k 20
      --min-p 0.05
      --dry-multiplier 0.6
      --dry-base 1.75
      --dry-allowed-length 2
      --xtc-probability 0.1
      --flash-attn on
      --spec-type draft-mtp
      --spec-draft-n-max 2
      -b 4096
      -ub 1024
      --cont-batching
      --parallel 1
      --reasoning-preserve
      --reasoning-budget 1024
      --metrics
      --host 0.0.0.0
      --port 9999
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              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:

  1. ports: - "8080:8080"
  2. --port 8080
  1. In PowerShell inside your folder, start the server:
docker compose up -d

Option B: Run Directly on Windows (No Docker)

  1. Download the pre-built Windows CUDA ZIP from llama.cpp Releases (look for llama-b*-bin-win-cuda-cu12.4-x64.zip).
  2. Extract the files into your QwenModel folder.
  3. In PowerShell, run:
.\llama-server.exe `
  -m "Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf" `
  --mmproj "mmproj-BF16.gguf" `
  -ngl 99 `
  -c 131072 `
  --cache-type-k q8_0 `
  --cache-type-v q4_0 `
  --temp 1.0 `
  --top-p 0.95 `
  --top-k 20 `
  --min-p 0.05 `
  --dry-multiplier 0.6 `
  --dry-base 1.75 `
  --dry-allowed-length 2 `
  --xtc-probability 0.1 `
  --flash-attn on `
  --spec-type draft-mtp `
  --spec-draft-n-max 2 `
  -b 4096 `
  -ub 1024 `
  --cont-batching `
  --reasoning-preserve `
  --reasoning-budget 1024 `
  --port 9999

💡 How to Change the Port in Native Mode:
Simply change --port 9999 to your desired port number (for example --port 8080).


Step 5: Start Chatting!

Open your web browser (Chrome, Edge, Firefox) and go to:
👉 http://localhost:9999

You will see the interactive chat window. Type a message and watch the model reason inside <think> tags and generate code!

🍎 macOS Setup Guide (Apple Silicon M1 / M2 / M3 / M4) (Click to open)

Follow these steps on Apple Silicon Macs (16GB+ Unified Memory recommended):

Step 1: Check Available Storage

  1. Click the Apple Menu () at the top left -> System Settings -> General -> Storage.
  2. Make sure you have at least 20 GB of free space available.

Step 2: Open Terminal & Create Your Folder

  1. On your Mac keyboard, press Command (⌘) + Space to open Spotlight.
  2. Type Terminal and press Return.
  3. Create your folder and enter it:
    mkdir -p ~/QwenModel && cd ~/QwenModel
    

Step 3: Download the Model Files

Run these commands in Terminal:

curl -L -O https://huggingface.co/DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF/resolve/main/Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf
curl -L -O https://huggingface.co/DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF/resolve/main/mmproj-BF16.gguf

Step 4: Install and Run llama.cpp with Apple Metal GPU

  1. Install llama.cpp using Homebrew:
brew install llama.cpp
  1. Start the server with full Apple Metal GPU acceleration on port 9999:
llama-server \
  -m ~/QwenModel/Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf \
  --mmproj ~/QwenModel/mmproj-BF16.gguf \
  -ngl 99 \
  -c 32768 \
  --temp 1.0 \
  --top-p 0.95 \
  --top-k 20 \
  --min-p 0.05 \
  --flash-attn on \
  --spec-type draft-mtp \
  --spec-draft-n-max 2 \
  --reasoning-preserve \
  --reasoning-budget 1024 \
  --port 9999

💡 How to Change the Port on Mac:
Change --port 9999 in the command above to any port number you prefer (such as --port 8080).

Step 5: Start Chatting!

Open Safari or Chrome and navigate to:
👉 http://localhost:9999

🐧 Linux Setup Guide (Ubuntu / Debian / Arch) (Click to open)

Follow these steps on Linux with an NVIDIA GPU:

Step 1: Open Terminal & Check Disk Space

  1. Press Ctrl + Alt + T to open the terminal.
  2. Check your free disk space by typing:
    df -h /home
    
    Make sure you have at least 20 GB available.

Step 2: Create Folder & Download Files

mkdir -p ~/QwenModel && cd ~/QwenModel

# Download model weights
pip install -U huggingface_hub
huggingface-cli download DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf --local-dir ~/QwenModel
huggingface-cli download DavidrPatton/Qwen3.8-27B-Uncensored-UD3-GGUF mmproj-BF16.gguf --local-dir ~/QwenModel

Step 3: Run with Docker Compose on Port 9999

  1. Create docker-compose.yml in ~/QwenModel:
services:
  qwen38-server:
    image: ghcr.io/ggml-org/llama.cpp:server-cuda
    container_name: qwen38-server
    restart: unless-stopped
    ports:
      - "9999:9999"
    volumes:
      - "$HOME/QwenModel:/models:ro"
    command: >
      --model "/models/Qwen3.8-27B-Uncensored-UD-Q2_K_XL.gguf"
      --mmproj "/models/mmproj-BF16.gguf"
      --n-gpu-layers 99
      --ctx-size 131072
      --cache-type-k q8_0
      --cache-type-v q4_0
      --temp 1.0
      --top-p 0.95
      --top-k 20
      --min-p 0.05
      --dry-multiplier 0.6
      --dry-base 1.75
      --dry-allowed-length 2
      --xtc-probability 0.1
      --flash-attn on
      --spec-type draft-mtp
      --spec-draft-n-max 2
      -b 4096
      -ub 1024
      --cont-batching
      --parallel 1
      --reasoning-preserve
      --reasoning-budget 1024
      --metrics
      --host 0.0.0.0
      --port 9999
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]

💡 How to Change the Port on Linux:
In docker-compose.yml, change ports: - "9999:9999" and --port 9999 to your desired port number.

  1. Start the container:
docker compose up -d

Step 4: Start Chatting!

Open your browser and navigate to http://localhost:9999.

🔌 Connect to AI Coding Editors (ZCode, Cursor, Zed) (Click to open)

Because the server provides an OpenAI-compatible API endpoint at http://localhost:9999/v1, you can connect your favorite coding editors:

In ZCode

  1. Open ZCode Settings -> Add Custom Model.
  2. Provider: OpenAI-compatible.
  3. Base URL: http://127.0.0.1:9999/v1
  4. API Key: local (or leave blank).
  5. Model Name: Qwen3.8-27B-Uncensored
  6. Context Window: 131072

In Cursor

  1. Open Cursor Settings -> Models.
  2. Under OpenAI API Key, type: local.
  3. Under Base URL, type: http://localhost:9999/v1.
  4. Add Model Name: Qwen3.8-27B-Uncensored.

In Zed

  1. In Zed Settings (settings.json), add a custom endpoint:
{
  "language_models": {
    "openai": {
      "api_url": "http://localhost:9999/v1",
      "available_models": [
        {
          "name": "Qwen3.8-27B-Uncensored",
          "max_tokens": 131072
        }
      ]
    }
  }
}

📊 Performance Benchmarks (Tested on RTX 4070 Ti SUPER 16GB)

  • Generation Speed: ~58 to 64 tokens/second (with MTP speculative decoding enabled).
  • Prompt Prefill Speed: 2,500+ tokens/second (-b 4096 -ub 1024 batch evaluation).
  • VRAM Allocation:
    • Base Model Weights: 11.8 GB
    • 128K Context Buffer (q8_0 Keys / q4_0 Values): 2.4 GB
    • Total GPU VRAM Footprint: ~14.2 GB (Cleanly fits inside 16GB VRAM with zero PCIe swapping).

🙏 Credits & Heritage

  • Base Uncensored Weights: Created by Jonathan Coletti (JonathanColetti/Qwen3.8-27B-Uncensored) using Heretic orthogonal abliteration at BF16.
  • Base Architecture: Developed by the Qwen Team / Alibaba Cloud (Qwen/Qwen3.8-27B).
  • Dynamic 3.0 Quantization: Layer importance mapping, MTP draft pinning, and local quantization build engineered by David Patton.

README history 11 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-08-26 Upload README.md with huggingface_hub 51b170f 13.9 KB
    Loading...
  2. 2026-08-25 Switch default port to 9999, embed drive checking directly into OS tutorials,... b62a7fe 13.6 KB
    Loading...
  3. 2026-08-25 Add dedicated guide on checking drives and switching drive letters via GUI an... da99c71 13.8 KB
    Loading...
  4. 2026-08-25 Add complete OS-specific beginner step-by-step tutorial with keyboard shortcuts bb198ff 12.1 KB
    Loading...
  5. 2026-08-25 Add interactive collapsible step-by-step tutorial with Docker and Native setup 16e4fe1 8.3 KB
    Loading...
  6. 2026-08-25 Clean numbered rows in precision breakdown table 20cfc11 5.3 KB
    Loading...
  7. 2026-08-25 Remove emojis and Tier labels, add official Hub metadata tags 3a40b84 5.3 KB
    Loading...
  8. 2026-08-25 Replace fixed-width ASCII box with responsive native Markdown table cb4e260 5.3 KB
    Loading...
  9. 2026-08-25 Add user-friendly 4-tier hybrid architecture guide to README b403d51 8.1 KB
    Loading...
  10. 2026-08-25 Update model card with UD3 branding 4c91522 3.3 KB
    Loading...
  11. 2026-08-25 Initial release: Qwen3.8-27B-Uncensored Unsloth Dynamic 3.0 GGUF with MTP 3a81c49 3.3 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration