#108108th of 126 in Training and fine-tuningFor image, video and design, video and animation

ttt-video-dit

Fine-tuning code for CogVideoX-5B with TTT layers for 63-second videos

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
2.5k
License
MIT
Last commit
Feb 2026
Language
Python
Stars, last 30 weeks+67
27 Apr 2026: 2,387 stars4 May 2026: 2,391 stars11 May 2026: 2,396 stars18 May 2026: 2,398 stars25 May 2026: 2,398 stars1 Jun 2026: 2,401 stars8 Jun 2026: 2,408 stars15 Jun 2026: 2,409 stars22 Jun 2026: 2,409 stars29 Jun 2026: 2,412 stars6 Jul 2026: 2,414 stars13 Jul 2026: 2,419 stars20 Jul 2026: 2,421 stars27 Jul 2026: 2,425 stars3 Aug 2026: 2,427 stars10 Aug 2026: 2,432 stars17 Aug 2026: 2,436 stars24 Aug 2026: 2,438 stars31 Aug 2026: 2,442 stars7 Sept 2026: 2,443 stars14 Sept 2026: 2,444 stars21 Sept 2026: 2,444 stars28 Sept 2026: 2,445 stars5 Oct 2026: 2,446 stars12 Oct 2026: 2,448 stars19 Oct 2026: 2,449 stars26 Oct 2026: 2,449 stars2 Nov 2026: 2,449 stars9 Nov 2026: 2,451 stars16 Nov 2026: 2,453 stars23 Nov 2026: 2,454 stars

2,387 on 27 Apr 20262,454 on 23 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Training and inference code that adapts the CogVideoX 5B text-to-video diffusion transformer with Test-Time Training layers. The TTT layers handle global context, while the original attention layers handle each 3-second segment. Training runs in stages at 3, 9, 18, 30 and 63 seconds for style transfer and context extension.

Who it is for: Researchers fine-tuning video diffusion models for long context on H100s

Strengths

  • Staged context extension from 3 s to 63 s video, with training and sampling docs
  • Reuses pretrained CogVideoX-5B attention for local segments instead of training from scratch
  • Architecture described in a CVPR 2025 paper; MIT license

Weaknesses

  • TTT-MLP kernel needs CUDA toolkit 12.3+ and gcc11+ to build
  • TTT-MLP training supported only on H100 GPUs
  • Final demo model weights not provided; only base pretrained weights are referenced
  • No Docker image; setup needs a manual kernel build and separate CogVideoX downloads

What it needs

  • GPU required
  • Needs CUDA toolkit 12.3+, gcc 11+, conda, ttt-tk submodule, CogVideoX-5B weights, VAE and T5 encoder
  • Models: CogVideoX-5B

Also in Training and fine-tuning

See all 126
Also in Training and fine-tuning
RankProjectScore
#106fairseq2PyTorch toolkit for training and fine-tuning sequence models such as LLMs and speech1.2k starsMIT32 out of 100
#107roboflow/maestroFine-tuning CLI and Python SDK for vision-language models2.7k starsApache-2.030 out of 100
#109mlx-tuneFine-tune LLMs, VLMs, speech and embedding models on Apple Silicon1.5k starsApache-2.029 out of 100
#110finetrainersTraining library for LoRA and full finetuning of video and image diffusion models1.4k starsApache-2.028 out of 100
#111hugectrGPU framework for training large recommender models with huge embedding tables1.1k starsApache-2.027 out of 100