Skip to content

Commit

Permalink
Add conditionally tensorflow-macos to setup.py (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
vdutor authored Jul 22, 2022
1 parent 0c6877b commit 06f238b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"gpflow>=2.1",
"numpy",
"scipy",
"tensorflow>=2.5.0,<2.9.0",
"tensorflow>=2.5.0,<2.9.0; platform_system!='Darwin' or platform_machine!='arm64'",
# NOTE: Support of Apple Silicon MacOS platforms is in an experimental mode
"tensorflow-macos>=2.5.0,<2.9.0; platform_system=='Darwin' and platform_machine=='arm64'",
# NOTE: once we require tensorflow-probability>=0.12, we can remove our custom deepcopy handling
"tensorflow-probability>=0.13.0,<0.17.0",
"protobuf~=3.19.0"
]
Expand Down

0 comments on commit 06f238b

Please sign in to comment.