Conversation
rhayes777
commented
Feb 14, 2025
- move jax serialise/deserialise test util to conftest
- pytree methods for FactorGraphModel
- pytree methods for AnalysisFactor
- tree flatten for LogUniformPrior
- prior ids as children when creating pytrees
|
After implementing the fixes in this PR: #1125 I now get this error when running the concr example: github.com/Jammy2211/concr_cosmology I think the problem is that JAX is trying to trace and jit functions it should not need to (e.g. which are above the scope of the The giveaway is this line: Basically, the The The other clue is this message: Line 87 corresponds to this: So basically the JAX tracer is being applied to something within this function it shouldnt albeit I am unclear of what... |
feature/jax initial samples
|
Serialisation is occurring because jit is applied to FactorGraphModel.log_likelihood resulting in self being serialised and deserialised |