mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-01 17:17:05 +00:00
[workflow] auto-publish docker image upon release (#1164)
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
FROM hpcaitech/pytorch-cuda:1.10.1-11.3.0
|
||||
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" ./
|
||||
|
||||
# install colossalai
|
||||
RUN git clone https://github.com/hpcaitech/ColossalAI.git \
|
||||
|
Reference in New Issue
Block a user