How to use from the
Use from the
MLX library
# Make sure mlx-vlm is installed
# pip install --upgrade mlx-vlm

from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template
from mlx_vlm.utils import load_config

# Load the model
model, processor = load("lukaskremla/Qwen3.8-27B-5bit-MLX")
config = load_config("lukaskremla/Qwen3.8-27B-5bit-MLX")

# Prepare input
image = ["http://images.cocodataset.org/val2017/000000039769.jpg"]
prompt = "Describe this image."

# Apply chat template
formatted_prompt = apply_chat_template(
    processor, config, prompt, num_images=1
)

# Generate output
output = generate(model, processor, formatted_prompt, image)
print(output)

lukaskremla/Qwen3.8-27B-5bit-MLX

This quantization preserves the model's BF16 vision tower. For a text-only version check lukaskremla/Qwen3.8-27B-5bit-MLX-TextOnly.

You can download MTP heads separately from this collection Qwen 3.8 27B MLX-Quants (Vision, Text-Only & MTP).

Hugging Face might render incorrect parameter counts for this model, it is a common display bug for MLX quants.

Credits

Converted to MLX format from Qwen/Qwen3.8-27B using mlx-vlm version 0.6.13.

Downloads last month
162
Safetensors
Model size
6B params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

5-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for lukaskremla/Qwen3.8-27B-5bit-MLX

Base model

Qwen/Qwen3.8-27B
Quantized
(933)
this model

Collection including lukaskremla/Qwen3.8-27B-5bit-MLX