已合并
Update URL (gitcode) #24862
dilililiwhy创建于 2025年9月15日
Update URL (gitcode) #24862
已合并
共 7 个文件变更+29-30
| @@ -1,6 +1,6 @@ | |||
| 1 | [submodule "third_party/op-plugin"] | 1 | [submodule "third_party/op-plugin"] |
| 2 | path = third_party/op-plugin | 2 | path = third_party/op-plugin |
| 3 | - url = https://gitee.com/ascend/op-plugin.git | 3 | + url = https://gitcode.com/ascend/op-plugin.git |
| 4 | ignore = dirty | 4 | ignore = dirty |
| 5 | [submodule "third_party/googletest"] | 5 | [submodule "third_party/googletest"] |
| 6 | path = third_party/googletest | 6 | path = third_party/googletest |
| @@ -10,7 +10,7 @@ | |||
| 10 | url = https://gitee.com/ascend/torchair.git | 10 | url = https://gitee.com/ascend/torchair.git |
| 11 | [submodule "third_party/Tensorpipe"] | 11 | [submodule "third_party/Tensorpipe"] |
| 12 | path = third_party/Tensorpipe | 12 | path = third_party/Tensorpipe |
| 13 | - url = https://gitee.com/ascend/Tensorpipe.git | 13 | + url = https://gitcode.com/ascend/Tensorpipe.git |
| 14 | [submodule "third_party/fmt"] | 14 | [submodule "third_party/fmt"] |
| 15 | path = third_party/fmt | 15 | path = third_party/fmt |
| 16 | url = https://gitee.com/mirrors/fmt.git | 16 | url = https://gitee.com/mirrors/fmt.git |
| @@ -16,9 +16,8 @@ | |||
| 16 | 16 | ||
| 17 | <h2 id="入门.md">入门</h2> | 17 | <h2 id="入门.md">入门</h2> |
| 18 | 18 | ||
| 19 | -- 在[Gitee](https://gitee.com/ascend/pytorch)上Fork存储库。 | 19 | +- 在[GitCode](https://gitcode.com/ascend/pytorch)上Fork存储库。 |
| 20 | -- 阅读[README.md](#https://gitee.com/ascend/pytorch/blob/master/README.zh.md)以获取项目信息和构建说明。 | 20 | +- 阅读[README.md](#https://gitcode.com/ascend/pytorch/blob/master/README.zh.md)以获取项目信息和构建说明。 |
| 21 | -- 行为准则 [coc](https://gitee.com/ascend/community/blob/master/code-of-conduct_zh_cn.md)。 | ||
| 22 | 21 | ||
| 23 | <h2 id="开发指导.md">开发指导</h2> | 22 | <h2 id="开发指导.md">开发指导</h2> |
| 24 | 23 | ||
| @@ -159,9 +158,9 @@ | |||
| 159 | 如果要将代码下载到本地环境,git是很好的方法: | 158 | 如果要将代码下载到本地环境,git是很好的方法: |
| 160 | 159 | ||
| 161 | ``` | 160 | ``` |
| 162 | - # For Gitee | 161 | + # For GitCode |
| 163 | - git clone https://gitee.com/{insert_your_forked_repo}/pytorch.git | 162 | + git clone https://gitcode.com/{insert_your_forked_repo}/pytorch.git |
| 164 | - git remote add upstream https://gitee.com/pytorch/pytorch.git | 163 | + git remote add upstream https://gitcode.com/pytorch/pytorch.git |
| 165 | ``` | 164 | ``` |
| 166 | 165 | ||
| 167 | 3. 本地开发代码。 | 166 | 3. 本地开发代码。 |
| @@ -213,7 +212,7 @@ | |||
| 213 | 212 | ||
| 214 | <h2 id="提出PR.md">提出PR</h2> | 213 | <h2 id="提出PR.md">提出PR</h2> |
| 215 | 214 | ||
| 216 | -- 在[Gitee](https://gitee.com/ascend/pytorch/issues)上提出您的想法作为_问题_。 | 215 | +- 在[GitCode](https://gitcode.com/ascend/pytorch/issues)上提出您的想法作为_问题_。 |
| 217 | - 如果是需要大量设计细节的新功能,还应提交设计方案。 | 216 | - 如果是需要大量设计细节的新功能,还应提交设计方案。 |
| 218 | - 在问题讨论和设计提案审查中达成共识后,完成分叉回购的开发并提交 PR(Pull Request)。 | 217 | - 在问题讨论和设计提案审查中达成共识后,完成分叉回购的开发并提交 PR(Pull Request)。 |
| 219 | - 在从批准者那里收到2+ LGTM(Looks Good To Me)之前,不允许任何PR 。请注意,审批人不允许在自己的 PR 上添加LGTM。 | 218 | - 在从批准者那里收到2+ LGTM(Looks Good To Me)之前,不允许任何PR 。请注意,审批人不允许在自己的 PR 上添加LGTM。 |
| @@ -1,18 +1,18 @@ | |||
| 1 | approvers: | 1 | approvers: |
| 2 | -- weili10 | 2 | +- liwei386 |
| 3 | - li_jing_hw | 3 | - li_jing_hw |
| 4 | - clinglai | 4 | - clinglai |
| 5 | -- xuepenginnanjing | 5 | +- aichunzheng |
| 6 | - yskhhh | 6 | - yskhhh |
| 7 | - brightlyking | 7 | - brightlyking |
| 8 | - wangjiangben_hw | 8 | - wangjiangben_hw |
| 9 | - wangchao285 | 9 | - wangchao285 |
| 10 | -- atlasaccount | 10 | +- AtlasAccount |
| 11 | - dilililiwhy | 11 | - dilililiwhy |
| 12 | - chenhao_1209 | 12 | - chenhao_1209 |
| 13 | - sunboquan | 13 | - sunboquan |
| 14 | -- wangchao147 | 14 | +- wangchao430 |
| 15 | -- yanpengquan07 | 15 | +- yanpengquan |
| 16 | - kaixin1976 | 16 | - kaixin1976 |
| 17 | reviewers: | 17 | reviewers: |
| 18 | - xiaxia3 | 18 | - xiaxia3 |
| @@ -20,10 +20,10 @@ reviewers: | |||
| 20 | - yskhhh | 20 | - yskhhh |
| 21 | - li_jing_hw | 21 | - li_jing_hw |
| 22 | - wangjiangben_hw | 22 | - wangjiangben_hw |
| 23 | -- weili10 | 23 | +- liwei386 |
| 24 | - clinglai | 24 | - clinglai |
| 25 | - shaoyf | 25 | - shaoyf |
| 26 | -- yanpengquan07 | 26 | +- yanpengquan |
| 27 | - liu-jiaweikf | 27 | - liu-jiaweikf |
| 28 | - xiepeng20 | 28 | - xiepeng20 |
| 29 | - brightlyking | 29 | - brightlyking |
| @@ -47,6 +47,6 @@ reviewers: | |||
| 47 | - chuboning | 47 | - chuboning |
| 48 | - guo-guanghao | 48 | - guo-guanghao |
| 49 | - yuhaiyan | 49 | - yuhaiyan |
| 50 | -- wangchao147 | 50 | +- wangchao430 |
| 51 | - insanecoder | 51 | - insanecoder |
| 52 | - Chen_LiQing | 52 | - Chen_LiQing |
| @@ -27,9 +27,9 @@ | |||
| 27 | 27 | ||
| 28 | **Ascend Extension for PyTorch**的分支名称采用`{PyTorch版本}-{昇腾版本}`命名规则,前者为**Ascend Extension for PyTorch**匹配的PyTorch版本,后者为**Ascend Extension for PyTorch**版本号,详细匹配如下: | 28 | **Ascend Extension for PyTorch**的分支名称采用`{PyTorch版本}-{昇腾版本}`命名规则,前者为**Ascend Extension for PyTorch**匹配的PyTorch版本,后者为**Ascend Extension for PyTorch**版本号,详细匹配如下: |
| 29 | 29 | ||
| 30 | -| CANN版本 | 支持的PyTorch版本 | 支持的Extension版本 | Gitee分支 | | 30 | +| CANN版本 | 支持的PyTorch版本 | 支持的Extension版本 | GitCode分支 | |
| 31 | |-----------------------|--------------|------------------|-------------------| | 31 | |-----------------------|--------------|------------------|-------------------| |
| 32 | -| CANN 8.3.RC1.alpha001 | 2.8.0 | 2.8.0rc1 | v2.8.0 | | 32 | +| CANN 8.3.RC1.alpha001 | 2.8.0 | 2.8.0rc1 | v2.8.0 | |
| 33 | | CANN 8.2.RC1 | 2.6.0 | 2.6.0 | v2.6.0-7.1.0 | | 33 | | CANN 8.2.RC1 | 2.6.0 | 2.6.0 | v2.6.0-7.1.0 | |
| 34 | | | 2.5.1 | 2.5.1.post1 | v2.5.1-7.1.0 | | 34 | | | 2.5.1 | 2.5.1.post1 | v2.5.1-7.1.0 | |
| 35 | | | 2.1.0 | 2.1.0.post13 | v2.1.0-7.1.0 | | 35 | | | 2.1.0 | 2.1.0.post13 | v2.1.0-7.1.0 | |
| @@ -143,7 +143,7 @@ | |||
| 143 | 1. **克隆torch_npu代码仓** | 143 | 1. **克隆torch_npu代码仓** |
| 144 | 144 | ||
| 145 | ``` | 145 | ``` |
| 146 | - git clone https://gitee.com/ascend/pytorch.git -b v2.8.0 --depth 1 | 146 | + git clone https://gitcode.com/ascend/pytorch.git -b v2.8.0 --depth 1 |
| 147 | ``` | 147 | ``` |
| 148 | 148 | ||
| 149 | 2. **构建镜像** | 149 | 2. **构建镜像** |
| @@ -245,7 +245,7 @@ torch_npu的卸载只需执行命令: | |||
| 245 | 245 | ||
| 246 | ## 建议与交流 | 246 | ## 建议与交流 |
| 247 | 247 | ||
| 248 | -欢迎大家为社区做贡献。如果有任何疑问或建议,请提交[Gitee Issues](https://gitee.com/Ascend/pytorch/issues),我们会尽快回复。感谢您的支持。 | 248 | +欢迎大家为社区做贡献。如果有任何疑问或建议,请提交[GitCode Issues](https://gitcode.com/Ascend/pytorch/issues),我们会尽快回复。感谢您的支持。 |
| 249 | 249 | ||
| 250 | ## 分支维护策略 | 250 | ## 分支维护策略 |
| 251 | 251 | ||
| @@ -72,10 +72,10 @@ torch_npu支持源码编译安装,在编译时会下载依赖第三方库并 | |||
| 72 | 72 | ||
| 73 | | 类型 | 开源代码地址 | 文件名 | 公网IP地址/公网URL地址/域名/邮箱地址 | 用途说明 | | 73 | | 类型 | 开源代码地址 | 文件名 | 公网IP地址/公网URL地址/域名/邮箱地址 | 用途说明 | |
| 74 | |------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|--------------------------------------------------------------------------------|--------------------------------| | 74 | |------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|--------------------------------------------------------------------------------|--------------------------------| |
| 75 | -| 自研 | 不涉及 | .gitmodules | https://gitee.com/ascend/op-plugin.git | 依赖的开源代码仓 | | 75 | +| 自研 | 不涉及 | .gitmodules | https://gitcode.com/ascend/op-plugin.git | 依赖的开源代码仓 | |
| 76 | | 自研 | 不涉及 | .gitmodules | https://gitee.com/mirrors/googletest.git | 依赖的开源代码仓 | | 76 | | 自研 | 不涉及 | .gitmodules | https://gitee.com/mirrors/googletest.git | 依赖的开源代码仓 | |
| 77 | | 自研 | 不涉及 | .gitmodules | https://gitee.com/ascend/torchair.git | 依赖的开源代码仓 | | 77 | | 自研 | 不涉及 | .gitmodules | https://gitee.com/ascend/torchair.git | 依赖的开源代码仓 | |
| 78 | -| 自研 | 不涉及 | .gitmodules | https://gitee.com/ascend/Tensorpipe.git | 依赖的开源代码仓 | | 78 | +| 自研 | 不涉及 | .gitmodules | https://gitcode.com/ascend/Tensorpipe.git | 依赖的开源代码仓 | |
| 79 | | 自研 | 不涉及 | .gitmodules | https://gitee.com/mirrors/fmt.git | 依赖的开源代码仓 | | 79 | | 自研 | 不涉及 | .gitmodules | https://gitee.com/mirrors/fmt.git | 依赖的开源代码仓 | |
| 80 | | 自研 | 不涉及 | .gitmodules | https://gitee.com/mirrors/nlohmann-json.git | 依赖的开源代码仓 | | 80 | | 自研 | 不涉及 | .gitmodules | https://gitee.com/mirrors/nlohmann-json.git | 依赖的开源代码仓 | |
| 81 | | 自研 | 不涉及 | ci\docker\X86\Dockerfile | https://mirrors.huaweicloud.com/repository/pypi/simple | docker配置文件,用于配置pip源 | | 81 | | 自研 | 不涉及 | ci\docker\X86\Dockerfile | https://mirrors.huaweicloud.com/repository/pypi/simple | docker配置文件,用于配置pip源 | |
| @@ -84,10 +84,10 @@ torch_npu支持源码编译安装,在编译时会下载依赖第三方库并 | |||
| 84 | | 自研 | 不涉及 | ci\docker\X86\Dockerfile | https://mirrors.wlnmp.com/centos/Centos7-aliyun-altarch.repo | docker配置文件,用于配置yum源 | | 84 | | 自研 | 不涉及 | ci\docker\X86\Dockerfile | https://mirrors.wlnmp.com/centos/Centos7-aliyun-altarch.repo | docker配置文件,用于配置yum源 | |
| 85 | | 自研 | 不涉及 | ci\docker\ARM\Dockerfile | https://mirrors.wlnmp.com/centos/Centos7-aliyun-altarch.repo | docker配置文件,用于配置yum源 | | 85 | | 自研 | 不涉及 | ci\docker\ARM\Dockerfile | https://mirrors.wlnmp.com/centos/Centos7-aliyun-altarch.repo | docker配置文件,用于配置yum源 | |
| 86 | | 自研 | 不涉及 | .github\workflows\\_build-and-test.yml | https://mirrors.huaweicloud.com/repository/pypi/simple | workflow配置文件,用于配置pip源 | | 86 | | 自研 | 不涉及 | .github\workflows\\_build-and-test.yml | https://mirrors.huaweicloud.com/repository/pypi/simple | workflow配置文件,用于配置pip源 | |
| 87 | -| 自研 | 不涉及 | setup.cfg | https://gitee.com/ascend/pytorch | 用于打包whl的url入参 | | 87 | +| 自研 | 不涉及 | setup.cfg | https://gitcode.com/ascend/pytorch | 用于打包whl的url入参 | |
| 88 | -| 自研 | 不涉及 | setup.cfg | https://gitee.com/ascend/pytorch/tags | 用于打包whl的download_url入参 | | 88 | +| 自研 | 不涉及 | setup.cfg | https://gitcode.com/ascend/pytorch/tags | 用于打包whl的download_url入参 | |
| 89 | -| 自研 | 不涉及 | third_party\op-plugin\ci\build.sh | https://gitee.com/ascend/pytorch.git | 编译脚本根据torch_npu仓库地址拉取代码进行编译 | | 89 | +| 自研 | 不涉及 | third_party\op-plugin\ci\build.sh | https://gitcode.com/ascend/pytorch.git | 编译脚本根据torch_npu仓库地址拉取代码进行编译 | |
| 90 | -| 自研 | 不涉及 | third_party\op-plugin\ci\exec_ut.sh | https://gitee.com/ascend/pytorch.git | UT脚本根据torch_npu仓库地址下拉取代码进行UT测试 | | 90 | +| 自研 | 不涉及 | third_party\op-plugin\ci\exec_ut.sh | https://gitcode.com/ascend/pytorch.git | UT脚本根据torch_npu仓库地址下拉取代码进行UT测试 | |
| 91 | | 开源引入 | https://github.com/pytorch/pytorch/blob/v2.8.0/test/nn/test_convolution.py <br> https://github.com/pytorch/pytorch/blob/v2.8.0/test/test_mps.py <br> https://github.com/pytorch/pytorch/blob/v2.8.0/test/test_serialization.py | test\url.ini | https://download.pytorch.org/test_data/legacy_conv2d.pt | 用于test脚本下载相关pt文件 | | 91 | | 开源引入 | https://github.com/pytorch/pytorch/blob/v2.8.0/test/nn/test_convolution.py <br> https://github.com/pytorch/pytorch/blob/v2.8.0/test/test_mps.py <br> https://github.com/pytorch/pytorch/blob/v2.8.0/test/test_serialization.py | test\url.ini | https://download.pytorch.org/test_data/legacy_conv2d.pt | 用于test脚本下载相关pt文件 | |
| 92 | | 开源引入 | https://github.com/pytorch/pytorch/blob/v2.8.0/test/test_serialization.py | test\url.ini | https://download.pytorch.org/test_data/legacy_serialized.pt | 用于test脚本下载相关pt文件 | | 92 | | 开源引入 | https://github.com/pytorch/pytorch/blob/v2.8.0/test/test_serialization.py | test\url.ini | https://download.pytorch.org/test_data/legacy_serialized.pt | 用于test脚本下载相关pt文件 | |
| 93 | | 开源引入 | https://github.com/pytorch/pytorch/blob/v2.8.0/test/test_serialization.py | test\url.ini | https://download.pytorch.org/test_data/gpu_tensors.pt | 用于test脚本下载相关pt文件 | | 93 | | 开源引入 | https://github.com/pytorch/pytorch/blob/v2.8.0/test/test_serialization.py | test\url.ini | https://download.pytorch.org/test_data/gpu_tensors.pt | 用于test脚本下载相关pt文件 | |
| @@ -7,7 +7,7 @@ This folder hosts the `Dockerfile` to build docker images with various platforms | |||
| 7 | **Clone torch-npu** | 7 | **Clone torch-npu** |
| 8 | 8 | ||
| 9 | ```Shell | 9 | ```Shell |
| 10 | -git clone https://gitee.com/ascend/pytorch.git --depth 1 | 10 | +git clone https://gitcode.com/ascend/pytorch.git --depth 1 |
| 11 | ``` | 11 | ``` |
| 12 | 12 | ||
| 13 | **Build docker image** | 13 | **Build docker image** |