I tried to use solver.compute_likelihood() with enable_grad=True to use your library to test a Continous Normalising Flow loss (logprob) instead of a Flow Matching objective. The gradients of the trajectory and logprob returned are both set to None. The maximum likelihood training objective cannot be trained.