Downloads · 30 days
23
11% of all-time downloads
Bruece/FLUX.1-dev-CMO-HPSv2
FLUX.1-dev-CMO-HPSv2 is a text-to-image model from Bruece. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
<p align="center" <img src="./cmologotight.png" alt="CMO Logo" width="500" </p
Downloads · 30 days
23
11% of all-time downloads
All-time downloads
205
Public
Repo size
360 MB
Likes
0
Public
Click a slice to open those files.
.safetensors359 MB · 100%
From the Hugging Face model README
🌟 Official LoRA Adapter for Correlation-Weighted Multi-Reward Optimization for Compositional Generation, accepted to ECCV 2026
This repository contains the official LoRA adapter for black-forest-labs/FLUX.1-dev fine-tuned using CMO (Correlation-Weighted Multi-Reward Optimization), our ECCV 2026 work on improving compositional generation capabilities. This variant was trained with the CMO reward together with the HPSv2 reward for human preference alignment.
Below is the code to load and merge the LoRA adapter with the base FLUX.1-dev model.
import torch
from diffusers import FluxPipeline
from peft import PeftModel
model_id = "black-forest-labs/FLUX.1-dev"
lora_ckpt_path = "Bruece/FLUX.1-dev-CMO-HPSv2"
device = "cuda"
pipe = FluxPipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16)
pipe.transformer = PeftModel.from_pretrained(pipe.transformer, lora_ckpt_path)
pipe.transformer = pipe.transformer.merge_and_unload()
pipe = pipe.to(device)
prompt = "a photo of a black kite and a green bear"
image = pipe(
prompt,
height=512,
width=512,
num_inference_steps=40,
guidance_scale=4.5
).images[0]
image.save("flux_cmo_hpsv2_lora.png")
If you find this ECCV 2026 model useful for your research, please cite:
@article{wi2026correlation,
title={Correlation-Weighted Multi-Reward Optimization for Compositional Generation},
author={Wi, Jungmyung and Kim, Hyunsoo and Kim, Donghyun},
journal={arXiv preprint arXiv:2603.18528},
year={2026}
}