Downloads · 30 days
657
3% of all-time downloads
jpetrina/Qwen3.8-27B-MTP-IQ4_XS-pure-GGUF
Qwen3.8-27B-MTP-IQ4_XS-pure-GGUF is a machine learning model from jpetrina. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This GGUF is basically with identical approach taken by Ununnilium's Qwen3.6-27B-IQ4XS-pure-GGUF but targetting Multi Token Prediction (MTP) variant of Qwen3.8.
Downloads · 30 days
657
3% of all-time downloads
All-time downloads
18.8K
Public
Repo size
29.1 GB
Likes
19
Public
Click a slice to open those files.
.gguf29.1 GB · 100%
From the Hugging Face model README
This GGUF is basically with identical approach taken by Ununnilium's Qwen3.6-27B-IQ4_XS-pure-GGUF but targetting Multi Token Prediction (MTP) variant of Qwen3.8.
Generated with the bartowski's imatrix like this:
buun-llama-quantize --pure --imatrix Qwen3.8-27B-imatrix.gguf \
Qwen3.8-27B-BF16-00001-of-00002.gguf qwen3.8-27b-mtp-IQ4_XS-pure.gguf IQ4_XS $(nproc)
There is a non-pure MTP variant generated like this:
buun-llama-quantize --imatrix Qwen3.8-27B-imatrix.gguf \
--output-tensor-type iq4_xs \
--tensor-type ".*attn.*=iq4_xs" \
--tensor-type "nextn=q8_0" \
Qwen3.8-27B-BF16-00001-of-00002.gguf \
qwen3.8-27b-mtp-IQ4_XS-Q8nextn.gguf \
IQ4_XS $$(nproc)
This variant is not strictly speaking --pure since MTP layer weights are quantized down higher to Q8_0 and not IQ4_XS. In other words:
--- a/qwen3.8-27b-mtp-IQ4_XS-pure.gguf-dump
+++ b/qwen3.8-27b-mtp-IQ4_XS-Q8nextn.gguf-dump
@@ -916,7 +916,7 @@
859: 89128960 | 17408, 5120, 1, 1 | IQ4_XS | blk.64.ffn_down.weight
860: 89128960 | 5120, 17408, 1, 1 | IQ4_XS | blk.64.ffn_gate.weight
861: 89128960 | 5120, 17408, 1, 1 | IQ4_XS | blk.64.ffn_up.weight
- 862: 52428800 | 10240, 5120, 1, 1 | IQ4_XS | blk.64.nextn.eh_proj.weight
+ 862: 52428800 | 10240, 5120, 1, 1 | Q8_0 | blk.64.nextn.eh_proj.weight
863: 5120 | 5120, 1, 1, 1 | F32 | blk.64.nextn.enorm.weight
864: 5120 | 5120, 1, 1, 1 | F32 | blk.64.nextn.hnorm.weight
865: 5120 | 5120, 1, 1, 1 | F32 | blk.64.nextn.shared_head_norm.weight
For additional details and recommended parameters see the Unsloth Qwen3.8 Guide.
Following the widespread community adoption of the Qwen3.5 and Qwen3.6 series, we are pleased to introduce Qwen3.8, the most capable generation in the Qwen open-model family to date.
Built on the architectural foundation of Qwen3.5, Qwen3.8 delivers substantial gains across coding, professional work, research, and long-horizon agentic tasks. Qwen3.8-27B brings these advances to a compact, deployment-friendly dense model: a native vision-language model that understands images and videos, with flexible thinking control, designed to carry complex, multi-step tasks through to completion with greater reliability.
Qwen3.8-27B features the following enhancements:
reasoning_effort, and reasoning context from historical messages is retained via preserve_thinking.To achieve optimal performance, we recommend the following settings:
Sampling Parameters: We suggest using the following sets of sampling parameters:
temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0For supported frameworks, you can adjust the presence_penalty parameter between 0 and 2 to reduce endless repetition. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
Adequate Output Length: To optimize performance on agentic tasks, we recommend allocating sufficient output length to allow the model to generate detailed and comprehensive responses. For frameworks that support separate token limits for internal reasoning and final outputs, we suggest the following configuration within the 1M context length:
These settings provide the necessary capacity for complex reasoning while ensuring ample space for high-quality final deliverables.
Processing Ultra-Long Texts: Qwen3.8-27B natively supports context lengths of up to 262,144 tokens. For long-horizon tasks where the total length (including both input and output) exceeds this limit, we recommend using RoPE scaling techniques to handle long texts effectively, e.g., YaRN.
Long Video Understanding: To optimize inference efficiency for plain text and images, the size parameter in the released video_preprocessor_config.json is conservatively configured. It is recommended to set the longest_edge parameter in the video_preprocessor_config file to 469,762,048 (corresponding to 224k video tokens) to enable higher frame-rate sampling for hour-scale videos and thereby achieve superior performance. For example,
{"longest_edge": 469762048, "shortest_edge": 4096}
If you find our work helpful, feel free to give us a cite.
@misc{qwen38,
title = {{Qwen3.8-Max}: A New Bar for Coding and Cowork},
url = {https://qwen.ai/blog?id=qwen3.8},
author = {{Qwen Team}},
month = {August},
year = {2026}
}