Yyangzhenzhang02refactor: 去除 platform 抽象,改用 torch 原生接口
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: 去除 platform 抽象,改用 torch 原生接口 删除 hyper_parallel/platform/ 整个双后端抽象层,相关实现直接使用 torch 原生接口;仅保留的 Torch-only 组件迁至 components/。 主要变更: - 删除 hyper_parallel/platform/**(mindspore 后端、platform.py、 swap_optimizer、activation_checkpoint、loss_parallel_ops、 function_override、init_weights 等) - hyper_parallel/platform/torch/common/moe.py 重命名至 hyper_parallel/components/modules/moe.py(内容不变),并同步更新 examples/torch、tests/torch、核心模块中的 20 余处 import - hyper_parallel/__init__.py 移除 get_platform 导出 - destroy_process_group 中 _P2P_MULTI_STREAM_GROUPS 改从 hyper_parallel.core.pipeline_parallel._p2p 导入 - 删除 examples/mindspore/**、tests/ut/platform/** - scripts/pylint_hyperparallel.py:PLATFORM_ALLOWED_PARTS 移除 hyper_parallel/platform/;删除 instance-platform-assignment (C9003) 规则 - 更新 .agent 规则、docs、docker、CODEOWNERS 等配套内容 327 files changed, 648 insertions(+), 20321 deletions(-) | 17 天前 | |
chore: make agent tooling assistant-agnostic for any AI coding assistant Make the in-repo agent tooling work with any AI coding assistant instead of being tied to a specific vendor, so contributors can use whichever assistant they prefer. | 4 个月前 | |
chore: make agent tooling assistant-agnostic for any AI coding assistant Make the in-repo agent tooling work with any AI coding assistant instead of being tied to a specific vendor, so contributors can use whichever assistant they prefer. | 4 个月前 |