Skip to content

Commit

Permalink
pin tf to <2.15 on win due to tensorflow/tensorflow#61830
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Nov 14, 2023
1 parent 153d26e commit 9961967
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/find_tensorflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ def get_tf_requirement(tf_version: str = "") -> dict:
"cpu": [
"tensorflow-cpu; platform_machine!='aarch64' and (platform_machine!='arm64' or platform_system != 'Darwin')",
"tensorflow; platform_machine=='aarch64' or (platform_machine=='arm64' and platform_system == 'Darwin')",
# https://github.com/tensorflow/tensorflow/issues/61830
"tensorflow-cpu<2.15; platform_system=='Windows'",
*extra_requires,
],
"gpu": [
Expand Down

0 comments on commit 9961967

Please sign in to comment.