secondmind-labs / trieste

A Bayesian optimization toolbox built on TensorFlow
Apache License 2.0
217 stars 42 forks source link

VGP models don't work with keras optimizers in TF 2.11 and 2.12 #754

Open uri-granta opened 1 year ago

uri-granta commented 1 year ago

Describe the bug Calling minimize on a VGP model using a keras optimizer no longer works when using TF 2.12 or 2.12.

Additional context This is due https://github.com/keras-team/tf-keras/issues/161 and is most easily fixed on the tenorflow side. We should therefore decide whether we're happy to wait or if we want a workaround for the affected versions.