Run this model with HF Jobs
Run Bruece/FLUX.1-dev-CMO on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Bruece/FLUX.1-dev-CMO. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Bruece/FLUX.1-dev-CMO on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Bruece/FLUX.1-dev-CMO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Bruece/FLUX.1-dev-CMO with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Bruece/FLUX.1-dev-CMO") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload folder using huggingface_hub
Browse filesFiles changed (3)
- .gitattributes+1
- README.md+21-7
- cmo_logo_tight.pngAdded
33 unmodified lines34353633 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textconceptmix_results.png filter=lfs diff=lfs merge=lfs -text33 unmodified lines3435363733 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textconceptmix_results.png filter=lfs diff=lfs merge=lfs -textcmo_logo_tight.png filter=lfs diff=lfs merge=lfs -text
13 unmodified lines141516171819202122232425262713 unmodified lines414243444546474849505152535455565758596061626364656667686970717213 unmodified lines# FLUX.1-dev-CMO<p align="center">π€ <a href="https://huggingface.co/Bruece/FLUX.1-dev-CMO"><b>Hugging Face</b></a> | π <a href="https://github.com/TheDarkKnight-21th/CMO"><b>GitHub</b></a> | π <a href="https://arxiv.org/abs/2603.18528"><b>arXiv</b></a></p>**π Official LoRA Adapter for [Correlation-Weighted Multi-Reward Optimization for Compositional Generation](https://arxiv.org/abs/2603.18528), accepted to ECCV 2026**This repository contains the official LoRA adapter for [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) fine-tuned using **CMO (Correlation-Weighted Multi-Reward Optimization)**, our ECCV 2026 work on improving compositional generation capabilities.## π Usage13 unmodified linespipe.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_lora.png")```## πΌοΈ Qualitative Results<details><summary>ConceptMix (<a href="[https://arxiv.org/abs/2408.14339](https://arxiv.org/abs/2408.14339)">Link</a>)</summary><br><img src="./conceptmix_results.png" alt="ConceptMix Results"></details><details><summary>GenEval 2 (<a href="[https://arxiv.org/abs/2512.16853](https://arxiv.org/abs/2512.16853)">Link</a>)</summary><br><img src="./GenEval2_results.png" alt="GenEval 2 Results"></details><details><summary>T2I-CompBench (<a href="[https://arxiv.org/pdf/2307.06350v2](https://arxiv.org/pdf/2307.06350v2)">Link</a>)</summary><br><img src="./T2I-CompBench_results.png" alt="T2I-CompBench Results"></details>## π οΈ Training Details- **Base Model:** FLUX.1-dev- **Algorithm:** Correlation-Weighted Multi-Reward Optimization (CMO)- **Precision:** bfloat1613 unmodified lines141516171819202122232425262728293031323313 unmodified lines4748495051525354555657585960616263646566676869707172737475767778798081828384858613 unmodified lines# FLUX.1-dev-CMO<p align="center"><img src="./cmo_logo_tight.png" alt="CMO Logo" width="500"></p><p align="center">π€ <a href="https://huggingface.co/Bruece/FLUX.1-dev-CMO"><b>Hugging Face</b></a> | π <a href="https://thedarkknight-21th.github.io/CMO/"><b>Project Page</b></a> | π <a href="https://github.com/TheDarkKnight-21th/CMO"><b>GitHub</b></a> | π <a href="https://arxiv.org/abs/2603.18528"><b>arXiv</b></a></p>π Official LoRA Adapter for [Correlation-Weighted Multi-Reward Optimization for Compositional Generation](https://arxiv.org/abs/2603.18528), accepted to ECCV 2026.This repository contains the official LoRA adapter for [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) fine-tuned using CMO (Correlation-Weighted Multi-Reward Optimization), our ECCV 2026 work on improving compositional generation capabilities.## π Usage13 unmodified linespipe.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_lora.png")```## πΌοΈ Qualitative Results<details><summary>ConceptMix (<a href="https://arxiv.org/abs/2408.14339">Link</a>)</summary><br><img src="./conceptmix_results.png" alt="ConceptMix Results"></details><details><summary>GenEval 2 (<a href="https://arxiv.org/abs/2512.16853">Link</a>)</summary><br><img src="./GenEval2_results.png" alt="GenEval 2 Results"></details><details><summary>T2I-CompBench (<a href="https://arxiv.org/pdf/2307.06350v2">Link</a>)</summary><br><img src="./T2I-CompBench_results.png" alt="T2I-CompBench Results"></details>## π οΈ Training Details- **Base Model:** FLUX.1-dev- **Algorithm:** Correlation-Weighted Multi-Reward Optimization (CMO)- **Precision:** bfloat16
.gitattributes+1
README.md+21-7
cmo_logo_tight.pngAdded

Large File Pointer Details
- SHA256: 9bbcdc43dff831e555e9309466a970251a28443367202c4245c9bbe68c3808e4
- Pointer size: 131 Bytes
- Size of remote file: 989 kB