/ Модель

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

Лицензия
CreativeML OpenRAIL-M
Базовая модель
dreamshaper-7
Опубликована
22 июн 2026

TokForge-DreamShaper-LCM-GGUF-q4

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

Квантованная GGUF-сборка DreamShaper-7 с LCM-LoRA для быстрой генерации изображений по тексту на устройствах с ограниченными ресурсами.

2 022скачиваний за 30 дней1лайквеса обновлены12 окт 2026

Бенчмарки

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

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

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

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

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

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

TokForge-DreamShaper-LCM-GGUF-q4 — компактная сборка модели генерации изображений от TokForge для локального запуска на устройствах. Она объединяет DreamShaper-7 на базе Stable Diffusion 1.5 с LCM-LoRA, встроенной в UNet, чтобы создавать изображения за несколько шагов без обычного guidance. Модель рассчитана на приложение TokForge и запуск через stable-diffusion.cpp.

Сборка поставляется одним файлом GGUF примерно на 1,63 ГБ с квантизацией Q4_0: линейные слои и свёртки 1×1 UNet сжаты, а CLIP-энкодер текста, VAE и свёртки 3×3 частично сохранены в F16. Рекомендуются sampler и scheduler LCM, 6 шагов и разрешение 512×512; также доступны пресеты 256 и 384. Модель предназначена для художественной генерации, включая реалистичные изображения людей, и рассчитана на устройства с ограниченной памятью.

Модель принимает текстовые запросы и выдаёт изображения. Заявленная лицензия репозитория — CreativeML OpenRAIL-M; README также указывает условия авторов компонентов, включая ограничение DreamShaper на продажу модели и её слияний. Качество и скорость зависят от устройства и настроек; квантизация сокращает объём и может влиять на точность по сравнению с версией F16.

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

  • генерация реалистичных изображений людей по описанию
  • создание художественных иллюстраций за несколько шагов
  • локальная генерация изображений на мобильном устройстве
  • быстрые черновые варианты изображений по текстовым запросам

Ограничения

Рекомендуемое разрешение — 512×512; качество при других размерах и на разных устройствах может отличаться. Q4_0 уменьшает объём модели и может снижать точность относительно версии F16; по условиям автора DreamShaper запрещена продажа модели и её слияний.

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

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

Открыть на Hugging Face

Published by TokForge for on-device inference.

TokForge

Runs on-device in the TokForge app.

TokForge: DreamShaper-7 + LCM GGUF (Q4_0)

A Q4_0-quantized single self-contained GGUF for stable-diffusion.cpp, packaging DreamShaper-7 (SD1.5, realistic finetune) with the LCM-LoRA fused into the UNet for fast, guidance-free few-step sampling.

This is the 6 GB-tier fast image route for the TokForge apps, the smaller sibling of TokForge-DreamShaper-LCM-GGUF (f16, ~2.1 GB). It renders the same coherent people and hands (no SD-Turbo body-horror) at the same few-step LCM speed class, but at a smaller download + RAM footprint so it fits the 6 GB device tier where the f16 build is gated out.

Files

FileSizePrecisionContents
dreamshaper-7-lcm-q4_0.gguf~1.63 GBQ4_0 (mixed)CLIP text encoder (F16) + LCM-fused UNet (Q4_0 linears/1×1 convs, F16 3×3 convs) + VAE

MD5SUMS and manifest.json carry the integrity hash + render defaults.

Precision details (CLIP-safe quantization)

This GGUF was quantized with stable-diffusion.cpp's own -M convert --type q4_0, whose tensor_should_be_converted rule protects embeddings and norms; it keeps every tensor whose name contains embedding (and all .bias / .scale / norm tensors) at F16. So the CLIP text encoder's token_embedding.weight stays F16.

This is deliberate and required: a block-quantized CLIP token-embedding (the failure mode of some external blanket-quantizers) produces empty CLIP conditioning through ggml_get_rows and makes sd.cpp abort at conditioner.hpp GGML_ASSERT(!chunk_hidden_states.empty()). Keeping CLIP at F16 avoids that entirely.

Note the file is ~1.63 GB rather than ~0.6 GB because SD-1.5's UNet is dominated by 3×3 convolution weights (ne[0] = 3), which are not divisible by Q4_0's block size of 32 and so are kept at F16 by ggml (the same reason the working gpustack Q4_0 SD-1.5 GGUF is ~1.75 GB). The Q4_0 win comes from the attention/projection linears and 1×1 convs. Verified type histogram: 690 F16 tensors + 440 Q4_0 tensors; CLIP token_embedding.weight = F16.

Recommended render settings (LCM, few-step, guidance-free)

sampler:      lcm
scheduler:    lcm
steps:        6   (4 = fast floor, 8 = extra refinement)
cfg-scale:    1.5
resolution:   512x512 (SD1.5 native; 256/384 presets also work)

stable-diffusion.cpp CLI example

sd -M img_gen \
  -m dreamshaper-7-lcm-q4_0.gguf \
  -p "a busy outdoor street market crowded with people shopping, candid street photo" \
  --sampling-method lcm --scheduler lcm --steps 6 --cfg-scale 1.5 \
  -W 512 -H 512 -o out.png

Provenance & how this was built

  1. Started from TokForge-DreamShaper-LCM-GGUF dreamshaper-7-lcm-f16.gguf (DreamShaper-7 with LCM-LoRA fused into the UNet, exported to a single SD1.5 GGUF, f16).
  2. Quantized to Q4_0 with stable-diffusion.cpp (leejet): sd -M convert -m dreamshaper-7-lcm-f16.gguf -o dreamshaper-7-lcm-q4_0.gguf --type q4_0. sd.cpp's quantizer keeps CLIP / embeddings / norms at F16 (model_loader.cpp tensor_should_be_converted).
  3. Verified the CLIP token_embedding.weight is F16 in the output header, and ran a 6-step LCM smoke render that produced a coherent on-prompt image.

License & attribution

No additional restrictions are imposed by this repackaging; the original OpenRAIL-M terms and attribution requirements propagate to this GGUF and any images generated with it.

Credits

  • DreamShaper 7 by Lykon (Civitai, Hugging Face). Used under the CreativeML OpenRAIL-M license and the creator's Civitai terms. Lykon's Civitai terms: no selling the model or merges of it.
  • LCM-LoRA SD1.5 by Latent Consistency (Hugging Face). Used under the CreativeML OpenRAIL++-M license.
  • Stable Diffusion v1.5 by Runway and CompVis (Hugging Face). Used under the CreativeML OpenRAIL-M license.
  • Converted to GGUF with stable-diffusion.cpp by leejet (MIT).

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

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

GPU в ailist

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

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

GGUF-веса поддерживаются только для текстовых LLM (llama.cpp).

Ревизия весов
7a7e808

0 моделей