Skip to content

Commit

Permalink
Added TF 2.6 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-sz committed Aug 13, 2021
1 parent 4378ae6 commit 1e138dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
tensorflow-version: [ 2.2, 2.3, 2.4, 2.5 ]
tensorflow-version: [ 2.2, 2.3, 2.4, 2.5, 2.6 ]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _package_exists(name: str) -> bool:
def _get_tensorflow_requirement():
"""Avoid re-download and misdetection of package."""
lower = 2.2
upper = 2.6
upper = 2.7

if _package_exists("tensorflow-cpu"):
return [f"tensorflow-cpu>={lower},<{upper}"]
Expand Down
4 changes: 2 additions & 2 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Onnx conversion
tf2onnx~=1.9.1
onnxruntime~=1.8.1
tf2onnx>=1.9.1,<1.10
onnxruntime>=1.8.1,<1.10

# Tensorflow Model Optimization Toolkit
tensorflow-model-optimization~=0.6.0
Expand Down

0 comments on commit 1e138dc

Please sign in to comment.