I'm not sure how to properly debug this.
But essentially here (EnzymeAD/Reactant.jl#353 (comment)) we're trying to add precompilation to reactant. Everything is fine on 1.11. On 1.10, loading of the serializatized object hits a julia assertion error in particular here:
This data isn't written to after mmaping in the compiled code, and where it asserts so I presume it's a bug in Julia's precompilation.
cc @gbaraldi @vchuravy @vtjnash @mofeing