dalle-mini
dalle-mini copied to clipboard
fix: adapt to new jax API
Tests are currently broken when ran with the latest version of JAX installed. This patch ensures the code compatibility with the current jax API.
Thanks, that's all you needed to change? I'm scared the training code will most likely be broken with latest version as well.
I pinned the versions to use here: https://github.com/borisdayma/dalle-mini/blob/f0be4de610285a002052024a1e096126f9452cc4/setup.cfg#L32
Thanks, that's all you needed to change?
Well at least, it is enough for all of the tests to pass.
For the context, I was updating dalle-mini
to the latest version on nixpkgs.