Skip to content

Commit

Permalink
Merge pull request #4994 from RasaHQ/use-tf-cpu-only
Browse files Browse the repository at this point in the history
use tf without gpu support by default
  • Loading branch information
wochinge authored Jan 16, 2020
2 parents ef93c75 + 916dc11 commit 7c14020
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog/4989.improvement.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Switching back to a TensorFlow release which only includes CPU support to reduce the
size of the dependencies. If you want to use the TensorFlow package with GPU support,
please run ``tensorflow-gpu==1.15.0``.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ redis==3.3.5
pymongo[tls,srv]==3.8.0
numpy==1.16.3
scipy==1.2.1
tensorflow==1.15.0
tensorflow-cpu==1.15.0
absl-py>=0.8.0
# setuptools comes from tensorboard requirement:
# https://github.com/tensorflow/tensorboard/blob/1.14/tensorboard/pip_package/setup.py#L33
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"pymongo[tls,srv]~=3.8",
"numpy~=1.16",
"scipy~=1.2",
"tensorflow~=1.15.0",
"tensorflow-cpu~=1.15.0",
# absl is a tensorflow dependency, but produces double logging before 0.8
# should be removed once tensorflow requires absl > 0.8 on its own
"absl-py>=0.8.0",
Expand Down

0 comments on commit 7c14020

Please sign in to comment.