Downloads · 30 days
706
19% of all-time downloads
OptimizeLLM/Qwen3.8-27B-heretic-MTP-FP8
Qwen3.8-27B-heretic-MTP-FP8 is a image-text-to-text model from OptimizeLLM. 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.
An abliterated build of Qwen/Qwen3.8-27B, quantized to FP8, with MTP speculative decoding working and the vision tower kept in BF16.
Downloads · 30 days
706
19% of all-time downloads
All-time downloads
3.7K
Public
Parameters
26.9B
31.3 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors31.2 GB · 100%
How the weights are stored.
F8_E4M324.3B · 88%
From the Hugging Face model README
An abliterated build of Qwen/Qwen3.8-27B, quantized to FP8, with MTP speculative decoding working and the vision tower kept in BF16.
lm_head, embed_tokens, linear-attention input projections.mtp.* tensors are BF16, taken from official Qwen3.8-27B.Fits on one 96GB card with room for a large KV cache. Image and video input both work.
This model has had its refusal reflex removed. On a 100-prompt harmful-behaviors set (reviewed manually) it produces one refusal out of 99 for the base model. It answers questions the base model declines, including technical security topics, and it does not open answers with a moral preface before getting to the point.
It is non-refusing, not neutral. Directional ablation removes the tendency to decline. It does not remove a viewpoint the base model was trained to hold. On a politically sensitive prompt where the base model leans a certain way, this model will engage with the topic rather than refuse, but it can still reflect that lean rather than argue against it.
You are responsible for what you do with it.
vllm serve OptimizeLLM/Qwen3.8-27B-heretic-MTP-FP8 \
--max-num-seqs 32 \
--reasoning-parser qwen3 \
--reasoning-config '{}' \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder \
--enable-prefix-caching \
--speculative-config '{"method":"mtp","num_speculative_tokens":4}'
--max-num-seqs 32 is required. vLLM's default of 1024 exceeds the available Mamba cache blocks on this hybrid architecture and the engine will not start.
Single RTX PRO 6000 Blackwell, vLLM 0.26, MTP=4, thinking off:
| Metric | Value |
|---|---|
| Single-stream generation | ~122 tok/s |
| MTP acceptance rate | 0.68 |
| Weights on GPU | ~30GB |
Acceptance varies with workload. That figure is conversational and technical traffic.
This is what we run, not a suggested starting point.
num_speculative_tokens: 4. Later positions accept less, so 2 or 3 looks better on paper. 4 has been faster for us. It is one flag, test it against your own traffic.--enable-prefix-caching. How much this buys depends on your traffic. A stable system prompt with short turns on top caches well. Anything that varies near the front of the prompt, like a timestamp, invalidates everything after it.--reasoning-parser qwen3 with --reasoning-config '{}' for thinking control. thinking_token_budget works and is worth capping. Uncapped, the model sometimes thinks at length before an easy answer.--tool-call-parser qwen3_coder. Clean tool-call JSON, including against large tool schemas.Two things to know. Qwen3.8's chat template injects a reasoning_effort system line that defaults to the most expensive setting. Pass enable_thinking=false for latency-sensitive turns. And system messages are only accepted at position 0. A mid-conversation system turn fails with a template error, so merge runtime context into a user message.
The reproduce/ folder holds the HERETIC config, the seed parameters, and the local patches used to produce this model.
Abliteration was done with HERETIC 1.4.0 plus local patches, because the stock tool cannot express the recipe this model family responds to:
layer_index % 4, matching the 3-linear-plus-1-full attention block. A single smooth curve over depth cannot express it.Quantization was done with llm-compressor, FP8_BLOCK preset, data-free, about 30 minutes on CPU. Four things this checkpoint does that a plain oneshot() run will not:
CUDA_VISIBLE_DEVICES="". The data-free pipeline dispatches to visible GPUs and will OOM a card that is already busy.visual.* tensors and flattening the config. Splice them back and restore the multimodal config with quantization_config grafted in.mtp.* in BF16 from official Qwen3.8-27B.re: patterns, including mtp.*. vLLM fuses in_proj_a and in_proj_b into in_proj_ba, so a literal ignore list misses the fused gate. And mtp.* must be in the ignore list, or vLLM treats the BF16 MTP head as if it were quantized and speculative decoding silently accepts nothing. Both cost a debugging round. Check acceptance with vllm:spec_decode_num_accepted_tokens_total before trusting the flag.Then check the index against the shards: 1599 tensors, no orphans either way.
trohrbaugh/Qwen3.8-27B-heretic-ara uses ARA, an arbitrary-rank method, and reports zero refusals on its scorer at KL 0.053. Scored on the marker list validated here, that model reads as more residual refusal than the number suggests, because refusal markers are family-specific and two good tools rarely agree unless both models are run through one instrument. This model reaches fewer residual refusals on that shared scorer, at similar KL. ARA is the more surgical method and worth a look- more testing required!
Inherits the base Qwen3.8-27B license.
Apache-2.0.