Skip to content

Commit

Permalink
Add testing using TF2.14 (#837)
Browse files Browse the repository at this point in the history
* Replace workflows that use tf2.11 with tf2.14

* Add python3.11 workflows to tf 2.13 and 2.12

* update readme

---------

Co-authored-by: reuvenp <[email protected]>
  • Loading branch information
reuvenperetz and reuvenp authored Oct 31, 2023
1 parent 6a2b96b commit fc72c09
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python 3.10, Keras 2.11
name: Python 3.10, Keras 2.14
on:
workflow_dispatch: # Allow manual triggers
schedule:
Expand All @@ -13,4 +13,4 @@ jobs:
uses: ./.github/workflows/run_keras_tests.yml
with:
python-version: "3.10"
tf-version: "2.11.*"
tf-version: "2.14.*"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python 3.8, Keras 2.11
name: Python 3.11, Keras 2.12
on:
workflow_dispatch: # Allow manual triggers
schedule:
Expand All @@ -12,5 +12,5 @@ jobs:
run-tests:
uses: ./.github/workflows/run_keras_tests.yml
with:
python-version: "3.8"
tf-version: "2.11.*"
python-version: "3.11"
tf-version: "2.12.*"
16 changes: 16 additions & 0 deletions .github/workflows/run_tests_python311_keras213.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Python 3.11, Keras 2.13
on:
workflow_dispatch: # Allow manual triggers
schedule:
- cron: 0 0 * * *
pull_request:
branches:
- main


jobs:
run-tests:
uses: ./.github/workflows/run_keras_tests.yml
with:
python-version: "3.11"
tf-version: "2.13.*"
16 changes: 16 additions & 0 deletions .github/workflows/run_tests_python311_keras214.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Python 3.11, Keras 2.14
on:
workflow_dispatch: # Allow manual triggers
schedule:
- cron: 0 0 * * *
pull_request:
branches:
- main


jobs:
run-tests:
uses: ./.github/workflows/run_keras_tests.yml
with:
python-version: "3.11"
tf-version: "2.14.*"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python 3.9, Keras 2.11
name: Python 3.9, Keras 2.14
on:
workflow_dispatch: # Allow manual triggers
schedule:
Expand All @@ -13,4 +13,4 @@ jobs:
uses: ./.github/workflows/run_keras_tests.yml
with:
python-version: "3.9"
tf-version: "2.11.*"
tf-version: "2.14.*"
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ Currently, MCT is being tested on various Python, Pytorch and TensorFlow version
| Python 3.10 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_pytorch112.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_pytorch112.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_pytorch113.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_pytorch113.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_pytorch20.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_pytorch20.yml) |


| | TensorFlow 2.11 | TensorFlow 2.12 | TensorFlow 2.13 |
| | TensorFlow 2.12 | TensorFlow 2.13 | TensorFlow 2.14 |
|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Python 3.8 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python38_keras211.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python38_keras211.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python38_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python38_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python38_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python38_keras213.yml) |
| Python 3.9 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras211.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras211.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) |
| Python 3.10 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras211.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras211.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) |
| Python 3.9 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) |
| Python 3.10 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) |
| Python 3.11 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml) |


## Supported Features
Expand Down

0 comments on commit fc72c09

Please sign in to comment.