Aller au contenu
ModelPrésentéExterne
Browse files

LongLive RAG

This repository hosts the model checkpoints, prompt files, and a toy latent set for LongLive-RAG: A General Retrieval-Augmented Framework for Long Video Generation.

TypeOtherVersionRevision aaafe32BClasse

Source du modèle

Type
Other
Taille du fichier
17,1 MB–5,29 GB
Version
vRevision aaafe32
Mis à jour
4 oct. 2026
Téléchargements
0
Source
Hugging Face

Description de la source

LongLive-RAG — Checkpoints & Toy Data

This repository hosts the model checkpoints, prompt files, and a toy latent set for
LongLive-RAG: A General Retrieval-Augmented Framework for Long Video Generation.

What's in here

checkpoints/
├── causal_forcing.pt              # Causal-Forcing AR backbone
├── self_forcing.pt                # Self-Forcing AR backbone
├── longlive_base.pt               # LongLive AR backbone
├── longlive_lora.pt               # LongLive LoRA, paired with longlive_base.pt
├── ae_latent_mem.pt               # Retrieval autoencoder, default for inference
├── moviegenbench_128_refined.txt  # 128 MovieGenBench prompts
└── vidprom_filtered_extended.txt  # Self-Forcing prompt pool for generate_latent.py

toydatasets/
└── latent_0000xx.pt               # Tiny example latent set for the training demo
  • AR backbones — causal_forcing.pt, self_forcing.pt, and longlive_base.pt + longlive_lora.pt — are the frozen base generators that LongLive-RAG plugs into.
  • ae_latent_mem.pt is the trainable retrieval encoder, implemented as a small latent autoencoder. This is the only component LongLive-RAG trains.
  • toydatasets/ contains a tiny set of clean latent blocks for smoke-testing the autoencoder training pipeline end-to-end.

The base WAN VAE (Wan-AI/Wan2.1-T2V-1.3B) that LongLive-RAG operates in the latent space of is not included here. Please download it separately, as described below.

Download

Everything restores into the expected layout of the code repository. Run the following commands from the root of your local LongLive-RAG checkout:

# Base WAN VAE — LongLive-RAG operates in its latent space
hf download Wan-AI/Wan2.1-T2V-1.3B --local-dir wan_models/Wan2.1-T2V-1.3B

# All LongLive-RAG assets — restores checkpoints/ and toydatasets/ in place
hf download qixinhu11/LongLive-RAG --local-dir . --include "checkpoints/*" "toydatasets/*"

The --include filter pulls only checkpoints/ and toydatasets/, so it will not overwrite your local README.md. Older setups can replace hf download with huggingface-cli download using the same arguments.

To pull a single file instead:

hf download qixinhu11/LongLive-RAG checkpoints/ae_latent_mem.pt --local-dir .

Usage

Clone the code repository, download the assets above, then run the shipped 3 × 2 grid, covering three AR backbones and two context-assembly methods:

# Main result: LongLive backbone + LongLive-RAG retrieval
bash inference.sh longlive latentmem

# Baseline: native sliding-window context
bash inference.sh causal_forcing native

See the GitHub README for full installation, inference, and training instructions.

Paper

LongLive-RAG is described in the following paper:

LongLive-RAG: A General Retrieval-Augmented Framework for Long Video Generation
Qixin Hu, Shuai Yang, Wei Huang, Song Han, Yukang Chen

If you find this repository useful, please cite our paper.

License

Released under the Apache 2.0 license.

The included AR backbones and WAN VAE latent space derive from their respective upstream projects:

Please also respect the original licenses of these upstream projects.

Citation

@article{hu2026longliverag,
  title         = {LongLive-RAG: A General Retrieval-Augmented Framework for Long Video Generation},
  author        = {Hu, Qixin and Yang, Shuai and Huang, Wei and Han, Song and Chen, Yukang},
  journal       = {arXiv preprint arXiv:2606.02553},
  year          = {2026},
  eprint        = {2606.02553},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV}
}

Sources

1 source
Hugging FacePrincipalVersion aaafe325726e0204ada9d1f019356fde97e08c2e
huggingface.co/qixinhu11/LongLive-RAG/tree/aaafe325726e0204ada9d1f019356fde97e08c2e

Vérifié 24 août

Download files

Artefacts du modèle

25 artefacts

checkpoints/ae_latent_mem.pt

pt · 346 MB · SHA-256 977c14ff89a0…ab7e · Hugging Face

Download file

checkpoints/causal_forcing.pt

pt · 5,29 GB · SHA-256 cf75ee5cc6f4…cd9d · Hugging Face

Download file

checkpoints/longlive_base.pt

pt · 5,29 GB · SHA-256 10a2aa8fcf89…8ee7 · Hugging Face

Download file

checkpoints/longlive_lora.pt

pt · 2,61 GB · SHA-256 c4e43b87d62d…c07a · Hugging Face

Download file

checkpoints/self_forcing.pt

pt · 5,29 GB · SHA-256 52bf11ea59a5…52f5 · Hugging Face

Download file

toydatasets/latent_000000.pt

pt · 17,1 MB · SHA-256 cf654a6f6fd2…b3ab · Hugging Face

Download file

toydatasets/latent_000001.pt

pt · 17,1 MB · SHA-256 ce0d4e45a6fd…ae24 · Hugging Face

Download file

toydatasets/latent_000002.pt

pt · 17,1 MB · SHA-256 1a5ed4eaba9a…b96e · Hugging Face

Download file

toydatasets/latent_000003.pt

pt · 17,1 MB · SHA-256 d26e958f50c1…91fd · Hugging Face

Download file

toydatasets/latent_000004.pt

pt · 17,1 MB · SHA-256 22af9ace8c15…1d89 · Hugging Face

Download file

toydatasets/latent_000005.pt

pt · 17,1 MB · SHA-256 c426de02f039…9480 · Hugging Face

Download file

toydatasets/latent_000006.pt

pt · 17,1 MB · SHA-256 550b91f01452…89ad · Hugging Face

Download file

toydatasets/latent_000007.pt

pt · 17,1 MB · SHA-256 93f932dd5b57…be65 · Hugging Face

Download file

toydatasets/latent_000008.pt

pt · 17,1 MB · SHA-256 817cd6c75454…87e8 · Hugging Face

Download file

toydatasets/latent_000009.pt

pt · 17,1 MB · SHA-256 ce03cf918190…bfa3 · Hugging Face

Download file

toydatasets/latent_000010.pt

pt · 17,1 MB · SHA-256 0c81f51640d0…71c7 · Hugging Face

Download file

toydatasets/latent_000011.pt

pt · 17,1 MB · SHA-256 99b77fa97265…a757 · Hugging Face

Download file

toydatasets/latent_000012.pt

pt · 17,1 MB · SHA-256 98619e919894…1b22 · Hugging Face

Download file

toydatasets/latent_000013.pt

pt · 17,1 MB · SHA-256 c98296afe041…d7d3 · Hugging Face

Download file

toydatasets/latent_000014.pt

pt · 17,1 MB · SHA-256 83b4a4deea77…79e5 · Hugging Face

Download file

toydatasets/latent_000015.pt

pt · 17,1 MB · SHA-256 a696a6336a00…3c83 · Hugging Face

Download file

toydatasets/latent_000016.pt

pt · 17,1 MB · SHA-256 5d3ceae1a108…dbfa · Hugging Face

Download file

toydatasets/latent_000017.pt

pt · 17,1 MB · SHA-256 002d1c50cca4…9299 · Hugging Face

Download file

toydatasets/latent_000018.pt

pt · 17,1 MB · SHA-256 36cc0b2299d6…f7ff · Hugging Face

Download file

toydatasets/latent_000019.pt

pt · 17,1 MB · SHA-256 716719fe50b4…8f3a · Hugging Face

Download file

Extraits de sources

2 extraits

--- license: apache-2.0 library_name: pytorch pipeline_tag: text-to-video tags: - long-video-generation - autoregressive - retrieval-augmented-generation - video-generation - wan - longlive - arxiv:2606.02553 language: - en --- # LongLive-RAG — Checkpoints & Toy Data This repository hosts the model checkpoints, prompt files, and a toy latent set for **LongLive-RAG: A General Retrieval-Augmented Framework for Long Video Generation**. - 📄 **Paper:** https://arxiv.org/abs/2606.02553 - 🤗 **HF Paper Page:** https://huggingface.co/papers/2606.02553 - 💻 **Code:** https://github.com/qixinhu11/LongLive-RAG - 🔍 **TL;DR:** LongLive-RAG turns long video generation into a *retrieval problem*. An autoregressive (AR) video generator looks back over the video it has *already* generated and retrieves the most relevant past latents as additional context — reducing error accumulation, identity drift, and background flicker over long horizons, **without retraining the base generator**. ## What's in here ```text checkpoints/ ├── causal_forcing.pt # Causal-Forcing AR backbone ├── self_forcing.pt # Self-Forcing AR backbone ├── longlive_base.pt # LongLive AR backbone ├── longlive_lora.pt # LongLive LoRA, paired with longlive_base.pt ├── ae_latent_mem.pt # Retrieval autoencoder, default for inference ├── moviegenbench_128_refined.txt # 128 MovieGenBench prompts └── vidprom_filtered_extended.txt # Self-Forcing prompt pool for generate_latent.py toydatasets/ └── latent_0000xx.pt # Tiny example latent set for the training demo ``` - **AR backbones** — `causal_forcing.pt`, `self_forcing.pt`, and `longlive_base.pt` + `longlive_lora.pt` — are the frozen base generators that LongLive-RAG plugs into. - **`ae_latent_mem.pt`** is the trainable retrieval encoder, implemented as a small latent autoencoder. This is the only component LongLive-RAG trains. - **`toydatasets/`** contains a tiny set of clean latent blocks for smoke-testing the autoencoder training pipeline end-to-end. > The base **WAN VAE** (`Wan-AI/Wan2.1-T2V-1.3B`) that LongLive-RAG operates in the latent > space of is **not** included here. Please download it separately, as described below. ## Download Everything restores into the expected layout of the code repository. Run the following commands from the root of your local [LongLive-RAG](https://github.com/qixinhu11/LongLive-RAG) checkout: ```bas...

Source context: 0 downloads · 4 likes · Pipeline text-to-video · Library pytorch · Repo qixinhu11/LongLive-RAG