Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
deepspeed
Commits
bf2689a9
Unverified
Commit
bf2689a9
authored
Feb 12, 2020
by
Jeff Rasley
Committed by
GitHub
Feb 12, 2020
Browse files
Fix bug in install script, bump TF version (#71)
* bump tf version in dockerfile * Update install.sh
parent
4f0680c1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
Dockerfile
Dockerfile
+1
-1
install.sh
install.sh
+5
-2
No files found.
Dockerfile
View file @
bf2689a9
...
...
@@ -36,7 +36,7 @@ RUN apt-get install -y python3 python3-dev && \
##############################################################################
# TensorFlow
##############################################################################
ENV
TENSORFLOW_VERSION=1.1
4.0
ENV
TENSORFLOW_VERSION=1.1
5.2
RUN
pip
install
tensorflow-gpu
==
${
TENSORFLOW_VERSION
}
##############################################################################
...
...
install.sh
View file @
bf2689a9
...
...
@@ -103,16 +103,19 @@ if [ "$third_party_install" == "1" ]; then
cd
third_party/apex
python setup.py
--cpp_ext
--cuda_ext
bdist_wheel
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
if
[
"
$deepspeed_install
"
==
"1"
]
;
then
echo
"Installing deepspeed"
python setup.py bdist_wheel
fi
if
[
"
$local_only
"
==
"1"
]
;
then
if
[
"
$third_party_install
"
==
"1"
]
;
then
echo
"Installing apex"
echo
"Installing apex
locally
"
sudo
-H
pip uninstall
-y
apex
sudo
-H
pip
install
third_party/apex/dist/apex
*
.whl
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment