Unofficial community conversion of
Qwen/Qwen3.8-27B for
Apple Silicon using MLX and MLX-VLM.
This is a format conversion and affine 8-bit quantization of the language
model weights. The vision tower remains in BF16. No fine-tuning, merging,
abliteration, distillation, or additional training was performed.
This repository is not an official Qwen, Alibaba Cloud, Apple, MLX,
MLX-VLM, Hugging Face, or LM Studio release, and those parties do not
endorse it.
The upstream model is a 27B native vision-language model. It supports text,
image, and video understanding, flexible thinking control, and agentic/tool
use through compatible serving stacks. See the
Qwen3.8-27B model card for the
architecture, upstream evaluations, recommended sampling settings, intended
uses, and model-family limitations.
What changed
The language-model tensors were converted to MLX and quantized with affine
8-bit weights using a group size of 64.
The vision encoder was retained in BF16 by the converter.
tokenizer_config.json embeds the same chat template also distributed as
chat_template.jinja, improving compatibility with offline and local
serving stacks.
The generated configuration records the quantization parameters.
Release documentation and SHA-256 checksums were added.
The exact file-level changes and reproducible conversion command are recorded
in MODIFICATIONS.md.
Requirements
A Mac with Apple Silicon.
A current version of mlx-vlm; this conversion was produced and validated
with mlx-vlm==0.6.15 and mlx==0.32.1.
Sufficient unified memory. Short-context validation peaked at approximately
35.8 GB. At least 48 GB of unified memory is recommended for practical use.
Long contexts and concurrent requests require substantially more memory.
Use with MLX-VLM
Install the runtime:
python -m pip install -U "mlx-vlm>=0.6.15"
Text
bash
1python -m mlx_vlm.generate \2 --model z4bfg/Qwen3.8-27B-MLX-8bit \3 --prompt "Explain affine weight quantization in three concise points."\4 --max-tokens 512\5 --temperature 0.0
Add --enable-thinking when explicit thinking mode is desired and supported
by the installed MLX-VLM version.
Image
bash
1python -m mlx_vlm.generate \2 --model z4bfg/Qwen3.8-27B-MLX-8bit \3 --image /path/to/image.jpg \4 --prompt "Describe the visible objects, their relationships, and the scene."\5 --max-tokens 512\6 --temperature 0.0
For server usage, multi-image input, video handling, thinking controls, and
streaming, follow the current
mlx-vlm documentation.
Local validation
These are local smoke and regression checks, not official Qwen benchmarks and
not a substitute for a broad accuracy evaluation.
The converted checkpoint and the exact upstream BF16 revision were run with
deterministic decoding on the same Apple Silicon host and test harness.
Check
This 8-bit build
Upstream BF16
Functional cases passed
5 / 6
5 / 6
Peak memory observed in the suite
35.78 GB
56.55 GB
Typical generation rate in the suite
about 20-23 tok/s
about 8-11 tok/s
Five of six generated outputs were byte-identical between the two builds. The
remaining failed probability case produced the same incorrect answer in both
builds, so that specific failure was not introduced by quantization. This
small result does not establish general accuracy parity.
strict JSON output and syntactically valid Python generation;
Russian-language instruction following;
LM Studio text, image, and required tool-call requests;
repeated unload/load cycles with a stable model identifier;
four parallel prediction slots and an eight-request queue on a 512 GB M3
Ultra host.
Performance depends on prompt length, output length, runtime version, thermal
state, context allocation, and concurrent workloads. The figures above should
not be treated as cross-platform benchmarks.
Limitations and responsible use
Quantization can change logits and outputs. Validate this checkpoint on your
own task before relying on it.
The model can hallucinate, produce incorrect code or factual claims, reflect
training-data biases, and generate unsafe or inappropriate content.
Tool calls are model-generated data. Validate tool names and arguments, apply
least-privilege permissions, and require confirmation for consequential
actions.
The advertised context length is an architectural capability, not a memory
guarantee. KV-cache and media-token memory can dominate at long contexts.
Text and image paths were validated for this release. Video artifacts are
retained, but video inference was not independently validated as part of
this conversion release.
This repository does not reproduce the upstream benchmark suite. Use the
upstream card for official benchmark results and evaluation methodology.
Do not use model output as the sole basis for medical, legal, financial,
safety-critical, or other high-impact decisions.
Reproducibility and integrity
The conversion environment, command, source revision, and modified files are
documented in MODIFICATIONS.md. File hashes are listed
in SHA256SUMS.
License and attribution
The upstream checkpoint is distributed under the Apache License 2.0. This
repository retains that license in LICENSE, preserves upstream
attribution, identifies the modified artifacts, and uses the same
apache-2.0 license metadata.
Copyright in the original model remains with its original rightsholders. The
maintainer of this repository claims only responsibility for the conversion,
packaging, and release documentation, not ownership of the upstream model or
its trademarks.
Please cite the upstream Qwen work when using this conversion:
bibtex
1@misc{qwen38,
2 title = {{Qwen3.8-Max}: A New Bar for Coding and Cowork},
3 url = {https://qwen.ai/blog?id=qwen3.8},
4 author = {{Qwen Team}},
5 month = {August},
6 year = {2026}
7}
Acknowledgements
Qwen Team and Alibaba Cloud for the original
model.