nnx.Pytree - is this still been worked on? #4340
Replies: 2 comments 1 reply
-
Hey @adam-hartshorne! I haven't forgotten about this. Curious what is your use case though? |
Beta Was this translation helpful? Give feedback.
-
I already have all my codebase using equinox. However, I would like to implement the algorithm detailed in Appendix C.2 of the following paper. https://arxiv.org/pdf/2106.03885 There is no obvious way to achieve this in equinox, i.e. store B variable that you keep updating, as you can't have a variable in a class which you update using As far as can see in nnx you can do this by default. However, such a class is not pure PyTree so I can't drop into my existing codebase easily. The PR I linked appears to do exactly this with the nnx.Pytree wrapper. |
Beta Was this translation helpful? Give feedback.
-
Am just wondering if this feature is still been worked on, it seems absolutely crucial if you already have a decent code base which uses for instance equinox Module's.
[nnx] add Pytree #4154
Beta Was this translation helpful? Give feedback.
All reactions