Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,18 @@ dev = [
pin_tensorflow_cpu = [
# https://github.com/tensorflow/tensorflow/issues/75279
# macos x86 has been deprecated
"tensorflow-cpu>=2.18,<2.21; platform_machine=='x86_64' and platform_system == 'Linux'",
"tensorflow-cpu==2.20.0; platform_machine=='x86_64' and platform_system == 'Linux'",
"tensorflow~=2.18.0; (platform_machine!='x86_64' or platform_system != 'Linux') and (platform_machine!='x86_64' or platform_system != 'Darwin')",
"tensorflow; platform_machine=='x86_64' and platform_system == 'Darwin'",
# TODO: unpin protobuf after TF is upgraded to 2.21
# See: https://github.com/tensorflow/tensorflow/pull/103382
"protobuf<7.34.0",
Comment thread
njzjz marked this conversation as resolved.
Comment thread
njzjz marked this conversation as resolved.
]
pin_tensorflow_gpu = [
"tensorflow~=2.18.0",
"tensorflow==2.18.0",
# TODO: unpin protobuf after TF is upgraded to 2.21
Comment thread
njzjz marked this conversation as resolved.
# See: https://github.com/tensorflow/tensorflow/pull/103382
"protobuf<7.34.0",
Comment thread
njzjz marked this conversation as resolved.
]
pin_pytorch_cpu = [
# https://github.com/pytorch/pytorch/issues/114602
Expand Down