You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a similar issue to #857, it looks like there is a bad interaction between InitVar and pickle. Better practices than resorting to pickle are given in the documentation and I have been able to solve the issue and find a better workaround. But I think I should open the issue for the record.
Pickling model parameters containing an InitVar breaks PyTreeDef equality:
Hi,
This is a similar issue to #857, it looks like there is a bad interaction between
InitVar
andpickle
. Better practices than resorting topickle
are given in the documentation and I have been able to solve the issue and find a better workaround. But I think I should open the issue for the record.Pickling model parameters containing an
InitVar
breaks PyTreeDef equality:The above works by removing the
InitVar
:The text was updated successfully, but these errors were encountered: