/ Модель

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

Лицензия
Apache 2.0
Базовая модель
MOSS-Image-Base
Опубликована
19 окт 2026

Kromoss

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

Kromoss — дообученная модель MOSS-Image-Base для генерации изображений по текстовым запросам с акцентом на уменьшение размытия.

166скачиваний за 30 дней1лайквеса обновлены19 окт 2026

Бенчмарки

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

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

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

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

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

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

Kromoss — полноформатное дообучение MOSS-Image-Base, созданное автором репозитория MOSSImagefok. Модель генерирует изображения по текстовым запросам с разрешением 1024 пикселя и использует ту же архитектуру и конвейер вывода, что и MOSS-Image-SFT, включая текстовый энкодер Qwen3.5-9B и VAE на основе декодера FLUX.2 small. Автор сообщает, что дообучение направлено на уменьшение размытия базовой модели; опубликованы EMA-веса обновления 5000, обученные на 320 тысячах изображений.

Репозиторий также содержит отдельную LoRA с дистилляцией DMD для ускоренной генерации за 8 шагов при CFG 1. Основные веса рассчитаны на стандартный режим из 50 шагов при CFG 3. Модель доступна в форматах Diffusers и safetensors, а также в варианте ConvRot W8A8 для ComfyUI; для использования LoRA требуется базовая модель. Лицензия — Apache-2.0. В приведённом README оценка PartiPrompts на этапе update 2000 немного ниже, чем у MOSS-Image-Base при 50 шагах и CFG 3, поэтому улучшение резкости не следует трактовать как общее превосходство по всем показателям.

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

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

Ограничения

В сравнении PartiPrompts на этапе update 2000 Kromoss получила 26,88 балла против 27,19 у MOSS-Image-Base при 50 шагах и CFG 3. Для ускоренного режима требуется отдельная LoRA; её следует применять без слияния с bf16-весами.

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

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

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

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

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

Открыть на Hugging Face

Kromoss

Kromoss is a full fine-tune of MOSS-Image-Base at 1024 px. It uses the same architecture, inference pipeline, text encoder (Qwen3.5-9B) and VAE (FLUX.2 small decoder) as MOSS-Image-SFT, and this repo has the same layout, so it is a drop-in replacement. The fine-tune mainly fixes the Base model's blurriness.

The repo also ships 8-steps-dmd-lora.safetensors, an 8-step turbo LoRA (data-space DMD distillation of MOSS-Image-Base): 8 steps, CFG 1, no negative branch.

50 steps, CFG 38 steps, CFG 1 + 8-steps-dmd-lora
50 steps8 steps + LoRA

Checkpoint: update 5000 of the fine-tune (EMA weights), 320k training images.

Quick start

pip install "diffusers>=0.38" "transformers>=5.3" "accelerate>=1.10" "safetensors>=0.6" "Pillow>=10"
import torch
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained(
    "lodestones/Kromoss",
    custom_pipeline="pipeline_moss_image",
    trust_remote_code=True,
    torch_dtype={"default": torch.bfloat16, "vae": torch.float32},
)
pipe.scheduler = type(pipe.scheduler).from_config(pipe.scheduler.config)
pipe.to("cuda")

image = pipe(
    "a tabby cat holding a sign that says KROMOSS",
    height=1024,
    width=1024,
    num_inference_steps=50,
    guidance_scale=3.0,
    uncond_skip_layers=[22],
    generator=torch.Generator("cpu").manual_seed(42),
).images[0]
image.save("kromoss.png")

The transformer and text encoder use bfloat16; the VAE and initial noise use float32.

ComfyUI

Native ComfyUI support for MOSS-Image is in current ComfyUI master. The single files use the same layout as Comfy-Org/MOSS-Image: fused proj.qkv, bf16.

FilePut inLoader
diffusion_models/kromoss_bf16.safetensorsmodels/diffusion_models/Load Diffusion Model
diffusion_models/kromoss_int8_convrot.safetensorsmodels/diffusion_models/Load Diffusion Model (int8, 5.4 GB)
text_encoders/qwen3.5_9b_bf16.safetensorsmodels/text_encoders/Load CLIP, type moss_image
vae/flux2-vae_small.safetensorsmodels/vae/Load VAE
8-steps-dmd-lora.safetensorsmodels/loras/LoraLoaderModelOnly, strength 1

kromoss_bf16.safetensors drops in for moss_image_sft_bf16.safetensors in the Comfy-Org workflows (50 steps, CFG 3). With the LoRA, use KSampler with euler / simple, 8 steps, CFG 1. ComfyUI maps the LoRA's separate q/k/v onto the fused qkv slices.

convert_to_comfy.py converts any MOSS-Image diffusers transformer/ folder (e.g. your own fine-tune) into this single-file format (needs only torch and safetensors):

python convert_to_comfy.py path/to/transformer my_model_bf16.safetensors

On MOSS-Image-SFT's transformer/ it reproduces Comfy-Org's moss_image_sft_bf16.safetensors byte for byte; --compare FILE checks keys, shapes and dtypes against a reference file.

kromoss_int8_convrot.safetensors is ConvRot W8A8, the format of Comfy-Org's moss_image_sft_int8_convrot.safetensors. The 168 block linears (proj.{qkv,o,ffn_up_gate,ffn_down}) are stored as int8 with per-row scales, after a 256-wide regular Hadamard rotation of the input dimension. ComfyUI rebuilds the rotation at load time and applies it to the activations online, so no rotation matrices are stored. Each block also selects ComfyUI's int8 attention. It drops in for the int8 Comfy-Org file and works with the LoRA. quantize_convrot.py makes it from a bf16 single file; on moss_image_sft_bf16.safetensors it reproduces Comfy-Org's int8 file byte for byte:

python quantize_convrot.py my_model_bf16.safetensors my_model_int8_convrot.safetensors

8-step turbo LoRA

8-steps-dmd-lora.safetensors: fp32, rank 128 / alpha 128 on every block's proj.{q,k,v,o,ffn_up_gate,ffn_down}, kohya keys (diffusion_model.<module>.lora_down.weight / lora_up.weight / alpha). In ComfyUI, load it with a LoRA loader at strength 1. With diffusers, apply it unmerged. Do not merge it into the bf16 weights: the delta is close to bf16's rounding step.

from safetensors.torch import load_file

def apply_lora(transformer, path, strength=1.0):
    state = load_file(path, device="cuda")
    modules = dict(transformer.named_modules())
    for key in [k for k in state if k.endswith(".lora_down.weight")]:
        name = key[len("diffusion_model."):-len(".lora_down.weight")]
        down, up = state[key].float(), state[key.replace("lora_down", "lora_up")].float()
        scale = strength * state[f"diffusion_model.{name}.alpha"].item() / down.shape[0]
        def hook(module, args, out, down=down, up=up, scale=scale):
            return out + (scale * (args[0].float() @ down.T) @ up.T).to(out.dtype)
        modules[name].register_forward_hook(hook)

apply_lora(pipe.transformer, "8-steps-dmd-lora.safetensors")   # hf_hub_download("lodestones/Kromoss", ...)
image = pipe(prompt, height=1024, width=1024, num_inference_steps=8, guidance_scale=1.0,
             generator=torch.Generator("cpu").manual_seed(42)).images[0]

Sampling settings

SettingFull modelWith 8-steps-dmd-lora
SamplerFlow-matching EulerFlow-matching Euler
Steps508
CFG31
Shift55
Layer skippingNegative branch, layer index 22none (no negative branch)

PartiPrompts (100 prompts, CLIP ViT-L/14 score; Kromoss rows measured at update 2000)

ModelCLIP
MOSS-Image-Base, 50 steps, CFG 327.19
MOSS-Image-Base + LoRA, 8 steps, CFG 127.53
Kromoss, 50 steps, CFG 326.88
Kromoss + LoRA, 8 steps, CFG 127.82

Columns in the sheet below follow the table's order.

PartiPrompts comparison

Training

  • Full fine-tune of every transformer parameter, 1024 px (images under 896² dropped).
  • The MOSS-Image report's final-stage recipe, scaled to 64 images per update:
    • hybrid Muon-AdamW, lr 9e-6, warmup 200;
    • truncated logit-normal timesteps;
    • final-block q/k-norm decay to one;
    • EMA 0.999 (the published weights are the EMA).

License and acknowledgements

The weights and the bundled inference code (pipeline_moss_image.py, from MOSS-Image-SFT) are released under the Apache License, Version 2.0. Built on MOSS-Image by the OpenMOSS Team.

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

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

GPU в ailist

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

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

Пайплайн MOSSImagePipeline не входит в diffusers 0.41.0.dev0: нужен custom_pipeline.

Ревизия весов
6c483fd

0 моделей