Views
No views yet
llmcompressor.model_free_ptq. No calibration data was
used and the model was never loaded — the quantizer operates directly on the safetensors.
Architecture, tokenizer, chat template and processor configs are the vendor's, unmodified.| component | precision | size |
|---|---|---|
| language-model linears (64 layers) | int4 g128 | 12.56 GB (64.7%) |
embed_tokens + lm_head (untied) | bfloat16 | 5.09 GB (26.2%) |
vision tower (model.visual) | bfloat16 | 0.92 GB (4.7%) |
MTP speculator head (mtp.*) | bfloat16 | 0.85 GB (4.4%) |
| conv1d kernels, norms, biases | bfloat16 | 0.01 GB |
| total | 19.42 GB |
model.visual.* — vLLM builds multimodal towers with quant_config=None, so a
checkpoint carrying quantized vision weights cannot be loaded.mtp.* — the built-in multi-token-prediction speculator head, loaded through vLLM's
speculative-decoding path rather than the main stack.linear_attn.conv1d — 3-D causal-convolution kernels in the gated-delta-net blocks,
shape (10240, 1, 4). Not Linear layers, and quantizers reject them outright.lm_head + embed_tokens — precision-sensitive, and lm_head is untied here.in_proj_*, out_proj) are quantized; only the
convolution kernels beside them are excluded.1vllm serve GotoAI-Inc/Qwen3.8-27B-W4A16 \
2 --max-model-len 65536 \
3 --enable-auto-tool-choice --tool-call-parser qwen3_xml \
4 --reasoning-parser qwen3--quantization; compressed-tensors is detected from config.json. The int4
W4A16 scheme uses Marlin kernels and runs on compute capability 7.5 and above.reasoning_effort='xhigh', which produces long deliberation.
Both knobs below are template variables, passed through chat_template_kwargs:1{"chat_template_kwargs": {"reasoning_effort": "low"}} // xhigh (default) | medium | low
2{"chat_template_kwargs": {"enable_thinking": false}} // skip thinking entirely--default-chat-template-kwargs '{"reasoning_effort": "low"}'; request-level values still
win. preserve_thinking: false drops earlier turns' thinking from history, which matters
for long multi-turn sessions.--hf-overrides plus VLLM_ALLOW_LONG_MAX_MODEL_LEN=1; that is not configured here, and
RoPE scaling costs quality at short contexts, so enable it only if you need it../llmq.py run --profile qwen3.8-27b1# llmcompressor==0.13.1a20260814, compressed-tensors==0.18.1a20260818,
2# transformers==5.15.1, torch==2.13.0
3from llmcompressor import model_free_ptq
4
5model_free_ptq(
6 model_stub="Qwen/Qwen3.8-27B",
7 save_directory="Qwen3.8-27B-W4A16",
8 scheme="W4A16",
9 ignore=["re:.*visual.*", "re:.*mtp.*", "re:.*\\.conv1d$",
10 "lm_head", "re:.*embed_tokens.*"],
11 device="cuda:0",
12)reasoning_content and clean
multi-step tool calls rather than perplexity: structured emission degrades before fluency
does.LICENSE is included unmodified.
"Qwen" is Alibaba's mark; this repository is not endorsed by or affiliated with Alibaba.