2022-06-23 06:51:59 +00:00
|
|
|
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 && \
|
2022-10-26 12:54:39 +00:00
|
|
|
pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" --global-option="--fast_layer_norm" ./
|
2022-01-07 06:54:04 +00:00
|
|
|
|
|
|
|
# install colossalai
|
|
|
|
RUN git clone https://github.com/hpcaitech/ColossalAI.git \
|
2022-10-26 12:54:39 +00:00
|
|
|
&& cd ./ColossalAI \
|
|
|
|
&& pip install -v --no-cache-dir .
|
2022-06-23 07:12:15 +00:00
|
|
|
|
|
|
|
# install titans
|
2022-06-23 09:34:59 +00:00
|
|
|
RUN pip install --no-cache-dir titans
|
2022-07-21 09:44:00 +00:00
|
|
|
|
|
|
|
# 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 .
|