Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support tensorflow 2.16 #102

Merged
merged 11 commits into from
Jun 20, 2024
Merged

Support tensorflow 2.16 #102

merged 11 commits into from
Jun 20, 2024

Conversation

uri-granta
Copy link
Collaborator

@uri-granta uri-granta commented Jun 18, 2024

Support and test against TF 2.16.

Note that this also sets fail-fast to false, which makes handling fragile tests easier.

@uri-granta uri-granta marked this pull request as ready for review June 20, 2024 09:00
Copy link
Collaborator

@khurram-ghani khurram-ghani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just a couple of minor questions.

"gpflow>=2.6.3",
"numpy",
"gpflow>=2.9.2",
"numpy<2",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the issue with numpy>=2?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a major, breaking release: e.g. see https://numpy.org/devdocs/numpy_2_0_migration_guide.html.

We'll certainly want to have a conversation about supporting it at some point (possibly company wide), but at this point it probably makes sense to just wait until the dust settles (it was release just a few days ago).

@@ -20,9 +20,10 @@ jobs:
check-and-test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to check, presumably this wouldn't make testing much slower anyway, as gpflux tests are very fast; correct?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests take just as long as before if they all pass. However, if one of them fails early on, then previously we would have cancelled all the others, while now we will wait until they all finish (around 10 minutes).

@uri-granta uri-granta merged commit b3ad682 into develop Jun 20, 2024
37 checks passed
@uri-granta uri-granta deleted the uri/support_tensorflow_2_16 branch June 20, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants