Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
zhangy03 e76df8bb5d | 2 years ago | |
---|---|---|
.. | ||
client | 2 years ago | |
messages | 2 years ago | |
pb | 2 years ago | |
practice | 2 years ago | |
README.md | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago |
功能:实现机器信息采集、运行状态采集、任务执行。任务执行包括任务启动、任务停止等操作,主要是对容器进行启动和停止。
protoc pb/machineInfo.proto --go_out=plugins=grpc:messages/
Version 1.16 or later
#项目根目录
go mod tidy
cd client/docker
# X86服务器
./build.sh GOOS=linux GOARCH=amd64
# 国产服务器
./build.sh GOOS=linux GOARCH=arm64
# MacOS/Linux
./build.sh GOOS=darwin GOARCH=amd64
cd client/openi
# X86服务器
./build.sh GOOS=linux GOARCH=amd64
# 国产服务器
./build.sh GOOS=linux GOARCH=arm64
cd client/modelarts
# X86服务器
./build.sh GOOS=linux GOARCH=amd64
# 国产服务器
./build.sh GOOS=linux GOARCH=arm64
sudo nohup ./jointai-proxy-docker command --config=./config.yaml &
gpuList 脚本要求每一个GPU/NPU核输出一行,有几行表示有几个核心
gpuProcess表示GPU核心运行的进程,输出每一行表示一个进程,第一列为GPU/NPU的索引号,第二列为进程号,如果为0或者为‘-’则表示空闲,可以用于运算。
gpuList: "nvidia-smi -L"
gpuProcess: "nvidia-smi pmon -c 1 | grep -v '#' | awk '{ print $1,$2 }'"
npu info | grep OK
npu info | grep OK -A 1 | grep -v '-' | awk '{print $2,$10}' | sed 'N;s/\n/ /' awk 'print $1,$3'
docker start -it -d --pids-limit 409600 -v /var/log/npu:/var/log/npu -v /usr/local/Ascend/driver:/usr/local/Ascend/driver -v /etc/ascend_install.info:/etc/ascend_install.info -v /usr/local/Ascend/add-ons:/usr/local/Ascend/add-ons -v /home:/userhome 192.168.202.74:5000/user-imagds/pcl_poc_resnet50:ms_client_v1
鹏城众智AI协同计算平台AISynergy是一个分布式智能协同计算平台。该平台的目标是通过智算网络基础设施使能数据、算力、模型、网络和服务,完成跨多个智算中心的协同计算作业,进而实现全新计算范式和业务场景,如大模型跨域协同计算、多中心模型聚合、多中心联邦学习等。
Java Vue Python JavaScript Go other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》