GPJax version: 0.7.2 (issue also presents on main head)
Current behavior: For WhitenedVariationalGaussian, the triangular constraint for its variational_root_covariance is not being enforced, even though it is registered in the definition in parent class and implicitly assumed in code (compare this line with this). This leads to incorrect prior KL computation when evaluating ELBO.
Expected behavior:
In the following code, the matrix-valued parameter should have a tfp.bijctors.FillTriangular registered with it.
Bug Report
GPJax version: 0.7.2 (issue also presents on
main
head)Current behavior: For
WhitenedVariationalGaussian
, the triangular constraint for itsvariational_root_covariance
is not being enforced, even though it is registered in the definition in parent class and implicitly assumed in code (compare this line with this). This leads to incorrect prior KL computation when evaluating ELBO.Expected behavior:
In the following code, the matrix-valued parameter should have a
tfp.bijctors.FillTriangular
registered with it.Steps to reproduce:
See below.
Related code:
Other information:
It seems like some inheritance-related bug, since the parent class doesn't have this issue.