/ Модель

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

Лицензия
Apache 2.0
Опубликована
8 авг 2025

Chroma1-HD

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

Chroma1-HD — базовая модель Lodestones на основе FLUX.1-schnell для генерации изображений по текстовым описаниям и создания специализированных моделей.

61 392скачиваний за 30 дней415лайковвеса обновлены23 окт 2025

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображения» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели сгенерируют результат по каждой задаче. Опубликованный тест появится на этой странице.

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

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

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

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

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

Chroma1-HD — базовая модель для генерации изображений по текстовому описанию, разработанная Lodestones. Это модель с 8,9 млрд параметров на основе FLUX.1-schnell с изменённым слоем кодирования временного шага и маскированием токенов заполнения T5. Она обучена на отобранном наборе из 5 млн примеров, собранных из пула в 20 млн изображений и включающем художественные, фотографические и нишевые стили.

Модель предназначена для генерации изображений, а также как основа для дообучения под конкретные стили, концепции и персонажей. Её можно применять через diffusers и ComfyUI; для ComfyUI требуются текстовый кодировщик T5 XXL и VAE FLUX. В README также описан вариант с квантованным инференсом через gemlite.

Модель выпущена по лицензии Apache 2.0. Она не настроена с помощью специального фильтра безопасности и может воспроизводить предубеждения обучающих данных, а также создавать вредоносный, откровенный или оскорбительный контент. Подробный технический отчёт, согласно карточке, ещё готовится.

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

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

Ограничения

Модель не имеет специального фильтра безопасности и может отражать предубеждения обучающих данных или генерировать вредоносный, откровенный и оскорбительный контент. Для использования через ComfyUI нужны отдельные компоненты T5 XXL и FLUX VAE.

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

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

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

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

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

Открыть на Hugging Face

Chroma1-HD

Chroma1-HD is an 8.9B parameter text-to-image foundational model based on FLUX.1-schnell. It is fully Apache 2.0 licensed, ensuring that anyone can use, modify, and build upon it.

As a base model, Chroma1 is intentionally designed to be an excellent starting point for finetuning. It provides a strong, neutral foundation for developers, researchers, and artists to create specialized models.

for the fast CFG "baked" version please go to Chroma1-Flash.

Key Features

  • High-Performance Base: 8.9B parameters, built on the powerful FLUX.1 architecture.
  • Easily Finetunable: Designed as an ideal checkpoint for creating custom, specialized models.
  • Community-Driven & Open-Source: Fully transparent with an Apache 2.0 license, and training history.
  • Flexible by Design: Provides a flexible foundation for a wide range of generative tasks.

Special Thanks

A massive thank you to our supporters who make this project possible.

  • Anonymous donor whose incredible generosity funded the pretraining run and data collections. Your support has been transformative for open-source AI.
  • Fictional.ai for their fantastic support and for helping push the boundaries of open-source AI. You can try Chroma on their platform:

FictionalChromaBanner_1.png

How to Use

diffusers Library

install the requirements

pip install transformers diffusers sentencepiece accelerate

import torch
from diffusers import ChromaPipeline

pipe = ChromaPipeline.from_pretrained("lodestones/Chroma1-HD", torch_dtype=torch.bfloat16)
pipe.enable_model_cpu_offload()

prompt = [
    "A high-fashion close-up portrait of a blonde woman in clear sunglasses. The image uses a bold teal and red color split for dramatic lighting. The background is a simple teal-green. The photo is sharp and well-composed, and is designed for viewing with anaglyph 3D glasses for optimal effect. It looks professionally done."
]
negative_prompt =  ["low quality, ugly, unfinished, out of focus, deformed, disfigure, blurry, smudged, restricted palette, flat colors"]

image = pipe(
    prompt=prompt,
    negative_prompt=negative_prompt,
    generator=torch.Generator("cpu").manual_seed(433),
    num_inference_steps=40,
    guidance_scale=3.0,
    num_images_per_prompt=1,
).images[0]
image.save("chroma.png")

Quantized inference using gemlite

import torch
from diffusers import ChromaPipeline

pipe = ChromaPipeline.from_pretrained("lodestones/Chroma1-HD", torch_dtype=torch.float16)
#pipe.enable_model_cpu_offload()

#######################################################
import gemlite
device = 'cuda:0'
processor = gemlite.helper.A8W8_int8_dynamic
#processor = gemlite.helper.A8W8_fp8_dynamic
#processor = gemlite.helper.A16W4_MXFP

for name, module in pipe.transformer.named_modules():
    module.name = name

def patch_linearlayers(model, fct):
    for name, layer in model.named_children():
        if isinstance(layer, torch.nn.Linear):
            setattr(model, name, fct(layer, name))
        else:
            patch_linearlayers(layer, fct)

def patch_linear_to_gemlite(layer, name):
    layer = layer.to(device, non_blocking=True)
    try:
        return processor(device=device).from_linear(layer) 
    except Exception as exception:
        print('Skipping gemlite conversion for: ' + str(layer.name), exception)
        return layer

patch_linearlayers(pipe.transformer, patch_linear_to_gemlite)
torch.cuda.synchronize()
torch.cuda.empty_cache()

pipe.to(device)
pipe.transformer.forward = torch.compile(pipe.transformer.forward, fullgraph=True)
pipe.vae.forward = torch.compile(pipe.vae.forward, fullgraph=True)
#pipe.set_progress_bar_config(disable=True)
#######################################################

prompt = [
    "A high-fashion close-up portrait of a blonde woman in clear sunglasses. The image uses a bold teal and red color split for dramatic lighting. The background is a simple teal-green. The photo is sharp and well-composed, and is designed for viewing with anaglyph 3D glasses for optimal effect. It looks professionally done."
]
negative_prompt =  ["low quality, ugly, unfinished, out of focus, deformed, disfigure, blurry, smudged, restricted palette, flat colors"]

import time
for _ in range(3):
    t_start = time.time()
    image = pipe(
        prompt=prompt,
        negative_prompt=negative_prompt,
        generator=torch.Generator("cpu").manual_seed(433),
        num_inference_steps=40,
        guidance_scale=3.0,
        num_images_per_prompt=1,
    ).images[0]
    t_end = time.time()
    print(f"Took: {t_end - t_start} secs.") #66.1242527961731 -> 27.72 sec

image.save("chroma.png")

ComfyUI For advanced users and customized workflows, you can use Chroma with ComfyUI.

Requirements:

Chroma Workflow Workflow Overview

Setup:

  1. Place the T5_xxl model in your ComfyUI/models/clip folder.
  2. Place the FLUX VAE in your ComfyUI/models/vae folder.
  3. Place the Chroma checkpoint in your ComfyUI/models/diffusion_models folder.
  4. Load the Chroma workflow file into ComfyUI and run.

Model Details

  • Architecture: Based on the 8.9B parameter FLUX.1-schnell model.
  • Training Data: Trained on a 5M sample dataset curated from a 20M pool, including artistic, photographic, and niche styles.
  • Technical Report: A comprehensive technical paper detailing the architectural modifications and training process is forthcoming.

Intended Use

Chroma is intended to be used as a base model for researchers and developers to build upon. It is ideal for:

  • Finetuning on specific styles, concepts, or characters.
  • Research into generative model behavior, alignment, and safety.
  • As a foundational component in larger AI systems.

Limitations and Bias Statement

Chroma is trained on a broad, filtered dataset from the internet. As such, it may reflect the biases and stereotypes present in its training data. The model is released in a state as is and has not been aligned with a specific safety filter.

Users are responsible for their own use of this model. It has the potential to generate content that may be considered harmful, explicit, or offensive. I encourage developers to implement appropriate safeguards and ethical considerations in their downstream applications.

Summary of Architectural Modifications

(For a full breakdown, tech report soon-ish.)

  • 12B → 8.9B Parameters:
    • TL;DR: I replaced a 3.3B parameter timestep-encoding layer with a more efficient 250M parameter FFN, as the original was vastly oversized for its task.
  • MMDiT Masking:
    • TL;DR: Masking T5 padding tokens enhanced fidelity and increased training stability by preventing the model from focusing on irrelevant <pad> tokens.
  • Custom Timestep Distributions:
    • TL;DR: I implemented a custom timestep sampling distribution (-x^2) to prevent loss spikes and ensure the model trains effectively on both high-noise and low-noise regions.

P.S

Chroma1-HD is not the old Chroma-v.50 it has been retrained from v.48

Citation

@misc{rock2025chroma,
  author = {Lodestone Rock},
  title = {Chroma1-HD},
  year = {2025},
  publisher = {Hugging Face},
  journal = {Hugging Face repository},
  howpublished = {\url{https://huggingface.co/lodestones/Chroma1-HD}},
}

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Ревизия весов
0e0c60e

0 моделей