/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
Z-Image-Turbo
Опубликована
22 сен 2026

z-image-turbo-gptq-mlx-8bit

Генерация изображенийТекст → изображение

8-битная GPTQ-квантизация Z-Image-Turbo для локальной генерации изображений по тексту на Apple Silicon через mflux.

0скачиваний за 30 дней0лайковвеса обновлены27 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Это 8-битная GPTQ-квантизация модели Z-Image-Turbo, подготовленная для запуска через mflux на компьютерах Apple Silicon. Базовую модель разработала Tongyi-MAI; это диффузионный трансформер с 6,15 млрд параметров, дистиллированный для генерации за 9 шагов. Репозиторий сохраняет формат и размер mflux-квантизации 8 бит, но использует GPTQ-коррекцию весов на основе статистики активаций модели.

Модель предназначена для генерации изображений по текстовым описаниям, в том числе локально на macOS и для вызова генерации изображений из чата через LLMTray. По описанию автора, результаты 8-битной версии близки к обычной RTN-квантизации 8 бит; основное преимущество GPTQ здесь — сохранение качества при том же размере, а не уменьшение файла. Общий размер комплекта составляет около 10 ГБ. Лицензия — Apache-2.0. README не заявляет языки запросов для этой сборки; базовая модель поддерживает английский и китайский текст на изображениях.

Сценарии применения

  • генерация изображений по текстовым промптам
  • локальная генерация картинок на Mac с Apple Silicon
  • создание изображений из диалога в LLMTray

Ограничения

Для запуска через описанный сценарий нужны mflux и Apple Silicon; полный комплект занимает около 10 ГБ. Автор отмечает, что визуальное отличие от обычной RTN-квантизации 8 бит невелико.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Z-Image-Turbo — GPTQ, 8-bit (MLX / mflux)

▶ Run it locally in LLMTray

A free, native macOS app for local AI on Apple Silicon — chat, images, music, agents and an OpenAI-compatible API. Point it at this model; nothing leaves your Mac.

Download LLMTray GitHub stars

An 8-bit MLX quantization of Z-Image-Turbo (Tongyi-MAI, 6.15B diffusion transformer, 9-step distilled), for mflux on Apple Silicon — but using GPTQ Hessian-based error correction instead of mflux's own round-to-nearest (RTN) --quantize 8, so it's the same on-disk size and speed as a plain mflux-save --quantize 8, with better-preserved weights.

What's actually different from plain --quantize 8

Nothing about the format — same shard layout, same key names, same mx.quantize(mode="affine") grid mflux itself uses. What's different is how the quantized values were chosen: instead of rounding every weight to the nearest grid point independently (RTN), each of the 30 transformer blocks' attention (to_q/to_k/to_v/to_out.0) and feed-forward (w1/w2/w3) linears was corrected with GPTQ — quantize one column, measure the rounding error, spread it onto the not-yet-quantized columns weighted by that layer's activation Hessian, repeat. The Hessian was estimated from real activations captured while running the model's own denoising loop (hooks on every target Linear, several prompts, all 9 steps) — not token/image data, since this is a diffusion transformer, not an LLM.

Full method + code: zimage-quant (sibling of nemotron-extreme-quant, which does the same GPTQ correction for LLMs — gptq_nbit is shared, unmodified code between the two).

Honest quality comparison

Same prompt, same seed (42), same 9 steps, RTN-8bit vs this GPTQ-8bit:

RTN (plain --quantize 8)GPTQ (this repo)
rtngptq

At 8 bits the two are visually near-identical (PSNR ≈ 35.3dB between them, mean abs pixel diff ≈ 2.2/255) — 8 bits alone already has enough precision that RTN's per-weight rounding error is small. The 8-bit release is mostly a correctness baseline and a drop-in you can trust; the more interesting quality delta shows up at 4-bit — see z-image-turbo-gptq-mlx-4bit and the smaller-but-more-stable z-image-turbo-gptq-mlx-mixed (attention 8-bit + feed-forward 4-bit, 6.3GB).

Usage

pip install mflux
mflux-generate-z-image-turbo \
    --model /path/to/local/checkout/of/this/repo \
    --base-model z-image-turbo \
    --prompt "your prompt" --steps 9

Or use it directly from LLMTray's built-in image generation (the model chooses to call generate_image mid-conversation; LLMTray drives mflux under the hood) — point LLMTray's image-model setting at this repo.

Size

~10GB total (transformer + text encoder + VAE + tokenizer), same as plain mflux-save --quantize 8 — GPTQ's win here is quality-at-this-size, not a smaller file.

The IPSupport local-AI stack

Local-first AI tools for macOS by IPSupport — nothing leaves your Mac.

  • LLMTray — your local AI workstation for macOS: chat with local LLMs, generate and edit images, make music, run agents, and serve an OpenAI-compatible API. Downloads models from Hugging Face in-app, with per-model profiles.
  • IPSupport Code — your AI coding agent for real repositories: analyze, fix, test, report.

LLMTray uses this model for in-chat image generation (it drives mflux under the hood).

License

Licensed under the Apache License 2.0, the same license as the base model — see LICENSE.

Modified from Tongyi-MAI/Z-Image-Turbo: the attention (to_q/to_k/to_v/to_out.0) and feed-forward (w1/w2/w3) linears of all 30 transformer blocks were GPTQ-corrected and quantized to 8-bit, and the model was saved in mflux's MLX checkpoint format (same layout as mflux-save --quantize 8). The weights and configuration files in this repo are therefore modified versions of the original, not the original files.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

MLX-модели работают только на Apple Silicon.

Ревизия весов
c32b86d

0 моделей