Run this model with HF Jobs

Run zghhui/OmniNFT 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/zghhui/OmniNFT. 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/zghhui/OmniNFT 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.

🎬 OmniNFT RL-LoRA for LTX Video

πŸš€ Modality-wise Omni Diffusion Negative-aware Fine-Tuning for LTX-2 and LTX-2.3~

Project Page GitHub License


πŸ“ Model Files

Folder Base Model Description
LTX-2-RL-Lora/ Lightricks/LTX-2 RL-LoRA for LTX-2
LTX-2.3-RL-Lora/ Lightricks/LTX-2.3 RL-LoRA for LTX-2.3

πŸ› οΈ Quick Start

1️⃣ Clone the Code

git clone https://github.com/zghhui/OmniNFT.git
cd OmniNFT
pip install -r requirements.txt

2️⃣ Download Base Models

Download the base checkpoints from HuggingFace:

# LTX-2
huggingface-cli download Lightricks/LTX-2 --local-dir ./checkpoints/LTX-2

# LTX-2.3
huggingface-cli download Lightricks/LTX-2.3 --local-dir ./checkpoints/LTX-2.3

3️⃣ Download RL-LoRA Weights

# LTX-2 LoRA
huggingface-cli download zghhui/OmniNFT \
    --include "LTX-2-RL-Lora/*" \
    --local-dir ./checkpoints/

# LTX-2.3 LoRA
huggingface-cli download zghhui/OmniNFT \
    --include "LTX-2.3-RL-Lora/*" \
    --local-dir ./checkpoints/

4️⃣ Merge LoRA into Base Model

# πŸ”€ Merge LTX-2 + RL-LoRA
python scripts/merge_lora.py \
    --checkpoint-path ./checkpoints/LTX-2/transformer/model.safetensors \
    --lora-dir ./checkpoints/LTX-2-RL-Lora \
    --output-path ./merged_model_ltx2.safetensors \
    --dtype bf16

# πŸ”€ Merge LTX-2.3 + RL-LoRA
python scripts/merge_lora.py \
    --checkpoint-path ./checkpoints/LTX-2.3/transformer/model.safetensors \
    --lora-dir ./checkpoints/LTX-2.3-RL-Lora \
    --output-path ./merged_model_ltx23.safetensors \
    --dtype bf16

5️⃣ Inference πŸŽ₯

python scripts/inference.py \
    --model_path ./merged_model_ltx2.safetensors \
    --gemma_path $GEMMA_MODEL_PATH \
    --prompt "A man plays acoustic guitar on a wooden stage, warm applause from the audience" \
    --seed 42 \
    --output_dir ./results

πŸ“ Citation

If you find this work helpful, please consider citing:

@article{zhang2026omninft,
  title={OmniNFT: Modality-wise Omni Diffusion Reinforcement for Joint Audio-Video Generation},
  author={Zhang, Guohui and Ma, XiaoXiao and Huang, Jie and Xu, Hang and Yu, Hu and Fu, Siming and Li, Yuming and Xue, Zeyue and Song, Lin and Huang, Haoyang and Duan, Nan and Zhao, Feng},
  journal={arXiv preprint arXiv:2605.12480},
  year={2026}
}

πŸ™ Acknowledgements


πŸ“„ License

This project is licensed under the Apache 2.0 License.

Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for zghhui/OmniNFT

Base model

Lightricks/LTX-2
Adapter
(62)
this model

Collection including zghhui/OmniNFT

Paper for zghhui/OmniNFT