ColossalAI/docker/Dockerfile

24 lines
739 B
Docker
Raw Normal View History

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" ./
2022-01-07 06:54:04 +00:00
# install colossalai
RUN git clone https://github.com/hpcaitech/ColossalAI.git \
&& cd ./ColossalAI \
2022-02-14 09:09:30 +00:00
&& pip install -v --no-cache-dir .
# install titans
RUN pip install --no-cache-dir titans
# 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 .