Downloads · 30 days
22.4K
13% of all-time downloads
barrydeen/Qwen3.8-27B-AWQ-4bit
Qwen3.8-27B-AWQ-4bit is a image-text-to-text model from barrydeen. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
AWQ W4A16 quantization of Qwen/Qwen3.8-27B, produced with llm-compressor in compressed-tensors pack-quantized format — the best-optimised Marlin path on Ampere (SM 8.6).
Downloads · 30 days
22.4K
13% of all-time downloads
All-time downloads
169K
Public
Parameters
11.1B
27.8 GB on disk
Likes
13
Public
Click a slice to open those files.
.safetensors27.7 GB · 100%
How the weights are stored.
I3218.8B · 68%
From the Hugging Face model README
AWQ W4A16 quantization of Qwen/Qwen3.8-27B,
produced with llm-compressor in
compressed-tensors pack-quantized format — the best-optimised Marlin path on Ampere (SM 8.6).
Built for 2× RTX 3090 running vLLM, but nothing here is 3090-specific.
| Size | 27.8 GB (from 55.6 GB BF16) |
| Format | compressed-tensors / pack-quantized |
| Scheme | W4A16 asymmetric, group size 128 |
| Quantized modules | 256 Linear layers |
| Vision tower | preserved, BF16 |
| Gated DeltaNet | preserved, BF16 |
| MTP head | preserved, BF16 |
| Architecture string | Qwen3_5ForConditionalGeneration |
Qwen3.8-27B is a hybrid model. Only 16 of its 64 decoder layers use full attention; the
other 48 use Gated DeltaNet (linear_attn.*). Those DeltaNet projections are extremely
sensitive to quantization, so they are left at full BF16 precision here, along with the vision
tower and the multi-token-prediction head.
That means only 256 Linear modules are quantized — 16 layers × 4 attention projections plus 64 layers × 3 MLP projections — rather than the ~448 you would get by assuming a uniform architecture. Keeping 48 layers of DeltaNet in BF16 costs roughly 7 GB versus builds that quantize everything, and that is the entire difference in file size.
Everything protected here matches the exclusion set of the official FP8 release's
modules_to_not_convert.
vllm serve barrydeen/Qwen3.8-27B-AWQ-4bit \
--trust-remote-code \
--tensor-parallel-size 2 \
--max-model-len 131072 \
--gpu-memory-utilization 0.91 \
--enable-prefix-caching \
--enable-auto-tool-choice \
--tool-call-parser qwen3_xml \
--reasoning-parser qwen3 \
--speculative-config '{"method":"mtp","num_speculative_tokens":3}'
Two things worth knowing:
SupportsPP, and startup fails with
NotImplementedError: Pipeline parallelism is not supported for this model.
Without MTP, --pipeline-parallel-size 2 is fine.VLLM_USE_FLASHINFER_SAMPLER=0. FlashInfer's sampler
JIT-compiles kernels and will fail with Could not find nvcc.from transformers import AutoModelForImageTextToText, AutoProcessor
model = AutoModelForImageTextToText.from_pretrained(
"barrydeen/Qwen3.8-27B-AWQ-4bit", device_map="auto", trust_remote_code=True,
)
processor = AutoProcessor.from_pretrained(
"barrydeen/Qwen3.8-27B-AWQ-4bit", trust_remote_code=True,
)
2× RTX 3090, vLLM 0.26.0, TP=2, MTP speculative decoding with 3 draft tokens:
| Metric | Value |
|---|---|
| Generation | 85–95 tok/s |
| MTP acceptance | 67.1% |
| Tokens per forward step | 3.01 |
| KV cache @ 131k context | 178,667 tokens |
Speculative acceptance by draft position: 85% / 69% / 47%.
Qwen/Qwen3.8-27B BF16 — not re-quantized from the FP8 release.W4A16_ASYM, group size 128.HuggingFaceH4/ultrachat_200k
(train_sft), chat-template formatted, max_seq_length=1024.sequential_targets=["Qwen3_5DecoderLayer"]), so each layer is calibrated against the actual
quantized output of the layers before it.Excluded from quantization: linear_attn.* (Gated DeltaNet), the full visual.* tower,
mtp.*, lm_head, embed_tokens, all norms, and the MoE gates.
Apache 2.0, inherited from the base model.