Diffusers
Safetensors
English
Text-to-video

Run this model with HF Jobs

Run CaiYuanhao/PhyGDPO 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/CaiYuanhao/PhyGDPO. 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/CaiYuanhao/PhyGDPO 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.
How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("CaiYuanhao/PhyGDPO", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

[ECCV 2026] PhyGDPO: Physics-Aware Groupwise Direct Preference Optimization for Physically Consistent Text-to-Video Generation

Meta AI Zhihu arXiv project Hugging Face Hugging Face

Image-to-video checkpoints

Model Description

Here are two models based on Wan2.1-1.3B and Wan2.1-14B for physically consistent text-to-video generation. The two models are post-trained by our re-implemented PhyGDPO algorithm on public datasets.

(1) A gymnast drops from the parallel bars and lands safely on the mat below.
Ours OpenAI Sora 2 Google Veo 3.1
(2) A soccer player runs, plants their foot, and drop-kicks a soccer ball high into the air, with the ball visibly arcing through the air.
Ours OpenAI Sora 2 Google Veo 3.1
(3) A person wearing a helmet performs a handspring over a platform.
Ours OpenAI Sora 2 Google Veo 3.1
(4) A person plays squash on an indoor court.
Ours OpenAI Sora 2 Google Veo 3.1

Download checkpoints

The root config.json lists this repository's checkpoints, supporting files, and implementation. Include it when downloading selected weights so those downloads can be counted by the Hugging Face Hub. Use the linked implementation and its matching runtime configuration to load the checkpoints.

pip install -U huggingface_hub
hf download CaiYuanhao/PhyGDPO --include "config.json" "*.safetensors" --local-dir PhyGDPO

Github Code Link

This dataset is intended to be used together with our code. Please refer to the GitHub repository below for more detailed instructions.

https://github.com/caiyuanhao1998/Open-PhyGDPO

Huggingface Dataset Link

We also release three models based on Wan2.1-1.3B and Wan2.1-14B in the following link:

https://huggingface.co/datasets/CaiYuanhao/PhyGDPO

Project Page Link

For more video customization results, please refer to our project page:

https://caiyuanhao1998.github.io/project/PhyGDPO/

Meta AI Research Report

https://ai.meta.com/research/publications/phygdpo-physics-aware-groupwise-direct-preference-optimization-for-physically-consistent-text-to-video-generation/

Arxiv Paper Link

For more technical details, please refer to our ECCV 2026 paper:

https://arxiv.org/abs/2512.24551

知乎中文解读

https://zhuanlan.zhihu.com/p/2060200098131350370

Citation

If you find our code, data, and models useful, please consider citing our paper:

  @inproceedings{phygdpo,
  title={PhyGDPO: Physics-Aware Groupwise Direct Preference Optimization for Physically Consistent Text-to-Video Generation},
  author={Cai, Yuanhao and Li, Kunpeng and Jia, Menglin and Wang, Jialiang and Sun, Junzhe and Liang, Feng and Chen, Weifeng and Juefei-Xu, Felix and Wang, Chu and Thabet, Ali and Dai, Xiaoliang and Ju, Xuan and Yuille, Alan and Hou, Ji},
  booktitle={ECCV},
  year={2026}
}
Downloads last month
60
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for CaiYuanhao/PhyGDPO

Finetuned
(135)
this model

Spaces using CaiYuanhao/PhyGDPO 2

Paper for CaiYuanhao/PhyGDPO