Dockerfile 739 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
FROM hpcaitech/cuda-conda:11.3

# install torch
RUN conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch

# install apex
RUN git clone https://github.com/NVIDIA/apex && \
    cd apex && \
    pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
Frank Lee's avatar
Frank Lee committed
10
11
12
13

# install colossalai
RUN git clone https://github.com/hpcaitech/ColossalAI.git \
 && cd ./ColossalAI \
ver217's avatar
ver217 committed
14
 && pip install -v --no-cache-dir .
15
16

# install titans
17
RUN pip install --no-cache-dir titans
18
19
20
21
22
23
24

# install tensornvme
RUN conda install cmake && \
    git clone https://github.com/hpcaitech/TensorNVMe.git && \
    cd TensorNVMe && \
    pip install -r requirements.txt && \
    pip install -v --no-cache-dir .