Gpflow

Latest version: v2.9.2

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

2.7.1

A small fix for a bug in the scipy optimize wrapper.

Breaking Changes

* None

Known Caveats

* None

Major Features and Improvements

* None

Bug Fixes and Other Changes

* Patched `gpflow.optimizers.Scipy` to always assign the last good state returned by `scipy.optimize.minimize` to the model under optimization. Previously, this step could be missed if `minimize` failed in some situations, leaving the model in an arbitrary state.

Thanks to our Contributors

This release contains contributions from:

Khurram Ghani

2.7.0

The main theme of this release is documentation, with a new suite of tutorials, several upgrades to notebooks and the removal of a rather annoying bug in the documentation site.

Perhaps more notably, `check_shapes` has been removed, and can now be found [here](https://github.com/GPflow/check_shapes). This change is breaking for those who are still getting `check_shapes` from `gpflow`, although being in experimental this change does not require a new version number.

Breaking Changes

* `gpflow.experimental.check_shapes` has been removed, in favour of an independent release. Use
`pip install check_shapes` and `import check_shapes` instead.

Major Features and Improvements

* Major rework of documentation landing page and "getting started" section.

Bug Fixes and Other Changes

* Fixed bug related to `tf.saved_model` and methods wrapped in `check_shapes`.
* Documented monitoring with `Adam` optimizer.
* Fixed bug related to switching versions in documentation site
* Fixed several issues relating to mypy


Thanks to our Contributors

This release contains contributions from:

sc336, st--, sethaxen, jesnie

2.6.4

This is yet another bug-fix release.

Bug Fixes and Other Changes

* Fix to `to_default_float` to avoid losing precision when called with python floats.

Thanks to our Contributors

This release contains contributions from:

ChrisMorter

2.6.3

This is yet another bug-fix release.

Bug Fixes and Other Changes

* Fix to `check_shapes` handling of `tfp..._TensorCoercible`.

Thanks to our Contributors

This release contains contributions from:

jesnie

2.6.2

This is a bug-fix release, for compatibility with GPflux.

Bug Fixes and Other Changes

* Extract shapes of `tfp.python.layers.internal.distribution_tensor_coercible._TensorCoercible`.
* Allow `FallbackSeparateIndependentInducingVariables` to have children with different shapes.
* Allow input and output batches on `GaussianQuadrature` to be different.

Thanks to our Contributors

This release contains contributions from:

jesnie

2.6.1

This is a bug-fixes release, due to problems with model saving in `2.6.0`.

Breaking Changes

* Removed `gpflow.utilities.ops.cast`. Use `tf.cast` instead.

Bug Fixes and Other Changes

* Fixed bug related to `tf.saved_model` and methods wrapped in `check_shapes`.
* Some documentation formatting fixes.

Thanks to our Contributors

This release contains contributions from:

jesnie

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.