LongLive

LongLive 2.0: Infra - Long Video Gen

23 articles 1.9k View on GitHub ↗
23 articles
How to Integrate TriAttention KV Cache Compression with LongLive: Complete Implementation Guide

Learn to integrate TriAttention KV cache compression with LongLive. Reduce GPU memory by 50% with this guide and boost your model's efficiency without sacrificing quality.

how-to-guide
May 24, 2026
How to Configure Local Attention Size for Long Video Generation in LongLive

Master local attention size for long video generation in LongLive. Learn to configure window_size for sliding-window attention control in NVlabs/LongLive.

how-to-guide
May 24, 2026
Best Practices for NVFP4 Checkpoint Loading and Weight Materialization in LongLive

Optimize NVFP4 checkpoint loading and weight materialization in LongLive. Safely load checkpoints, unwrap generators, clean FSDP prefixes, and drop master weights to save GPU memory.

best-practices
May 24, 2026
How to Use the WanDiffusionWrapper with Custom Model Configurations in LongLive

Learn to customize the WanDiffusionWrapper in LongLive using model_kwargs for checkpoint loading, causal mode, sampling, and VAEs. Tailor your diffusion pipeline without code changes.

how-to-guide
May 24, 2026
How to Debug Memory Issues with the ErrorBuffer Utility in LongLive

Debug memory issues in LongLive using the ErrorBuffer utility. Monitor stats, verify shard size, and ensure buffer warmup for efficient memory management.

how-to-guide
May 24, 2026
How to Implement Few-Step DMD Distillation for Faster Inference in LongLive

Learn how to implement few-step DMD distillation in LongLive for faster inference. Reduce num train timestep and use the score distillation trainer to compress the diffusion schedule.

how-to-guide
May 24, 2026
Causal Diffusion Pipeline Architecture in LongLive 2.0: A Technical Deep Dive

Explore the causal diffusion pipeline architecture in LongLive 2.0. Learn how it generates videos autoregressively using causal masking and KV-cache for efficient temporal attention. Deep dive into NVlabs/LongLive.

deep-dive
May 24, 2026
How to Configure the Timestep Shift Parameter for Flow Matching Schedulers in LongLive

Configure the timestep shift parameter in LongLive Flow Matching Schedulers via YAML or WanDiffusionWrapper to control noise distribution. Learn how to optimize your model training.

how-to-guide
May 24, 2026
How to Optimize Memory Usage During AR Training with Sequence Parallelism in LongLive

Optimize AR training memory with LongLive sequence parallelism. Shard temporal data across GPUs to slash activation memory from 40GB+ to 8-16GB per device.

performance
May 24, 2026
Score Distillation vs Diffusion Training in LongLive: Technical Differences Explained

Explore score distillation vs diffusion training in NVlabs LongLive. Understand key technical differences: KL-gradient matching versus direct MSE flow prediction for your generative models.

deep-dive
May 24, 2026
How to Implement KV Cache Recaching for Video Streaming in LongLive

Implement KV cache recaching for video streaming in LongLive by setting shot_clean_recache and multi_shot_sink to true. Expert guide to optimize inference with automatic scene cut detection.

how-to-guide
May 24, 2026
How RoPE Position Embedding Offset Works for Multi-Shot Sequences in LongLive

Discover how LongLive's RoPE position embedding offset revolutionizes multi-shot video generation by maintaining temporal context without KV cache resets.

deep-dive
May 24, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →