Repository navigation
Conversation
…pliance - Move cosmos patch from patches/cosmos3/ to model_examples/Cosmos3/cosmos-framework.patch - Add model_examples/Cosmos3/requirements.txt - Remove custom export/apply patch tools, manifest, and standalone licenses - Update README.md with standard git apply usage - Update THIRD_PARTY_NOTICES.md with provenance of substantive changes
…in turbo_physai - Remove turbo_physai/bootstrap/_toml.py - Revert sitecustomize.py to remove ensure_tomllib hook - Remove unused tomli dependency from setup.py
iMountTai
marked this pull request as ready for review
October 9, 2026 08:02
There was a problem hiding this comment.
AI Review
⚪ 审查未完成
部分内容未完成审查,当前结论不代表全部改动。
变更概览
本次变更主要包含:
- 为 model_examples/Cosmos3/*.patch 设置 -text -whitespace 属性以保留补丁原始字节,并在第三方声明文档中新增 Cosmos3 (OpenMDW-1.1) 许可说明及补丁所涉上游文件清单。
- 新增 Cosmos3 模型示例的 README 运行指南,说明容器创建、应用 cosmos-framework 补丁、数据与权重准备,并通过 torchrun 以 8 卡执行 Generator Nano 训练的完整步骤。
- 新增 Cosmos3 模型示例 README,提供 Action Policy(DROID)与 Reasoner(VideoPhy2、LLaVA-OV)SFT 训练的 torchrun 示例命令、性能与编译相关参数设置及运行说明
- 为 Cosmos3 模型示例新增 requirements.txt,包含固定版本的推理与数据处理依赖及若干未固定版本的补充依赖。
文件审查摘要
| 文件 | 变更 | 审查结果 |
|---|---|---|
model_examples/Cosmos3/cosmos-framework.patch |
新增 · +9352/-0 | — |
model_examples/Cosmos3/README.md |
新增 · +207/-0 | — |
model_examples/Cosmos3/requirements.txt |
新增 · +82/-0 | — |
THIRD_PARTY_NOTICES.md |
修改 · +42/-0 | — |
setup.py |
修改 · +3/-3 | — |
.gitattributes |
修改 · +2/-0 | — |
审查信息
- 变更统计:6 个文件,+9688/-3。
- 覆盖情况:共 6 个文件,已完整审查 5 个。
- 候选问题:0 项;证据复核过滤:0 项;发布前敏感信息保护:0 项。
- 本服务以 GitHub 提供的 PR diff 为审查主体,PR 描述与按相关性选取的仓库片段仅用于核验;未执行代码或重跑测试,结论仍需维护者核验。
CI 结果:质量门禁未通过
质量门禁检测到需处理的问题;敏感命中原文、字段值、路径和日志引用不在评论中展示,请由有权限的维护者查看原始报告并处理。
There was a problem hiding this comment.
AI Review
⚪ 审查未完成
部分内容未完成审查,当前结论不代表全部改动。
已确认 1 个问题,其中 1 个已添加到对应代码行。
变更概览
本次变更主要包含:
- 本批为 model_examples/Cosmos3 下的 .patch 文件配置 Git 属性以保留原始字节(禁用文本转换与空白处理),并在第三方声明文档中补充 Cosmos3(OpenMDW-1.1)的来源仓库、固定 commit 及补丁涉及的文件清单。
- 新增 Cosmos3 在 HCU 上运行的完整指南:容器环境准备、cosmos-framework 补丁应用与回滚、Generator/Action Policy/Reasoner 三个训练场景的 torchrun 启动命令,以及配套的固定版本依赖清单。
- 将 setup.py 中的版本解析入口由 pkg_resources 暴露的 packaging 迁移为直接导入 packaging.version 模块,调用点同步改为 packaging_version.parse。
文件审查摘要
| 文件 | 变更 | 审查结果 |
|---|---|---|
model_examples/Cosmos3/README.md |
新增 · +207/-0 | P3 × 1 |
model_examples/Cosmos3/cosmos-framework.patch |
新增 · +9352/-0 | — |
model_examples/Cosmos3/requirements.txt |
新增 · +82/-0 | — |
THIRD_PARTY_NOTICES.md |
修改 · +42/-0 | — |
setup.py |
修改 · +3/-3 | — |
.gitattributes |
修改 · +2/-0 | — |
审查信息
- 变更统计:6 个文件,+9688/-3。
- 覆盖情况:共 6 个文件,已完整审查 5 个。
- 候选问题:1 项;证据复核过滤:0 项;发布前敏感信息保护:0 项。
- 本服务以 GitHub 提供的 PR diff 为审查主体,PR 描述与按相关性选取的仓库片段仅用于核验;未执行代码或重跑测试,结论仍需维护者核验。
There was a problem hiding this comment.
AI Review
⚪ 审查未完成
部分内容未完成审查,当前结论不代表全部改动。
变更概览
本次变更主要包含:
- 为 model_examples/Cosmos3 下的 Git patch 文件添加 .gitattributes 规则(禁用文本与空白转换以保留补丁字节),并在第三方声明文档中补充 Cosmos3 (OpenMDW-1.1) 的来源、许可及补丁对应上游文件清单。
- 新增 Cosmos3 HCU 训练运行指南 README,涵盖容器部署、补丁应用/回滚、数据与权重下载及 Generator/Action Policy/Reasoner 的启动命令
- 新增 model_examples/Cosmos3/requirements.txt,固定训练依赖版本并附加若干未固定版本的补充依赖
- setup.py 中将 packaging 的导入从 pkg_resources 的内嵌版本改为直接导入独立的 packaging 库,并同步更新版本比较调用,以兼容新版 setuptools。
文件审查摘要
| 文件 | 变更 | 审查结果 |
|---|---|---|
model_examples/Cosmos3/cosmos-framework.patch |
新增 · +9352/-0 | — |
model_examples/Cosmos3/README.md |
新增 · +207/-0 | — |
model_examples/Cosmos3/requirements.txt |
新增 · +82/-0 | — |
THIRD_PARTY_NOTICES.md |
修改 · +42/-0 | — |
setup.py |
修改 · +3/-3 | — |
.gitattributes |
修改 · +2/-0 | — |
审查信息
- 变更统计:6 个文件,+9688/-3。
- 覆盖情况:共 6 个文件,已完整审查 5 个。
- 候选问题:0 项;证据复核过滤:0 项;发布前敏感信息保护:0 项。
- 本服务以 GitHub 提供的 PR diff 为审查主体,PR 描述与按相关性选取的仓库片段仅用于核验;未执行代码或重跑测试,结论仍需维护者核验。
yh-vino
requested changes
Oct 10, 2026
yh-vino
left a comment
Contributor
There was a problem hiding this comment.
需要在模型清单中增加该模型支持,并按照原文档方式做超链接,链接模型readme.md
Author
已添加。 |
There was a problem hiding this comment.
AI Review
⚪ 审查未完成
部分内容未完成审查,当前结论不代表全部改动。
变更概览
本次变更主要包含:
- 在 .gitattributes 中对 model_examples/Cosmos3 下的补丁文件禁用文本与空白规范化,保证补丁字节完整性。
- 新增 Cosmos3(OpenMDW-1.1)第三方声明及其上游文件改动清单,并在支持模型列表登记 Cosmos3,注明指定基线 `9726697a83315540c6885baefd2fe353d9c74920` 与使用说明入口。
- 新增 Cosmos3 在 HCU 上的运行指南与依赖清单:包含镜像/容器准备、cosmos-framework 补丁的 aplicar与回滚步骤、数据及权重下载,以及 Generator、Action Policy、Reasoner 等任务的 torchrun 启动示例和 pinned 依赖列表。
- 将 setup.py 中对 pkg_resources 内置 packaging 的导入替换为直接使用独立 packaging 包,并相应更新构建脚本中 CUDA 版本解析的两处调用。
文件审查摘要
| 文件 | 变更 | 审查结果 |
|---|---|---|
model_examples/Cosmos3/cosmos-framework.patch |
新增 · +9352/-0 | — |
model_examples/Cosmos3/README.md |
新增 · +207/-0 | — |
model_examples/Cosmos3/requirements.txt |
新增 · +82/-0 | — |
THIRD_PARTY_NOTICES.md |
修改 · +42/-0 | — |
setup.py |
修改 · +3/-3 | — |
docs/zh/models/support_list.md |
修改 · +3/-0 | — |
.gitattributes |
修改 · +2/-0 | — |
审查信息
- 变更统计:7 个文件,+9691/-3。
- 覆盖情况:共 7 个文件,已完整审查 6 个。
- 候选问题:0 项;证据复核过滤:0 项;发布前敏感信息保护:0 项。
- 本服务以 GitHub 提供的 PR diff 为审查主体,PR 描述与按相关性选取的仓库片段仅用于核验;未执行代码或重跑测试,结论仍需维护者核验。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deliver Cosmos3 HCU support as a standalone source patch. Training runs through the native Cosmos launcher without requiring the TurboPhysAI runtime.
Changes