xingyi ai集群transformer engine安装

AI集群服务

星光k8s目前只有AI集群服务能使用RDMA,因此通过AI集群服务中的pytorch镜像开启环境。

安装步骤

export http_proxy="http://99.72.0.200:3138"
export https_proxy="http://99.72.0.200:3138"
export CUDNN_PATH=/app/nvhpc/cudnn/8.9
wget https://github.com/NVIDIA/TransformerEngine/archive/refs/tags/v1.8.zip
unzip v1.8.zip
cd TransformerEngine-1.8/3rdparty/cudnn-frontend
wget https://github.com/NVIDIA/cudnn-frontend/archive/98ca4e1941fe3263f128f74f10063a3ea35c7019.zip
unzip cudnn-frontend-98ca4e1941fe3263f128f74f10063a3ea35c7019.zip
mv cudnn-frontend-98ca4e1941fe3263f128f74f10063a3ea35c7019/* ./
rm cudnn-frontend-98ca4e1941fe3263f128f74f10063a3ea35c7019 cudnn-frontend-98ca4e1941fe3263f128f74f10063a3ea35c7019.zip -rf
//https://github.com/NVIDIA/cudnn-frontend/archive/refs/tags/v1.5.2.zip
wget https://github.com/google/googletest/archive/f8d7d77c06936315286eb55f8de22cd23c188571.zip
unzip f8d7d77c06936315286eb55f8de22cd23c188571.zip
mv googletest-f8d7d77c06936315286eb55f8de22cd23c188571/* ./
rm googletest-f8d7d77c06936315286eb55f8de22cd23c188571/ -rf
rm f8d7d77c06936315286eb55f8de22cd23c188571.zip
export CUDACXX=/app/nvhpc/Linux_x86_64/24.3/cuda/12.3/bin/nvcc
cd ..
pip install .

报错

  1. AssertionError: Could not find libtransformer_engine.so
export LD_LIBRARY_PATH=/GLOBALFS/nscc-gz_qmo2/software/TransformerEngine-1.8/build/lib.linux-x86_64-cpython-310/transformer_
engine:$LD_LIBRARY_PATH
  1. TypeError: Descriptors cannot not be created directly.
    If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
pip install protobuf==3.19.0
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值