Open vabor112 opened 8 months ago
This issue has been marked as stale because it has been open for 7 days with no activity.
Spoke to @daniel-dodd - this issue is caused by the downstream dependency cola
, which GPJax relies on. An issue should be filed there.
CC: @vabor112
Thanks for updating @aterenin. I'd prefer to see this fixed upstream in Cola, otherwise we may need to fork the project and implement a workaround. Needless to say, this would be messy.
Bug Report
GPJax version: 0.8.0
Current behavior:
I am trying to update the existing integration of GeometricKernels with GPJax so that it works with newer versions of GPJax. It works okay for GPJax 0.6.9. However, for the current GPJax 0.8.0, I hit two problems.
The first one is exactly #397, which, although quite annoying, can be fixed by downgrading
tensorflow
to version 2.13.The second one is illustrated in the Related code section below. I believe it is concenred with plum-dispatch, which we use extensively in GeometricKernels to support multiple backends. GPJax uses cola which in its turn relies on a fork of
cola
, cola-plum-dispatch. This unmaintained fork uses the same namespaceplum
(which seems like a terrible sin) and gets overriden by the actualplum
that GeometricKernels uses, causing the error below. I believe this is similar to this issue.Expected behavior:
I am not sure how to fix this, but it seems to be an important problem to fix as otherwise GPJax becomes incompatible with any other libraries that rely on
plum-dispatch
, which is quite popular.Steps to reproduce:
See below.
Related code:
It is enough to run this snippet:
which leads to