Run Kromoss, a MOSS-Image Fine-Tune, with 8-Step Turbo LoRAs
Kromoss is an Apache-2.0 full fine-tune of MOSS-Image-Base at 1024 px. Run it with diffusers, and cut sampling to 8 steps with the bundled LoRAs.
The code in this post comes from the model's docs and hasn't been run in our CI yet. If something breaks, let us know.
Kromoss, from lodestones, is a full fine-tune of MOSS-Image-Base at 1024 px. It keeps the same architecture, inference pipeline, text encoder (Qwen3.5-9B) and VAE (FLUX.2 small decoder) as MOSS-Image-SFT, and the repo has the same layout, so the card calls it a drop-in replacement. What makes it notable is that the repo also ships two 8-step turbo LoRAs distilled from MOSS-Image-Base: 8 steps at CFG 1 with no negative branch, instead of 50 steps at CFG 3.
Key specs
| Task | text-to-image |
| Library | diffusers (custom pipeline, trust_remote_code=True) |
| Language | English |
| Base model | OpenMOSS-Team/MOSS-Image-Base (full fine-tune) |
| Text encoder / VAE | Qwen3.5-9B / FLUX.2 small decoder |
| Training | Every transformer parameter, 1024 px, 704k training images (EMA weights, update 11000) |
| Default sampling | Flow-matching Euler, 50 steps, CFG 3, shift 5 |
| Turbo sampling | 8 steps, CFG 1 with either LoRA (4 steps “also works”) |
| License | Apache 2.0 (weights and bundled inference code) |
The card gives no parameter count or VRAM requirement, so measure memory on your own GPU.
Install
pip install "diffusers>=0.38" "transformers>=5.3" "accelerate>=1.10" "safetensors>=0.6" "Pillow>=10"Run it
This is the card’s quick-start. The transformer and text encoder use bfloat16; the VAE and initial noise use float32.
import torchfrom 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")trust_remote_code=True runs pipeline code downloaded with the model, so read it first if that matters to you.
Use the 8-step turbo LoRA
The card recommends 8-steps-dmd2-lora.safetensors, which is the DMD LoRA further trained with DMD2’s GAN stage against real images. It reports slightly more contrast and detail, and the best PartiPrompts score of the two. The other file, 8-steps-dmd-lora.safetensors, is data-space DMD distillation. Use one at a time.
The card’s diffusers path applies the LoRA unmerged, with forward hooks. It warns not to merge it into the bf16 weights because the delta is close to bf16’s rounding step. The LoRAs are fp32, rank 128 / alpha 128, with kohya-style keys. Continuing from the pipeline above (the card’s snippet calls hf_hub_download for the file; the import is added here):
import torchfrom huggingface_hub import hf_hub_downloadfrom 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)
lora_path = hf_hub_download("lodestones/Kromoss", "8-steps-dmd2-lora.safetensors")apply_lora(pipe.transformer, lora_path)
prompt = "a tabby cat holding a sign that says 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]image.save("kromoss_turbo.png")Note there is no uncond_skip_layers here: with either LoRA there is no negative branch.
Sampling settings
| Setting | Full model | With either LoRA |
|---|---|---|
| Sampler | Flow-matching Euler | Flow-matching Euler |
| Steps | 50 | 8 |
| CFG | 3 | 1 |
| Shift | 5 | 5 |
| Layer skipping | Negative branch, layer index 22 | none (no negative branch) |
ComfyUI
The card says native ComfyUI support for MOSS-Image is in current ComfyUI master. Kromoss ships single files that use the same layout as Comfy-Org/MOSS-Image:
diffusion_models/kromoss_bf16.safetensorsgoes inmodels/diffusion_models/(Load Diffusion Model). It drops in formoss_image_sft_bf16.safetensorsin the Comfy-Org workflows (50 steps, CFG 3).diffusion_models/kromoss_int8_convrot.safetensors(int8, 5.4 GB) uses the same loader and works with the LoRAs.text_encoders/qwen3.5_9b_bf16.safetensorsgoes inmodels/text_encoders/(Load CLIP, typemoss_image).vae/flux2-vae_small.safetensorsgoes inmodels/vae/(Load VAE).- Either LoRA goes in
models/loras/with LoraLoaderModelOnly at strength 1. Use KSampler witheuler/simple, 8 steps, CFG 1.
The repo also includes convert_to_comfy.py (turns a MOSS-Image diffusers transformer/ folder into the single-file format; needs only torch and safetensors) and quantize_convrot.py (makes the int8 file from a bf16 single file).
What the numbers say
The card reports a CLIP ViT-L/14 score on 100 PartiPrompts, with Kromoss rows measured at update 11000:
| Model | CLIP |
|---|---|
| MOSS-Image-Base, 50 steps, CFG 3 | 27.19 |
MOSS-Image-Base + 8-steps-dmd2-lora, 8 steps, CFG 1 |
27.59 |
| Kromoss, 50 steps, CFG 3 | 27.90 |
Kromoss + 8-steps-dmd-lora, 8 steps, CFG 1 |
27.99 |
Kromoss + 8-steps-dmd2-lora, 8 steps, CFG 1 |
28.13 |
This is one automated score on 100 prompts. It says nothing about text rendering, layout or how images look to a person, so compare outputs on your own prompts.
Gotchas
- Don’t merge the LoRA into bf16 weights. The card says the delta is close to bf16’s rounding step; apply it unmerged.
- Use one LoRA at a time.
- Dtypes matter. bfloat16 for the transformer and text encoder; float32 for the VAE and initial noise.
- Don’t carry the 50-step settings over. With a LoRA, use 8 steps and CFG 1, and drop
uncond_skip_layers. - Remote code.
trust_remote_code=Trueis required by the card’s loading path. - Checkpoint. The published weights are EMA weights from update 11000 of the fine-tune.
When to pick it
Pick Kromoss if you already run the MOSS-Image family and want a drop-in 1024 px fine-tune, especially if the 8-step LoRA’s shorter sampling matters to your workflow. The card’s score table favors it over Base on that one metric, but that is not evidence it is better for your content.
Skip it if you need something the card doesn’t document: it lists English only and gives no hardware requirements. Kromoss shares its pipeline, text encoder and VAE with MOSS-Image-SFT, so read that card too before deciding.
Related
Run MOSS-Image-SFT for English and Chinese Text-to-Image
MOSS-Image-SFT is an Apache-2.0 text-to-image model from OpenMOSS with JSON layout control. Install it with diffusers and generate images with rendered text.
OpenMOSS-Team/MOSS-Image-SFT
Run MiniMax-H3-Image for 16-Megapixel Text-to-Image and Editing
MiniMax-H3-Image generates and edits images up to about 16 MP in 6 sampling steps. Serve it with vLLM-Omni or SGLang and call its image endpoints.
MiniMaxAI/MiniMax-H3-Image
Run Pika H3 Flex for Six-Step Video with Synced Audio
Pika H3 Flex adds two LoRA adapters to MiniMax-H3 for text, frame and reference-guided video with stereo audio in six sampling steps.
Pika-Labs/Pika-H3-Flex