Installation¶
Last updated: 03/24/2026
Installation Options¶
Basic Installation (HCCL Only)¶
Install the base package with HCCL collective communication support:
With YuanRong Direct Transport Support¶
Install with YuanRong (YR) direct tensor transport support:
From Source (Editable Installation)¶
For development or to use the latest version:
CANN Setup (for NPU Features)¶
If you have Ascend NPU devices and want to use HCCL or NPU tensor transport, you need to install the CANN toolkit.
Using CANN Docker (Recommended)¶
We recommend using the official CANN Docker images for the easiest setup:
# For Ascend NPU A3
docker pull swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.2.rc1-a3-ubuntu22.04-py3.11
# For Ascend NPU 910B
docker pull swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.2.rc1-910b-ubuntu22.04-py3.11
For more details on running the container, see the official CANN image documentation.
Verifying CANN Installation¶
After CANN installation, confirm the toolkit path exists:
Etcd Setup (for YR Transport)¶
OpenYuanRong DataSystem relies on etcd for cluster coordination. Download and install etcd from the official releases: ETCD GitHub Releases
# Example for Linux ARM64 (adjust architecture as needed)
ETCD_VERSION="v3.6.5"
ARCH="linux-arm64" # or "linux-amd64" for x86
# Unpack etcd
tar -xvf etcd-${ETCD_VERSION}-${ARCH}.tar.gz
# Create symbolic links in /usr/local/bin
sudo ln -sf "$(pwd)/etcd-${ETCD_VERSION}-${ARCH}/etcd" /usr/local/bin/etcd
sudo ln -sf "$(pwd)/etcd-${ETCD_VERSION}-${ARCH}/etcdctl" /usr/local/bin/etcdctl
# Verify installation
etcd --version
etcdctl version
Environment Variables for YR Transport¶
Set these environment variables before using YuanRong direct transport:
Verify the YR installation by checking for the dscli command-line tool: