Downloads · 30 days
198
14% of all-time downloads
slopops/Qwen3.8-27B-int4-AutoRound-SAR
Qwen3.8-27B-int4-AutoRound-SAR is a text generation model from slopops. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains an int4 quantized version of Qwen3.8-27B using AutoRound with specific SAR (Spark AutoRound with OpenCode-Instruct) settings.
Downloads · 30 days
198
14% of all-time downloads
All-time downloads
1.4K
Public
Parameters
3B
19 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors19 GB · 100%
How the weights are stored.
I323.1B · 49%
From the Hugging Face model README
This repository contains an int4 quantized version of Qwen3.8-27B using AutoRound with specific SAR (Spark AutoRound with OpenCode-Instruct) settings.
⚠️ IMPORTANT DISCLAIMER: This repository contains a quantized version of the model. No claims are made regarding the performance, accuracy, or benchmark results of this specific quantization. The model details, architecture descriptions, and benchmark scores provided below are inherited directly from the original base model's documentation and represent the performance of the full-precision (BF16/FP16) base model, not this 4-bit quantized version.
This model was quantized using the Spark AutoRound algorithm. This is an optimally pre-configured int4 AutoRound quantization that achieves near fp8 quality with int4 speed.
The following specific hyperparameters were used during quantization:
--batch_size 8
--nsamples 512
--seqlen 2048
--group_size 64
--iters 1000
--dataset opencode-instruct
opencode-instruct (512 samples, 2048 sequence length)The following information is inherited from the base Qwen3.8-27B model.
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.vllm serve slopops/Qwen3.8-27B-int4-AutoRound-SAR \
--served-model-name Qwen3.8-27B-int4-AutoRound-SAR \
--max-model-len 262144 \
--gpu-memory-utilization 0.55 \
--max-num-batched-tokens 16384 \
--max-num-seqs 8 \
--optimization-level 3 \
--performance-mode throughput \
--load-format auto \
--attention-backend flashinfer \
--moe-backend auto \
--enable-prefix-caching \
--enable-chunked-prefill \
--kv-cache-dtype fp8 \
--chat-template chat_template.jinja \
--default-chat-template-kwargs '{"preserve_thinking":true}' \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder \
--reasoning-parser qwen3 \
--speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
--override-generation-config '{"temperature":0.6,"top_p":0.95,"top_k":-1,"min_p":0.0,"presence_penalty":0.0,"repetition_penalty":1.0}'
This model utilizes the froggeric/Qwen-Fixed-Chat-Templates.
This is a universal drop-in Jinja template that fixes rendering errors, KV cache invalidation, token waste, empty think poisoning, and fatal agentic stalling across official Qwen chat templates.
It works across LM Studio, llama.cpp, vLLM, MLX, oMLX, KoboldCPP, and any engine that supports Hugging Face Jinja templates. You only need the single chat_template.jinja file at the root of this repository for all Qwen 3.5, 3.6, and 3.8 model sizes.
This model has been extensively tested and optimized for the NVIDIA DGX Spark (GB10 / sm_121 architecture).
When deploying on DGX Spark hardware, it is highly recommended to use the experimental b12x vLLM Docker image (vllm-node-b12x) from the spark-vllm-docker repository. This custom build includes specialized high-performance B12X kernels specifically tuned for the Spark's unified memory architecture.
Tip for Spark users: Change --load-format auto to --load-format instanttensor in the command above to significantly reduce model loading times and lower peak RAM usage during startup.
While the base model is highly capable, applying a 4-bit quantization (especially on a 27B model) can introduce slight degradation in:
Users should be aware that quantized models may occasionally exhibit a slight drop in coherence or an increase in hallucinations compared to their full-precision counterparts.
This quantization is released under the same license as the original Qwen models. Please refer to the original model's repository for the exact licensing terms. Ensure you comply with the original model's acceptable use policy when deploying this quantized version.