[Feature] VisualGen: support Cosmos3-Nano-Transfer-Auto (multi-camera; LiDAR as a follow-up)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
调研方向
Start with the single-GPU core in tensorrt_llm/_torch/visual_gen/models/cosmos3/ and inspect how the existing single-view Cosmos3 pipeline is selected from model_index.json. Compare behavior with the NVIDIA cosmos-framework reference, then build the planned pipeline, tests, and example across image2video, text2video, and video2video modes. Done means the core PR passes its unit and random-weight component tests and the example smoke test.
由索引模型根据 Issue 内容生成。
描述
Motivation
nvidia/Cosmos3-Nano-Transfer-Auto generates one video per camera of a vehicle camera rig in a single request (one control video per camera,
cross-view attention between cameras). VisualGen supports single-view Cosmos3 today; this checkpoint needs a multi-camera pipeline.
Proposed design
- A new
Cosmos3MultiviewPipelineundertensorrt_llm/_torch/visual_gen/models/cosmos3/, selected from the checkpoint'smodel_index.json. - Cross-view attention is computed block-decomposed (per-camera and cross-camera groups merged by log-sum-exp). This gives the same result
as the reference's masked dense attention without materializing the mask, so all 11 cameras at 480p fit on one B200. - Behaviour follows the public reference implementation (NVIDIA cosmos-framework): prompts, token ids, initial noise, schedule, camera order
and shapes match exactly; denoising numerics stay within 1.1x of the reference's own run-to-run spread on the same GPU type. - Request options go through
extra_params["multiview"]. Per-camera control/input videos are bytes (base64 overtrtllm-serve, decoded at
the server boundary like the existing transfer control clip). The output is one camera-major video tensor. No public API change. - Attention runs on SDPA by default; FA4 / FlashInfer / cuDNN can be selected with
attention_config.backend(~1.7x faster per step on B200). - Tests: unit tests, random-weight component tests (each feature on vs off in the same process), and a smoke test of the example script.
No golden media.
Planned PRs (stacked, each tested on its own)
- Core: single-GPU multi-camera pipeline (all 11 cameras, 480p/720p, image2video / text2video / video2video, guardrails), tests, example.
- Multi-GPU: CFG-parallel and Ulysses for the multi-camera pipeline (outputs match one GPU).
trtllm-serve: per-camera control/input videos in serve requests.- Performance: CUDA graphs and FA4 / FlashInfer / cuDNN attention for the multi-camera pipeline.
- Later, separate: joint camera + LiDAR generation, returned through a dedicated
lidaroutput field (same approach asaction).
- 主要语言
- Python
- 星标
- 15.2k
- 派生
- 3k
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 477
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/TensorRT-LLM 的其他 Issue
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.x可能已有人在做 @NimaVaziri 今天认领。 未关闭Pytorch
难度 2/5 1-3 小时 新手友好度 78/100
NVIDIA/TensorRT-LLM#23406 ·
维护者通常 1 天内回复
-
Inference runtime Windows
难度 2/5 1-3 小时 新手友好度 65/100
NVIDIA/TensorRT-LLM#23394 ·
维护者通常 1 天内回复
-
[Bug]: MMLU subsampling changes when evaluators are interleaved可能已有人在做 @LeNeLeNeWo 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
NVIDIA/TensorRT-LLM#23273 ·
维护者通常 1 天内回复
-
Trace-replay Pareto window includes the drain when sessions finish out of admission order可能已有人在做 @sbeierle 于 3 天前认领。 未关闭Testing
难度 2/5 1-3 小时 新手友好度 86/100
NVIDIA/TensorRT-LLM#23077 ·
维护者通常 1 天内回复
-
LongBench V2 blog command breaks on inline comments after continuations可能已有人在做 @ddlw 于 25 天前认领。 未关闭Doc
难度 1/5 1 小时以内 新手友好度 91/100
NVIDIA/TensorRT-LLM#21879 ·
维护者通常 1 天内回复
查看 NVIDIA/TensorRT-LLM 的全部 Issue
相似的 Issue
-
resource-submission validation-passed
难度 1/5 1 小时以内 新手友好度 68/100
hesreallyhim/awesome-claude-code#3875 · 1 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 77/100
bvis/aegis-hass#725 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stamp未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
#1643 unrecoverable split: 1 digest with a 403 — two earlier captures of the same URL are real 200s未关闭
难度 2/5 1-3 小时 新手友好度 66/100
Robin-IA/Congressional-Letters-Dev#1684 ·
维护者通常 1 天内回复