Add bagua installation in dockerfile (#11283)
Co-authored-by: Aki Nitta <nitta@akihironitta.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz>
This commit is contained in:
parent
d9938da8a4
commit
a0655611de
|
@ -16,6 +16,7 @@ ARG CUDA_VERSION=10.2
|
|||
|
||||
FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu18.04
|
||||
|
||||
ARG BAGUA_CUDA_VERSION=102
|
||||
ARG PYTHON_VERSION=3.9
|
||||
ARG PYTORCH_VERSION=1.8
|
||||
|
||||
|
@ -117,6 +118,10 @@ RUN \
|
|||
pip install deepspeed==0.5.7 && \
|
||||
python -c "import deepspeed; print(deepspeed.__version__)"
|
||||
|
||||
RUN \
|
||||
# install Bagua
|
||||
pip install bagua-cuda${BAGUA_CUDA_VERSION}==0.9.0
|
||||
|
||||
RUN \
|
||||
# Show what we have
|
||||
pip --version && \
|
||||
|
|
Loading…
Reference in New Issue