secondmind-labs / GPflux

Deep GPs built on top of TensorFlow/Keras and GPflow
https://secondmind-labs.github.io/GPflux/
Apache License 2.0
120 stars 24 forks source link

Support tensorflow 2.5 through 2.8. #72

Closed jesnie closed 2 years ago

jesnie commented 2 years ago
  1. Dropped support for Python 3.6.
  2. Added Python 3.9 and 3.10.
  3. Added TensorFlow 2.6, 2.7 and 2.8.
  4. Updated github actions to test all of these combinations.
  5. Had to update some of the tests_requirements - this caused some reformatting.
  6. tfp.Distributions are sometimes wrapped in a _TensorCoercible - I added unwrap_dist to handle this.
  7. For some versions there are problems serialising gpflow.Parameters. I skip the relevant tests.
  8. Apparently the tags that are exported by TensorBoard changes slightly with version. Did a version test for that.
  9. Had to down-adjust coverage to 96% - presumably related to the skipped tests above.

Notice the changes to the build system will require you/us to update the settings on which tests are required to merge.

vdutor commented 2 years ago

Before you will be able to merge I need to disable the old quality check tests (Python-3.6 tensorflow~=2.5.0, Python-3.7 tensorflow~=2.5.0, Python-3.8 tensorflow~=2.5.0) and enable the new ones. Let me know when you want this to be done.