Dockerfile 402 Bytes
Newer Older
Frank Lee's avatar
Frank Lee committed
1
2
3
FROM nvcr.io/nvidia/pytorch:21.07-py3

# install dependencies
Frank Lee's avatar
Frank Lee committed
4
5
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
 && pip install -U pip setuptools wheel \
Frank Lee's avatar
Frank Lee committed
6
7
8
9
10
11
 && pip install pytest tensorboard deepspeed apex

# install colossalai
RUN git clone https://github.com/hpcaitech/ColossalAI.git \
 && cd ./ColossalAI \
 && pip install -v --no-cache-dir --global-option="--cuda_ext" .