已合并
Update URL (gitcode) #79
dilililiwhy创建于 2025年9月14日
Update URL (gitcode) #79
已合并
共 3 个文件变更+13-9
| @@ -1,10 +1,14 @@ | |||
| 1 | approvers: | 1 | approvers: |
| 2 | -- weili10 | 2 | +- liwei386 |
| 3 | - li_jing_hw | 3 | - li_jing_hw |
| 4 | - dilililiwhy | 4 | - dilililiwhy |
| 5 | - whj2023 | 5 | - whj2023 |
| 6 | - liuzhuheng | 6 | - liuzhuheng |
| 7 | +- shaoyf | ||
| 8 | +- yanpengquan | ||
| 9 | +- wangchao430 | ||
| 7 | reviewers: | 10 | reviewers: |
| 8 | -- yanpengquan07 | 11 | +- liwei386 |
| 12 | +- yanpengquan | ||
| 9 | - shaoyf | 13 | - shaoyf |
| 10 | - misty-rain-typhoid | 14 | - misty-rain-typhoid |
| @@ -6,7 +6,7 @@ | |||
| 6 | #### 安装教程 | 6 | #### 安装教程 |
| 7 | 在linux shell中指定位置运行: | 7 | 在linux shell中指定位置运行: |
| 8 | ``` | 8 | ``` |
| 9 | -$ git clone --recursive https://gitee.com/ascend/Tensorpipe.git | 9 | +$ git clone --recursive https://gitcode.com/ascend/Tensorpipe.git |
| 10 | $ cd Tensorpipe | 10 | $ cd Tensorpipe |
| 11 | $ bash ci/build.sh | 11 | $ bash ci/build.sh |
| 12 | ``` | 12 | ``` |
| @@ -22,7 +22,7 @@ option(TP_BUILD_TESTING "Build tests" OFF) | |||
| 22 | ``` | 22 | ``` |
| 23 | 23 | ||
| 24 | #### API接口 | 24 | #### API接口 |
| 25 | -Tensorpipe对外暴露的详细接口信息请参考[API文档](https://gitee.com/ascend/Tensorpipe/blob/master/API.md) | 25 | +Tensorpipe对外暴露的详细接口信息请参考[API文档](https://gitcode.com/ascend/Tensorpipe/blob/master/API.md) |
| 26 | 26 | ||
| 27 | #### 测试方法 | 27 | #### 测试方法 |
| 28 | 若需要测试Tensorpipe内部自带的Unit Test,请将TP_BUILD_TESTING设置为ON,并在cmake时设置: **-DTP_ENABLE_SHM=xx -DTP_ENABLE_IBV=xx -DTP_ENABLE_CMA=xx**这个三编译选项。编译完成后的build子目录中运行:**./tensorpipe/test/tensorpipe_test** | 28 | 若需要测试Tensorpipe内部自带的Unit Test,请将TP_BUILD_TESTING设置为ON,并在cmake时设置: **-DTP_ENABLE_SHM=xx -DTP_ENABLE_IBV=xx -DTP_ENABLE_CMA=xx**这个三编译选项。编译完成后的build子目录中运行:**./tensorpipe/test/tensorpipe_test** |
| @@ -46,7 +46,7 @@ $ rdma dev show | |||
| 46 | ``` | 46 | ``` |
| 47 | 47 | ||
| 48 | # 版本配套表 | 48 | # 版本配套表 |
| 49 | -[Ascend Tensorpipe版本配套信息请参考Ascend Extension for PyTorch主仓声明](https://gitee.com/ascend/pytorch/blob/master/README.zh.md) | 49 | +[Ascend Tensorpipe版本配套信息请参考Ascend Extension for PyTorch主仓声明](https://gitcode.com/ascend/pytorch/blob/master/README.zh.md) |
| 50 | 50 | ||
| 51 | # 安全声明 | 51 | # 安全声明 |
| 52 | [Ascend Tensorpipe 代码仓库安全声明](SECURITYNOTE.md) | 52 | [Ascend Tensorpipe 代码仓库安全声明](SECURITYNOTE.md) |
| @@ -8,7 +8,7 @@ | |||
| 8 | 8 | ||
| 9 | ## 运行用户建议 | 9 | ## 运行用户建议 |
| 10 | 10 | ||
| 11 | -Ascend Tensorpipe仓库代码不单独构建whl包,作为[Ascend PyTorch](https://gitee.com/ascend/pytorch)的三方包使用,可以参考README.md中的提示,运行相应的UT。 | 11 | +Ascend Tensorpipe仓库代码不单独构建whl包,作为[Ascend PyTorch](https://gitcode.com/ascend/pytorch)的三方包使用,可以参考README.md中的提示,运行相应的UT。 |
| 12 | 12 | ||
| 13 | 出于安全性及权限最小化角度考虑,不建议使用root等管理员类型账户使用。 | 13 | 出于安全性及权限最小化角度考虑,不建议使用root等管理员类型账户使用。 |
| 14 | 14 | ||
| @@ -58,7 +58,7 @@ Ascend Tensorpipe仓库作为torch_npu的三方依赖库支持源码编译安装 | |||
| 58 | 58 | ||
| 59 | ## 公网地址声明 | 59 | ## 公网地址声明 |
| 60 | 60 | ||
| 61 | -在Ascend Tensor的配置文件和脚本中存在[公网地址](https://gitee.com/ascend/Tensorpipe/blob/master/public_address_statement.md) | 61 | +在Ascend Tensor的配置文件和脚本中存在[公网地址](https://gitcode.com/ascend/Tensorpipe/blob/master/public_address_statement.md) |
| 62 | 62 | ||
| 63 | ## 公开接口声明 | 63 | ## 公开接口声明 |
| 64 | 64 | ||
| @@ -68,9 +68,9 @@ Ascend Tensorpipe为专门为Ascend PyTorch框架RPC模块提供点对点通信 | |||
| 68 | 68 | ||
| 69 | ## 通信安全加固 | 69 | ## 通信安全加固 |
| 70 | 70 | ||
| 71 | -Ascend Tensorpipe需要在设备间进行通信,其通信控制由PyTorch和Ascend PyTorch控制,通信开启的端口默认为全0侦听,为了降低安全风险,建议用户针对此场景进行安全加固,如使用iptables配置防火墙,在运行分布式训练开始前限制外部对分布式训练使用端口的访问,在运行分布式训练结束后清理防火墙规则,具体内容参考[Ascend PyTorch通信安全加固](https://gitee.com/ascend/pytorch/blob/master/SECURITYNOTE.md)。 | 71 | +Ascend Tensorpipe需要在设备间进行通信,其通信控制由PyTorch和Ascend PyTorch控制,通信开启的端口默认为全0侦听,为了降低安全风险,建议用户针对此场景进行安全加固,如使用iptables配置防火墙,在运行分布式训练开始前限制外部对分布式训练使用端口的访问,在运行分布式训练结束后清理防火墙规则,具体内容参考[Ascend PyTorch通信安全加固](https://gitcode.com/ascend/pytorch/blob/master/SECURITYNOTE.md)。 |
| 72 | 72 | ||
| 73 | ## 通信矩阵 | 73 | ## 通信矩阵 |
| 74 | 74 | ||
| 75 | -Ascend Tensorpipe需要进行网络通信。使用TCP协议进行通信,通信端口见[Ascend PyTorch通信矩阵信息](https://gitee.com/ascend/pytorch/blob/master/SECURITYNOTE.md)。 | 75 | +Ascend Tensorpipe需要进行网络通信。使用TCP协议进行通信,通信端口见[Ascend PyTorch通信矩阵信息](https://gitcode.com/ascend/pytorch/blob/master/SECURITYNOTE.md)。 |
| 76 | 76 | ||