Downloads · 30 days
38
31% of all-time downloads
z4bfg/Qwen3.8-27B-MLX-8bit
Qwen3.8-27B-MLX-8bit is a image-text-to-text model from z4bfg. 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 mlx. The card lists the license as apache-2.0.
Unofficial community conversion of Qwen/Qwen3.8-27B for Apple Silicon using MLX and MLX-VLM.
Downloads · 30 days
38
31% of all-time downloads
All-time downloads
121
Public
Parameters
27.4B
29.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors29.5 GB · 100%
How the weights are stored.
U3226.9B · 98%
From the Hugging Face model README
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.
| Field | Value |
|---|---|
| Upstream model | Qwen/Qwen3.8-27B |
| Upstream revision | 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0 |
| Conversion date | 2026-08-20 |
| Format | MLX, sharded Safetensors |
| Language-model quantization | 8-bit affine, group size 64 |
| Vision tower | BF16 |
| Native context in the upstream configuration | 262,144 tokens |
| Repository size | Approximately 27.5 GiB |
| License | Apache License 2.0 |
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.
tokenizer_config.json embeds the same chat template also distributed as
chat_template.jinja, improving compatibility with offline and local
serving stacks.The exact file-level changes and reproducible conversion command are recorded
in MODIFICATIONS.md.
mlx-vlm; this conversion was produced and validated
with mlx-vlm==0.6.15 and mlx==0.32.1.Install the runtime:
python -m pip install -U "mlx-vlm>=0.6.15"
python -m mlx_vlm.generate \
--model z4bfg/Qwen3.8-27B-MLX-8bit \
--prompt "Explain affine weight quantization in three concise points." \
--max-tokens 512 \
--temperature 0.0
Add --enable-thinking when explicit thinking mode is desired and supported
by the installed MLX-VLM version.
python -m mlx_vlm.generate \
--model z4bfg/Qwen3.8-27B-MLX-8bit \
--image /path/to/image.jpg \
--prompt "Describe the visible objects, their relationships, and the scene." \
--max-tokens 512 \
--temperature 0.0
from mlx_vlm import generate, load
from mlx_vlm.prompt_utils import apply_chat_template
model_id = "z4bfg/Qwen3.8-27B-MLX-8bit"
model, processor = load(model_id)
images = ["/path/to/image.jpg"]
prompt = apply_chat_template(
processor,
model.config,
"Describe the visible objects and the scene.",
num_images=len(images),
)
result = generate(
model=model,
processor=processor,
prompt=prompt,
image=images,
max_tokens=512,
temperature=0.0,
)
print(result.text)
For server usage, multi-image input, video handling, thinking controls, and
streaming, follow the current
mlx-vlm documentation.
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.
Additional deployment checks completed successfully:
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.
Do not use model output as the sole basis for medical, legal, financial, safety-critical, or other high-impact decisions.
The conversion environment, command, source revision, and modified files are
documented in MODIFICATIONS.md. File hashes are listed
in SHA256SUMS.
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.
See NOTICE and MODIFICATIONS.md for
additional attribution and modification notices.
Please cite the upstream Qwen work when using this conversion:
@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}
}
mlx-vlm maintainers and
contributors for the conversion and inference tooling.