Mindket

MOSS-Image FP16-fixed

Newversion 1 · updated

Overview

The MOSS-Image Base and SFT image transformers with their weights rescaled so they run in fp16 without overflow, giving the same outputs. For diffusers, ComfyUI and KohakuMoss.

MOSS-Image FP16-fixed is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip
  • diffusers, ComfyUI or KohakuMoss
  • The official text encoder and VAE, which this repository does not change
Runs in
  • diffusers, through the MOSSImageTransformer folders for Base and SFT
  • ComfyUI, through single-file fp16 checkpoints
  • KohakuMoss, the author's trainer and runner
Start with
pip install -U huggingface_hub
hf download KBlueLeaf/MOSS-Image-FP16-fixed

About

What it is

This is MOSS-Image, in Base and SFT versions, with one edit inside the weights: the running sum that carries values from block to block is divided by 16. fp16 then has plenty of room to spare, where before it had only about 5 percent.

Per the card, results match the official model apart from rounding, and track the fp32 reference more closely than the stock bf16 files. Only the transformer changes. Everything else is unchanged and official. That covers the text encoder and tokenizer, plus the VAE, the scheduler and the pipeline code.

Who it suits

People who generate images with MOSS-Image in diffusers or ComfyUI and want fp16 to work safely, especially at large sizes or with LoRAs and fine-tunes.

IndustryWho uses itHow they use itExample
DesignImage generators in ComfyUIRun fp16 on a larger canvasA 2560 by 2560 render that no longer turns black
SoftwarePipeline developersUse the diffusers transformer in fp16Serving images from a GPU with fp16 support
ResearchModel tinkerersAdd LoRAs or fine-tunes on topTraining an adapter without overflow

You can skip it if you already run bf16 or fp32 without trouble, or if you want a different image model.

Where to use it

The files target three places, and the card lists which file goes where.

  • diffusers, through the MOSSImageTransformer folders for Base and SFT
  • ComfyUI, through single-file fp16 checkpoints
  • KohakuMoss, the author's trainer and runner
Use caseWhoWhat they get back
Safe fp16 generationComfyUI usersImages without NaN or black output at large sizes
Diffusers pipelinesDevelopersAn fp16 transformer matching the official config
Tuning on topTrainersMore headroom when adding LoRAs or fine-tunes

How to set it up

You need Python and the Hugging Face tools to fetch the files, then one of the three runners. The card says the text encoder and VAE come from the official or Comfy-Org releases.

  • Python with pip
  • diffusers, ComfyUI or KohakuMoss
  • The official text encoder and VAE, which this repository does not change
  1. Install the Hugging Face hub tools with pip.
  2. Download the repository files with the hf command.
  3. Point your runner at the Base or SFT transformer, or the matching ComfyUI file.
pip install -U huggingface_hub
hf download KBlueLeaf/MOSS-Image-FP16-fixed

How to use it

Choose Base or SFT, then load the matching file in your tool. In ComfyUI use the single-file checkpoint, and in diffusers load the transformer folder. The card shows no run command.

FileUsed for
base/transformer and sft/transformerThe diffusers MOSSImageTransformer, in fp16
moss_image_base_fp16_fixed.safetensorsA single ComfyUI file for Base
moss_image_sft_fp16_fixed.safetensorsA single ComfyUI file for SFT
reports folderThe numbers behind the page, per image

Example

You load the fixed Base file in ComfyUI with fp16 and render a 2560 by 2560 image. The card says the official file turns black at that size, while the fixed weights stay finite.

For newcomers and experts

If you are new, this is the same image model, adjusted so the numbers inside it stay small enough for fp16. Swap it in where you used the official file and render a normal image first.

If you know the field, the residual stream peaks near 62,000 at block 26 of 42, just under fp16's limit of 65,504. Scaling by 1/16 inside the weights gives 16.9 times headroom there. The card measured 189 forwards and real 50-step sampling to show this.

  1. Official weights peak near the fp16 limit
  2. Scale the residual stream by 1/16
  3. Run in fp16 with wide headroom
  4. Same images up to rounding

Good to know

Plain fp16 on the official file passed every test the author ran up to 2048 by 2048, then failed at 2560 by 2560 on step 29 of 50. The fixed weights keep much more margin.

Headroom to the fp16 limit at block 26, times
Official weights1.05 times
Fixed weights16.9 times
  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: the model files you download and the prompts you give your own runner
  • Not for: changing the text encoder, VAE or scheduler, since only the transformer is changed

README and files

README

MOSS-Image FP16-fixed

The MOSS-Image Base and SFT image transformers with their weights rescaled so they run in fp16 without overflow, giving the same outputs. For diffusers, ComfyUI and KohakuMoss.

Made by KBlueLeaf on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: This is MOSS-Image, in Base and SFT versions, with one edit inside the weights: the running sum that carries values from block to block is divided by 16. fp16 then has plenty of room to spare, where before it had only about 5 percent.

Per the card, results match the official model apart from rounding, and track the fp32 reference more closely than the stock bf16 files. Only the transformer changes. Everything else is unchanged and official. That covers the text encoder and tokenizer, plus the VAE, the scheduler and the pipeline code.

Who it suits: People who generate images with MOSS-Image in diffusers or ComfyUI and want fp16 to work safely, especially at large sizes or with LoRAs and fine-tunes.

Industry | Who uses it | How they use it | Example
Design | Image generators in ComfyUI | Run fp16 on a larger canvas | A 2560 by 2560 render that no longer turns black
Software | Pipeline developers | Use the diffusers transformer in fp16 | Serving images from a GPU with fp16 support
Research | Model tinkerers | Add LoRAs or fine-tunes on top | Training an adapter without overflow

You can skip it if you already run bf16 or fp32 without trouble, or if you want a different image model.

Where to use it: The files target three places, and the card lists which file goes where.

  • diffusers, through the MOSSImageTransformer folders for Base and SFT
  • ComfyUI, through single-file fp16 checkpoints
  • KohakuMoss, the author's trainer and runner
Use case | Who | What they get back
Safe fp16 generation | ComfyUI users | Images without NaN or black output at large sizes
Diffusers pipelines | Developers | An fp16 transformer matching the official config
Tuning on top | Trainers | More headroom when adding LoRAs or fine-tunes

How to set it up: You need Python and the Hugging Face tools to fetch the files, then one of the three runners. The card says the text encoder and VAE come from the official or Comfy-Org releases.

  • Python with pip
  • diffusers, ComfyUI or KohakuMoss
  • The official text encoder and VAE, which this repository does not change
  1. Install the Hugging Face hub tools with pip.
  2. Download the repository files with the hf command.
  3. Point your runner at the Base or SFT transformer, or the matching ComfyUI file.
pip install -U huggingface_hub
hf download KBlueLeaf/MOSS-Image-FP16-fixed

How to use it: Choose Base or SFT, then load the matching file in your tool. In ComfyUI use the single-file checkpoint, and in diffusers load the transformer folder. The card shows no run command.

File | Used for
base/transformer and sft/transformer | The diffusers MOSSImageTransformer, in fp16
moss_image_base_fp16_fixed.safetensors | A single ComfyUI file for Base
moss_image_sft_fp16_fixed.safetensors | A single ComfyUI file for SFT
reports folder | The numbers behind the page, per image

Example: You load the fixed Base file in ComfyUI with fp16 and render a 2560 by 2560 image. The card says the official file turns black at that size, while the fixed weights stay finite.

For newcomers and experts: If you are new, this is the same image model, adjusted so the numbers inside it stay small enough for fp16. Swap it in where you used the official file and render a normal image first.

If you know the field, the residual stream peaks near 62,000 at block 26 of 42, just under fp16's limit of 65,504. Scaling by 1/16 inside the weights gives 16.9 times headroom there. The card measured 189 forwards and real 50-step sampling to show this.

Official weights peak near the fp16 limit
Scale the residual stream by 1/16
Run in fp16 with wide headroom
Same images up to rounding

Good to know: Plain fp16 on the official file passed every test the author ran up to 2048 by 2048, then failed at 2560 by 2560 on step 29 of 50. The fixed weights keep much more margin.

Title: Headroom to the fp16 limit at block 26, times
Official weights: 1.05 times
Fixed weights: 16.9 times
  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: the model files you download and the prompts you give your own runner
  • Not for: changing the text encoder, VAE or scheduler, since only the transformer is changed

On Hugging Face, 13 November 2026

  • Task: text to image
  • Library: diffusers
  • Formats: Safetensors
  • Downloads in the last 30 days: 0
  • Likes: 38
  • License: apache-2.0
  • Based on: OpenMOSS-Team/MOSS-Image-Base
  • Tags: diffusers, safetensors, moss-image, fp16, comfyui, text-to-image

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download KBlueLeaf/MOSS-Image-FP16-fixed

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
MOSS-Image FP16-fixed This page038—apache-2.0
MOSS-Image-heal by KBlueLeafShares fp16 · moss-image · comfyui0765.1Bapache-2.0
MOSS-Image-SFT-4-stepsShares moss-image · text-to-image · diffusers73,131965.1Bapache-2.0
KromossShares moss-image · text-to-image · diffusers64,7283225.1Bapache-2.0
MOSS-Image-SFTShares moss-image · text-to-image · diffusers22,9639505.1Bapache-2.0
MOSS-Image-BaseShares moss-image · text-to-image · diffusers13,5356565.1Bapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k