Unverified Commit bf2689a9 authored by Jeff Rasley's avatar Jeff Rasley Committed by GitHub
Browse files

Fix bug in install script, bump TF version (#71)

* bump tf version in dockerfile

* Update install.sh
parent 4f0680c1
...@@ -36,7 +36,7 @@ RUN apt-get install -y python3 python3-dev && \ ...@@ -36,7 +36,7 @@ RUN apt-get install -y python3 python3-dev && \
############################################################################## ##############################################################################
# TensorFlow # TensorFlow
############################################################################## ##############################################################################
ENV TENSORFLOW_VERSION=1.14.0 ENV TENSORFLOW_VERSION=1.15.2
RUN pip install tensorflow-gpu==${TENSORFLOW_VERSION} RUN pip install tensorflow-gpu==${TENSORFLOW_VERSION}
############################################################################## ##############################################################################
......
...@@ -103,16 +103,19 @@ if [ "$third_party_install" == "1" ]; then ...@@ -103,16 +103,19 @@ if [ "$third_party_install" == "1" ]; then
cd third_party/apex cd third_party/apex
python setup.py --cpp_ext --cuda_ext bdist_wheel python setup.py --cpp_ext --cuda_ext bdist_wheel
cd - cd -
echo "Installing apex locally so that deepspeed will build"
sudo -H pip uninstall -y apex
sudo -H pip install third_party/apex/dist/apex*.whl
fi fi
if [ "$deepspeed_install" == "1" ]; then if [ "$deepspeed_install" == "1" ]; then
echo "Installing deepspeed" echo "Installing deepspeed"
python setup.py bdist_wheel python setup.py bdist_wheel
fi fi
if [ "$local_only" == "1" ]; then if [ "$local_only" == "1" ]; then
if [ "$third_party_install" == "1" ]; then if [ "$third_party_install" == "1" ]; then
echo "Installing apex" echo "Installing apex locally"
sudo -H pip uninstall -y apex sudo -H pip uninstall -y apex
sudo -H pip install third_party/apex/dist/apex*.whl sudo -H pip install third_party/apex/dist/apex*.whl
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment