/ Модель

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

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

TokForge-DreamShaper-LCM-GGUF-q4

Генерация изображенийТекст → изображение3 профессии
7 548скачиваний за 30 дней3лайкавеса обновлены11 ноя 2026

Описание модели

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

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

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

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

Модель подходит для быстрой генерации художественных изображений, в том числе реалистичных и стилизованных. Для текстового энкодера требуется учитывать особенности GGUF-квантизации; приложения TokForge сейчас не загружают именно этот файл, а для iOS используется другая сборка с CLIP в F16. Указана лицензия CreativeML OpenRAIL-M; README также отмечает условия автора DreamShaper, включая запрет на продажу модели и её слияний.

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

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

Ограничения

Использует LCM-режим с небольшим числом шагов, поэтому настройки генерации отличаются от обычного режима Stable Diffusion. Текущие приложения TokForge не загружают этот файл; для iOS требуется сборка с CLIP-энкодером в F16.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

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

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

Открыть на Hugging Face

DreamShaper 7 LCM Q4_0 (GGUF)

A Q4_0 build of DreamShaper 7 with the LCM-LoRA fused in, as one GGUF for stable-diffusion.cpp; the current TokForge apps use other builds of the same model.

Published by TokForge for on-device inference.

What it isImage generator
FormatSingle GGUF for stable-diffusion.cpp: Q4_0 for the UNet and CLIP linear weights and for the norm weights (UNet, CLIP, VAE); F16 for all convolutions, embeddings and biases
Runs onstable-diffusion.cpp on any device; not downloaded by the current TokForge apps
Phone classNo catalog class; needs more free RAM than its 1.63 GB of weights
Download1.63 GB (3 files)
Base modelLykon/dreamshaper-7, latent-consistency/lcm-lora-sdv1-5
LicenseCreativeML OpenRAIL-M plus Lykon's Civitai terms (no selling)

TokForge

Runs on-device in the TokForge app.

Use it in TokForge

  1. Install TokForge from Google Play, or join the iOS TestFlight.
  2. The current apps do not download this file. On Android, open Models > Recommended > Image and download DreamShaper LCM GGUF (Fast Image), the f16 build from TokForge-DreamShaper-LCM-GGUF. TokForge lists it on phones with 8 GB RAM or more.
  3. On iPhone or iPad, the 6 GB option of this model comes from TokForge-SD-GGUF-6GB, a Q4_0 rebuild that keeps the whole CLIP text encoder and VAE at F16.

To run this file yourself, use the stable-diffusion.cpp example below.

Collections: TokForge GGUF Models, TokForge Image Models (Android).

Files

FileSizeWhat it is
dreamshaper-7-lcm-q4_0.gguf1.63 GBCLIP text encoder, LCM-fused UNet and VAE in one GGUF (Q4_0 linear and norm weights, F16 convolutions)
manifest.json718 BPrecision notes, render defaults, size and md5
MD5SUMS62 Bmd5 of the GGUF

About the model

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.

It is the smaller sibling of TokForge-DreamShaper-LCM-GGUF (f16, about 2.1 GB): the same model at a smaller download and RAM footprint. TokForge for iOS used it for its 6 GB devices before it moved to TokForge-SD-GGUF-6GB.

Precision details

This GGUF was quantized with stable-diffusion.cpp's own -M convert --type q4_0, whose tensor_should_be_converted rule keeps embeddings and biases at F16. So the CLIP text encoder's token_embedding.weight stays F16, which matters: a block-quantized CLIP token-embedding produces empty CLIP conditioning through ggml_get_rows and makes sd.cpp abort at conditioner.hpp GGML_ASSERT(!chunk_hidden_states.empty()).

The CLIP linear and LayerNorm weights in this file are Q4_0 (only the CLIP embeddings and biases stay F16). TokForge for iOS only loads GGUFs whose whole CLIP text encoder is unquantized, which is why it uses TokForge-SD-GGUF-6GB instead.

Note the file is about 1.63 GB rather than about 0.6 GB because SD-1.5's UNet is dominated by 3x3 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 gpustack Q4_0 SD-1.5 GGUF is about 1.75 GB). The Q4_0 win comes from the attention, projection and feed-forward linears; the 1x1 convs stay F16 as well. Type histogram: 690 F16 tensors + 440 Q4_0 tensors; CLIP token_embedding.weight = F16.

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

How it was made

  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.
  3. Checked that the CLIP token_embedding.weight is F16 in the output header, and ran a 6-step LCM render that produced a coherent on-prompt image.

License

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.

DreamShaper 7 is also under Lykon's Civitai terms: no selling the model or merges of it. The LCM-LoRA is under the CreativeML OpenRAIL++-M license.

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

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

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

Ревизия весов
1a3a27b

0 моделей