Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdittrich92 committed Dec 2, 2024
1 parent 3d2321f commit 03d3b08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ dependencies = [
[project.optional-dependencies]
tf = [
# cf. https://github.com/mindee/doctr/pull/1461
"tensorflow[and-cuda]>=2.15.0,<3.0.0; sys_platform != 'darwin'",
"tensorflow>=2.15.0,<3.0.0; sys_platform == 'darwin'", # TensorFlow compatible for macOS
"tensorflow[and-cuda]>=2.15.0,<3.0.0; sys_platform == 'linux'",
"tensorflow>=2.15.0,<3.0.0; sys_platform != 'linux'", # TensorFlow compatible for macOS and Windows
"tf-keras>=2.15.0,<3.0.0", # Keep keras 2 compatibility
"tf2onnx>=1.16.0,<2.0.0", # cf. https://github.com/onnx/tensorflow-onnx/releases/tag/v1.16.0
]
Expand Down Expand Up @@ -98,8 +98,8 @@ docs = [
dev = [
# Tensorflow
# cf. https://github.com/mindee/doctr/pull/1461
"tensorflow[and-cuda]>=2.15.0,<3.0.0; sys_platform != 'darwin'",
"tensorflow>=2.15.0,<3.0.0; sys_platform == 'darwin'", # TensorFlow compatible for macOS
"tensorflow[and-cuda]>=2.15.0,<3.0.0; sys_platform == 'linux'",
"tensorflow>=2.15.0,<3.0.0; sys_platform != 'linux'", # TensorFlow compatible for macOS and Windows
"tf-keras>=2.15.0,<3.0.0", # Keep keras 2 compatibility
"tf2onnx>=1.16.0,<2.0.0", # cf. https://github.com/onnx/tensorflow-onnx/releases/tag/v1.16.0
# PyTorch
Expand Down

0 comments on commit 03d3b08

Please sign in to comment.