[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116236":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},116236,"LynnReal","LynnReal-AI\u002FLynnReal","LynnReal-AI","Hand-controlled video world models with full-sequence and three-step causal generation.",null,"Python",117,3,58,4,0,11,49,54,86.33,"Other",false,"main",[24,25,26,27,28,29,30],"camera-control","causal-generation","efficient-inference","hand-control","image-to-video","video-generation","world-model","2026-11-23 12:36:23","2026-11-23 17:09:54","\u003Cdiv align=\"center\">\n\n# LynnReal-Hand\n\n### Unlocking World Interaction with Hand Control\n\n[English](README.md) · [简体中文](README_zh-CN.md)\n\n[arXiv](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2611.21479) · [Hugging Face Paper](https:\u002F\u002Fhuggingface.co\u002Fpapers\u002F2611.21479) · [YouTube](https:\u002F\u002Fyoutu.be\u002FOdywWF0srpU)\n\n[Demo](#demo-gallery) · [Models](#models) · [Quick Start](#quick-start) · [Documentation](#documentation) · [License](LICENSE)\n\n\u003C\u002Fdiv>\n\n![LynnReal-Hand: explore everyday and imagined worlds through hand control](assets\u002Fteaser-v2.jpg)\n\n**LynnReal-Hand** is a hand-controlled video world model. Given an initial image, a text prompt, hand motion, and camera poses, it generates videos of interactions across everyday and imagined environments.\n\n- **Fine-grained hand–object interaction.** Use articulated hand motion and camera trajectories to guide reaching, grasping, releasing, and coordinated bimanual interactions across diverse scenes.\n- **Interaction-Preserving Training (IPT).** Trained on 100K interaction clips, LynnReal-Hand prioritizes small hand and contact regions through hand-aware multilevel supervision and preserves control fidelity during causal distillation.\n- **Three-step causal generation.** LynnReal-Hand-Base generates full sequences; LynnReal-Hand-Fast learns a causal flow map and refines it on self-generated histories. A fixed first-frame anchor, bounded sliding context, and local temporal-position resets support streaming without an ever-growing attention cache.\n- **Ultra-Fast-VAE for responsive streaming.** The compact decoder preserves the native H3 latent interface while recovering spatial and temporal reconstruction fidelity through distillation.\n- **Low-latency streaming.** Optimized Fast reaches **18.03 FPS at 540p on one H200**, with **741 ms mean warmed response per chunk**. A separate warmed measurement records **34.89 GiB peak allocated GPU memory** with sampling-specific AdaLN tables and the native VAE\u002FQwen encoder offloaded; see [performance](#performance) for measurement scope.\n\nThis repository provides inference code, model downloads, and example inputs.\n\n\u003Ca id=\"official-demo\">\u003C\u002Fa>\n\n## Demo Gallery\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F3df7244c-e001-490f-8743-9b556942767b\n\nThe demo presents hand-controlled interactions across natural, everyday, and imagined environments. [Watch on YouTube](https:\u002F\u002Fyoutu.be\u002FOdywWF0srpU) · [Download the video](assets\u002Fdemo.mp4).\n\n## Models\n\n| Model | Description | Default output | Download |\n| --- | --- | --- | --- |\n| **LynnReal-Hand-Base** | 33B backbone; bidirectional full-sequence generation | 1344 × 768 | [Hugging Face](https:\u002F\u002Fhuggingface.co\u002Fshaohao011\u002FLynnReal-Hand-Base-1.0) |\n| **LynnReal-Hand-Fast** | 33B causal backbone; three sampling steps, W2 context, first-frame anchor | 960 × 540 | [Hugging Face](https:\u002F\u002Fhuggingface.co\u002Fshaohao011\u002FLynnReal-Hand-Fast-preview) |\n| **Ultra-Fast-VAE** | Video decoder used by LynnReal-Hand-Fast | 960 × 540 in the Fast pipeline | [Hugging Face](https:\u002F\u002Fhuggingface.co\u002Fshaohao011\u002FLynnReal-ultra-fast-vae-1.0) |\n\nBoth generation packages use sampling-specialized transformer exports. Fast also includes its matching hand encoder. Each generation package includes the official MiniMax H3 VAE, Qwen image\u002Ftext encoder, tokenizer, and processor. Fast also includes Ultra-Fast-VAE. See [model weights](docs\u002Fweights.md) for component layouts.\n\n## Quick Start\n\n### Installation\n\nThe reference environment is **Linux, Python 3.10, PyTorch 2.9.1 \u002F CUDA 12.8, and one NVIDIA H200**. Install FFmpeg and ffprobe with your system package manager. Building FlashAttention-3 requires a C++ compiler and a CUDA toolkit with `nvcc`.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FLynnReal-AI\u002FLynnReal.git\ncd LynnReal\n\npython -m venv .venv\nsource .venv\u002Fbin\u002Factivate\npip install --upgrade pip\npip install torch==2.9.1 torchvision==0.24.1 --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu128\npip install -e .\nbash scripts\u002Finstall_fa3.sh\nlynnreal-hand doctor\n\nexport CUDA_VISIBLE_DEVICES=0\n```\n\nRun the following commands from the repository root. For dependency details and the required FlashAttention-3 build, see [installation](docs\u002Finstallation.md).\n\n### Model Download\n\nDownload the complete package for your chosen model:\n\n```bash\n# LynnReal-Hand-Base\npython scripts\u002Fdownload_weights.py --component base\n\n# LynnReal-Hand-Fast\npython scripts\u002Fdownload_weights.py --component fast\n```\n\nFast can be used independently of Base. To choose another download directory, add `--weights-root \u002Fpath\u002Fto\u002Fcheckpoints` and use the same path in subsequent preparation and inference commands. Add `--dry-run` to inspect a download plan.\n\n### Example Inputs\n\nSeven examples include aligned initial images, hand-motion videos, camera poses, captions, and Base\u002FFast reference results:\n\n| Example | Scene | Inputs | Base | Fast |\n| --- | --- | --- | --- | --- |\n| 01 | Bottle handling | [Inputs](examples\u002F01\u002Fexample.json) | [Video](examples\u002F01\u002Fbase.mp4) | [Video](examples\u002F01\u002Ffast.mp4) |\n| 02 | Preparing corn | [Inputs](examples\u002F02\u002Fexample.json) | [Video](examples\u002F02\u002Fbase.mp4) | [Video](examples\u002F02\u002Ffast.mp4) |\n| 03 | Preparing ingredients | [Inputs](examples\u002F03\u002Fexample.json) | [Video](examples\u002F03\u002Fbase.mp4) | [Video](examples\u002F03\u002Ffast.mp4) |\n| 04 | Opening a carton | [Inputs](examples\u002F04\u002Fexample.json) | [Video](examples\u002F04\u002Fbase.mp4) | [Video](examples\u002F04\u002Ffast.mp4) |\n| 05 | Pet interaction | [Inputs](examples\u002F05\u002Fexample.json) | [Video](examples\u002F05\u002Fbase.mp4) | [Video](examples\u002F05\u002Ffast.mp4) |\n| 06 | Clay modeling | [Inputs](examples\u002F06\u002Fexample.json) | [Video](examples\u002F06\u002Fbase.mp4) | [Video](examples\u002F06\u002Ffast.mp4) |\n| 07 | Wooden puzzle | [Inputs](examples\u002F07\u002Fexample.json) | [Video](examples\u002F07\u002Fbase.mp4) | [Video](examples\u002F07\u002Ffast.mp4) |\n\nThe reference results use 1344 × 768 output; the Fast quick start defaults to 960 × 540. See [example details](examples\u002FREADME.md) for frame rates and file layouts. Validate the inputs before generation:\n\n```bash\nlynnreal-hand validate --config configs\u002Fbase.json --example examples\u002F05\u002Fexample.json\nlynnreal-hand validate --config configs\u002Ffast.json --example examples\u002F05\u002Fexample.json\n```\n\nInput validation runs without model weights or a GPU. After downloading weights, add `--weights-root checkpoints --check-weights` to check the model-package entry files.\n\n\u003Ca id=\"base-inference\">\u003C\u002Fa>\n\n### LynnReal-Hand-Base\n\nBase uses full-sequence bidirectional sampling at **1344 × 768**, with 30 sampling schedule points and CFG 3. Prepare its conditions, then generate the video:\n\n```bash\nlynnreal-hand prepare \\\n  --config configs\u002Fbase.json --weights-root checkpoints \\\n  --example examples\u002F05\u002Fexample.json \\\n  --output outputs\u002Fcache\u002Fbase\u002Fexample_05\n\nlynnreal-hand infer \\\n  --config configs\u002Fbase.json --weights-root checkpoints \\\n  --cache outputs\u002Fcache\u002Fbase\u002Fexample_05 \\\n  --output outputs\u002Fbase\u002Fexample_05.mp4 \\\n  --seed 42\n```\n\n\u003Ca id=\"fast-inference\">\u003C\u002Fa>\n\n### LynnReal-Hand-Fast\n\nFast generates at **960 × 540**, with three flow-map transitions and W2 context: the current chunk and the preceding generated chunk, together with a fixed first-frame anchor. Each full chunk produces 17 RGB frames.\n\n```bash\nlynnreal-hand prepare \\\n  --config configs\u002Ffast.json --weights-root checkpoints \\\n  --example examples\u002F05\u002Fexample.json \\\n  --output outputs\u002Fcache\u002Ffast\u002Fexample_05\n\nlynnreal-hand infer \\\n  --config configs\u002Ffast.json --weights-root checkpoints \\\n  --cache outputs\u002Fcache\u002Ffast\u002Fexample_05 \\\n  --output outputs\u002Ffast\u002Fexample_05.mp4 \\\n  --seed 42\n```\n\nBase and Fast require separate conditioning caches. Keep the original hand video accessible for online hand encoding in accelerated Fast.\n\nFor native **1344 × 768** Fast generation, use [`configs\u002Ffast_768.json`](configs\u002Ffast_768.json) for both preparation and inference. Each resolution requires its own conditioning cache; see the [768p benchmark commands](docs\u002Fbenchmark.md#native-768p).\n\n\u003Ca id=\"accelerated-fast-inference\">\u003C\u002Fa>\n\n### Accelerated Fast\n\nAfter preparing the Fast cache, enable the single-H200 accelerated path with `--accelerated`:\n\n```bash\nlynnreal-hand infer \\\n  --config configs\u002Ffast.json --weights-root checkpoints \\\n  --cache outputs\u002Fcache\u002Ffast\u002Fexample_05 \\\n  --output outputs\u002Ffast_accelerated\u002Fexample_05.mp4 \\\n  --seed 42 --accelerated\n```\n\nThe first run includes compilation and CUDA graph capture. Later generation reuses the compiled shapes within the same process. For warmed throughput and latency measurements, use the [benchmark guide](docs\u002Fbenchmark.md).\n\n\u003Ca id=\"inference-outputs\">\u003C\u002Fa>\n\nThe CLI saves the generated MP4 and a JSON file containing the model, frame count, frame rate, seed, and example ID. Add `--save-latents` to retain generated latents. See [inference](docs\u002Finference.md) for the streaming Python interface and output details.\n\n**Featured example: Pet interaction**\n\n[![Pet interaction: Fast generation preview](examples\u002F05\u002Fpreview.gif)](examples\u002F05\u002Ffast.mp4)\n\n[Fast video](examples\u002F05\u002Ffast.mp4) · [Base video](examples\u002F05\u002Fbase.mp4) · [Example inputs](examples\u002F05\u002Fexample.json)\n\n\u003Ca id=\"custom-inputs\">\u003C\u002Fa>\n\n## Custom Inputs\n\nPlace your initial image, hand-motion video, and camera arrays beside an `example.json`:\n\n```json\n{\n  \"id\": \"my_example\",\n  \"image\": \"image.png\",\n  \"hand_video\": \"hand.mp4\",\n  \"camera\": \"camera.npz\",\n  \"caption\": \"An egocentric view of a hand picking up a cup from a table.\",\n  \"frames\": 124,\n  \"fps\": 30.0\n}\n```\n\nPaths resolve relative to `example.json`. Match the caption, frame count, and frame rate to your inputs. The packaged input pipeline accepts **124, 158, 243, or 260 frames** and preserves the input frame rate.\n\nUse your manifest path in the `validate` and `prepare` commands, then pass the resulting cache to `infer`. Image, hand motion, and camera poses must share the same field of view and frame order. See [example inputs](examples\u002FREADME.md) and [data preparation](docs\u002Fdata.md) for camera alignment and input requirements.\n\n## Performance\n\n### Video generation\n\nPaper results on one H200. Fast reports mean warmed response at 540p; the other methods report median latency at 768p. Resolutions, clip lengths, and timed units vary across methods.\n\n| Model | Backbone | Resolution | Timed unit | Latency (s) ↓ | FPS ↑ | Peak (GiB) |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| JointControlVideo | 14B | 768p | Full seq. | 1320.324 | 0.053 | 59.50 |\n| Generated Reality | 5B | 768p | Full seq. | 446.484 | 0.221 | 15.87 |\n| Hand2World-Bi | 5B | 768p | Full seq. | 104.682 | 1.195 | 59.67 |\n| Hand2World-AR | 5B | 768p | 4 frames | 0.437 | 8.646 | 33.44 |\n| **LynnReal-Hand-Base** | 33B | 768p | Full seq. | 770.155 | 0.136 | 82.59 |\n| **LynnReal-Hand-Fast** | 33B | 540p | 17 frames | 0.741 | 18.03 | 34.89 |\n\nFast response includes online hand encoding, generation, decoding, and delivery to CPU; sustained FPS also includes history-cache updates. Its memory entry is a separate warmed measurement with sampling-specific AdaLN tables and the native VAE\u002FQwen encoder off device. Conditioning preparation and cold startup are excluded. Base's memory entry uses the original full AdaLN projections. See [benchmark methodology](docs\u002Fbenchmark.md).\n\n### VAE decoding\n\nPaper decoder results at **1344 × 768**, measured per **17 frames** on one H200. Latency and FPS measure decoding only. Temporal error is deltaMAE × 10³.\n\n| Decoder | Params (M) ↓ | PSNR (dB) ↑ | LPIPS ↓ | Temporal error ↓ | Latency (ms) ↓ | FPS ↑ |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| Native H3 | 2423.5 | 35.04 | 0.0434 | 9.05 | 831.30 | 20.44 |\n| Tiny-H3 | 9.9 | 30.40 | 0.1040 | 13.78 | 10.90 | 1555.64 |\n| StreamRender¹ | 1617.8 | 33.74 | 0.0533 | 10.09 | 143.31 | 118.63 |\n| StreamRender² | 1617.8 | 33.95 | 0.0516 | 9.88 | 157.65 | 123.91 |\n| SolarX V3 | 2423.5 | 34.09 | 0.0484 | 10.20 | 552.79 | 30.54 |\n| LightVAE | 1752.1 | 35.13 | 0.0423 | 8.97 | 586.40 | 28.97 |\n| **Ultra-Fast-VAE** | 361.2 | 34.43 | 0.0511 | 9.80 | 46.77 | 363.21 |\n\nStreamRender¹\u002F² uses one\u002Ftwo latents per call; LightVAE uses seven, including two future latents. Ultra-Fast-VAE uses W8A8. The generation pipeline includes additional work beyond decoding.\n\nSee [benchmark methodology](docs\u002Fbenchmark.md) for packaged-runtime measurements and reproduction commands.\n\n## AdaLN Memory Optimization\n\nBase and Fast include only the AdaLN modulation tables required by their default sampling schedules. These compact tables load directly in place of the learned per-block projections, reducing download size and resident parameter memory. Fast uses three sampling steps. The native VAE and Qwen encoder are needed for conditioning preparation and can be offloaded before Fast generation. See [inference memory](docs\u002Finference.md#adaln-memory) for schedule constraints and memory scope.\n\n## Documentation\n\n| Guide | Contents |\n| --- | --- |\n| [Installation](docs\u002Finstallation.md) | Dependencies, FlashAttention-3, and environment setup |\n| [Model weights](docs\u002Fweights.md) | Downloads and component layouts |\n| [Inference](docs\u002Finference.md) | Base, Fast, acceleration, and streaming |\n| [Data preparation](docs\u002Fdata.md) | Input format, camera alignment, and conditioning caches |\n| [Benchmarks](docs\u002Fbenchmark.md) | Performance measurements and timing definitions |\n| [Output verification](docs\u002FVALIDATION.md) | Input and generated-media checks |\n\n## Related Projects\n\n- [BiWM](https:\u002F\u002Fgithub.com\u002FLynnReal-AI\u002FBiWM)\n- [LynnReal-Omni](https:\u002F\u002Fgithub.com\u002FLynnReal-AI\u002FLynnReal-Omni)\n\n## License\n\nThis repository follows the [MiniMax H3 Community License Agreement](LICENSE). Third-party components retain their respective licenses and notices; see [NOTICE](NOTICE) and [acknowledgements](third_party\u002Facknowledgements\u002FREADME.md).\n\n## Acknowledgements\n\nWe thank the SolarWM, H3, Qwen, Diffusers, PyTorch, TAEHV, and DuoMatching contributors for their open implementations. Component-specific attribution is provided in [third_party\u002FREADME.md](third_party\u002FREADME.md).\n\n## Citation\n\nIf you use LynnReal-Hand or Ultra-Fast-VAE in your research, please cite our paper:\n\n```bibtex\n@misc{rui2026lynnrealhandunlockingworldinteraction,\n  title={LynnReal-Hand: Unlocking World Interaction with Hand Control},\n  author={Shaohao Rui and Chaoyang Zhang and Xiaofeng Mao and Weijie Ma},\n  year={2026},\n  eprint={2611.21479},\n  archivePrefix={arXiv},\n  primaryClass={cs.CV},\n  url={https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.21479}\n}\n```\n\n## Related Publications\n\nRelated publications:\n\n- **BiWM: Advancing Open-Source Interactive Video World Models with Bidirectional Autoregression** — [Paper](https:\u002F\u002Farxiv.org\u002Fabs\u002F2606.10135) · [Code](https:\u002F\u002Fgithub.com\u002FLynnReal-AI\u002FBiWM)\n- **LynnReal-Omni: Native multi-modal Video Generation for Agentic Visual Workflows** — [Paper](https:\u002F\u002Farxiv.org\u002Fabs\u002F2609.15863) · [Code](https:\u002F\u002Fgithub.com\u002FLynnReal-AI\u002FLynnReal-Omni)\n\n```bibtex\n@article{rui2026biwm,\n  title={BiWM: Advancing Open-Source Interactive Video World Models with Bidirectional Autoregression},\n  author={Rui, Shaohao and Mao, Xiaofeng and Zhang, Zhanyu and Lin, Peijia and Zhu, Yansong and Zhang, Yibo and Wan, Haibin and Zhao, Zhangrui and Ma, Weijie},\n  journal={arXiv preprint arXiv:2606.10135},\n  year={2026},\n  url={https:\u002F\u002Farxiv.org\u002Fabs\u002F2606.10135}\n}\n\n@misc{mao2026lynnrealomninativemultimodalvideo,\n  title={LynnReal-Omni: Native multi-modal Video Generation for Agentic Visual Workflows},\n  author={Xiaofeng Mao and Peijia Lin and Shaohao Rui and Yibo Zhang and Haibin Wan and Weijie Ma},\n  year={2026},\n  eprint={2609.15863},\n  archivePrefix={arXiv},\n  primaryClass={cs.CV},\n  url={https:\u002F\u002Farxiv.org\u002Fabs\u002F2609.15863}\n}\n```\n","LynnReal-Hand 是一个支持手部动作控制的视频世界模型，可基于初始图像、文本提示、手部运动轨迹和相机位姿，生成具有物理合理性的交互式视频。其核心功能包括细粒度手-物交互建模、交互保持训练（IPT）、三步因果生成架构（含首帧锚定与滑动上下文），以及轻量级Ultra-Fast-VAE解码器，实现低延迟流式推理（18.03 FPS @540p）。技术特点涵盖因果视频生成、手控相机协同、高效时空重建与显存优化。适用于具身智能仿真、AR\u002FVR交互原型开发、机器人视觉-动作联合建模等需要实时、可控视频合成的研究与工程场景。",2,"2026-11-24 04:53:16","CREATED_QUERY"]