Flax dataclasses do not support new-style PRNGKeyArray in serialisation
Open
Priority: P1 - soon
- Dominant language
- Jupyter Notebook
- Stars
- 7.3k
- Forks
- 833
- Avg merge
- 5h 11m
- Merged PRs (30d)
- 5
Description
New-style `PRNGKeyArray` cannot be serialised by flax.
This is inconveniente as one has to manually override the serailization/deserialization methods automatically generated by flax's data class to wrap/unwrap those fields..
Would it be possible to support natively PRNGKeyArray (which are technically leafs) within flax.serialization?
Contributor guide
Assessment
This issue has not been assessed yet.