Signed-off-by: Sun Ruoxi <sunruoxi@4paradigm.com>
This commit is contained in:
@@ -28,7 +28,7 @@ RUN apt-get update -y && \
|
||||
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 && \
|
||||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 && \
|
||||
source /usr/local/Ascend/ascend-toolkit/set_env.sh && \
|
||||
python3 -m pip install mooncake-transfer-engine-npu==${MOONCAKE_TAG} --extra-index-url https://mirrors.aliyun.com/pypi/web/simple && \
|
||||
python3 -m pip install --index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --extra-index-url https://pypi.org/simple mooncake-transfer-engine-npu==${MOONCAKE_TAG} && \
|
||||
rm -rf /var/cache/apt/* && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ RUN apt-get update -y && \
|
||||
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 && \
|
||||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 && \
|
||||
source /usr/local/Ascend/ascend-toolkit/set_env.sh && \
|
||||
python3 -m pip install mooncake-transfer-engine-npu==${MOONCAKE_TAG} --extra-index-url https://mirrors.aliyun.com/pypi/web/simple && \
|
||||
python3 -m pip install --index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --extra-index-url https://pypi.org/simple mooncake-transfer-engine-npu==${MOONCAKE_TAG} && \
|
||||
rm -rf /var/cache/apt/* && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ ARG MOONCAKE_TAG=0.3.11.post1
|
||||
RUN yum update -y && \
|
||||
yum install -y git vim wget net-tools gcc gcc-c++ make cmake numactl numactl-devel libibverbs-devel jemalloc hiredis-devel clang patch && \
|
||||
source /usr/local/Ascend/ascend-toolkit/set_env.sh && \
|
||||
python3 -m pip install mooncake-transfer-engine-npu==${MOONCAKE_TAG} --extra-index-url https://mirrors.aliyun.com/pypi/web/simple && \
|
||||
python3 -m pip install --index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --extra-index-url https://pypi.org/simple mooncake-transfer-engine-npu==${MOONCAKE_TAG} && \
|
||||
rm -rf /var/cache/yum/*
|
||||
|
||||
# Install modelscope (for fast download) and ray (for multinode)
|
||||
|
||||
@@ -30,7 +30,7 @@ RUN apt-get update -y && \
|
||||
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 && \
|
||||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 && \
|
||||
source /usr/local/Ascend/ascend-toolkit/set_env.sh && \
|
||||
python3 -m pip install mooncake-transfer-engine-npu==${MOONCAKE_TAG} --extra-index-url https://mirrors.aliyun.com/pypi/web/simple && \
|
||||
python3 -m pip install --index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --extra-index-url https://pypi.org/simple mooncake-transfer-engine-npu==${MOONCAKE_TAG} && \
|
||||
rm -rf /var/cache/apt/* && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ ARG MOONCAKE_TAG=0.3.11.post1
|
||||
RUN yum update -y && \
|
||||
yum install -y git vim wget net-tools gcc gcc-c++ make cmake numactl numactl-devel libibverbs-devel jemalloc hiredis-devel clang patch && \
|
||||
source /usr/local/Ascend/ascend-toolkit/set_env.sh && \
|
||||
python3 -m pip install mooncake-transfer-engine-npu==${MOONCAKE_TAG} --extra-index-url https://mirrors.aliyun.com/pypi/web/simple && \
|
||||
python3 -m pip install --index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --extra-index-url https://pypi.org/simple mooncake-transfer-engine-npu==${MOONCAKE_TAG} && \
|
||||
rm -rf /var/cache/yum/*
|
||||
|
||||
# Install modelscope (for fast download) and ray (for multinode)
|
||||
|
||||
@@ -28,7 +28,7 @@ ARG MOONCAKE_TAG=0.3.11.post1
|
||||
RUN yum update -y && \
|
||||
yum install -y git vim wget net-tools gcc gcc-c++ make cmake numactl numactl-devel libibverbs-devel jemalloc hiredis-devel clang patch && \
|
||||
source /usr/local/Ascend/ascend-toolkit/set_env.sh && \
|
||||
python3 -m pip install mooncake-transfer-engine-npu==${MOONCAKE_TAG} --extra-index-url https://mirrors.aliyun.com/pypi/web/simple && \
|
||||
python3 -m pip install --index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --extra-index-url https://pypi.org/simple mooncake-transfer-engine-npu==${MOONCAKE_TAG} && \
|
||||
rm -rf /var/cache/yum/*
|
||||
|
||||
# Install modelscope (for fast download) and ray (for multinode)
|
||||
|
||||
Reference in New Issue
Block a user