File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 11[DEFAULT]
2- build_docker_image_pytorch_version = 2.6.0 -cuda12.4 -cudnn9
2+ build_docker_image_pytorch_version = 2.7.1 -cuda12.6 -cudnn9
33build_docker_image_hvd_version = v0.28.1
44build_docker_image_msdp_version = v0.14.0
Original file line number Diff line number Diff line change @@ -25,9 +25,12 @@ ARG HVD_VERSION
2525
2626# Build Horovod
2727RUN apt-get update && apt-get install -y git && \
28- git clone --recursive --depth 1 --branch ${HVD_VERSION} https://github.com/horovod/horovod.git /horovod && \
29- conda install -y cmake nccl -c conda-forge && \
28+ conda install -y cmake=3.* nccl -c conda-forge && \
29+ git clone --depth 1 https://github.com/horovod/horovod.git /horovod && \
3030 cd /horovod && \
31+ git fetch --tags && \
32+ git checkout ${HVD_VERSION} && \
33+ git submodule update --init --recursive && \
3134 # temporary -std=c++17 fix
3235 sed -i "s/CMAKE_CXX_STANDARD 14/CMAKE_CXX_STANDARD 17/g" CMakeLists.txt && \
3336 sed -i "s/CMAKE_CXX_STANDARD 14/CMAKE_CXX_STANDARD 17/g" horovod/torch/CMakeLists.txt && \
Original file line number Diff line number Diff line change 33
44ARG PTH_VERSION
55
6- FROM pytorch/pytorch:${PTH_VERSION}-devel as builder
6+ FROM pytorch/pytorch:${PTH_VERSION}-devel AS builder
77
88ARG HVD_VERSION
99
1010# Build Horovod
1111RUN apt-get update && apt-get install -y git && \
12- git clone --recursive --depth 1 --branch ${HVD_VERSION} https://github.com/horovod/horovod.git /horovod && \
13- conda install -y cmake nccl -c conda-forge && \
12+ conda install -y cmake=3.* nccl -c conda-forge && \
13+ git clone --depth 1 https://github.com/horovod/horovod.git /horovod && \
1414 cd /horovod && \
15+ git fetch --tags && \
16+ git checkout ${HVD_VERSION} && \
17+ git submodule update --init --recursive && \
1518 # temporary -std=c++17 fix
1619 sed -i "s/CMAKE_CXX_STANDARD 14/CMAKE_CXX_STANDARD 17/g" CMakeLists.txt && \
1720 sed -i "s/CMAKE_CXX_STANDARD 14/CMAKE_CXX_STANDARD 17/g" horovod/torch/CMakeLists.txt && \
You can’t perform that action at this time.
0 commit comments