Replies: 2 comments 4 replies
-
Hi @gabmis thanks for bringing this to my attention. Indeed it looks like the flat-target pattern is just broken for zen-meta fields (or anything else that leverages zen-processing features). I may have a compatibility-preserving fix that at least makes it possible to leverage iterative builds patterns with zen-meta fields. Although it won't be "automatic" - so to speak - you will need to use inheritance too (see the PR). Because this is not compat-breaking I could include it in v0.12.2. If I were to make zen-processing features "just work" here (no inheritance) it would be a lot more work and would be compat-breaking, thus not be available until v0.13. Let me know what you think. P.S. Glad you all are loving hydra-zen 😄 |
Beta Was this translation helpful? Give feedback.
-
Thank you very much @rsokl for answering so quickly and coming up with a solution. I guess you're asking whether using inheritance is satisfactory enough for us. My answer is yes and no. Yes, because one of our use-case is to have, at the top-level of our training configuration, placeholder fields which we can easily reference from anywhere. An example of that is our No, because configs are already somewhat convoluted objects so we want to keep them as simple as possible and as short as possible. So, outside of that particular use case we'd probably wait for the no-inheritance fix. Hope this helps in your decision making and sorry for the unnecessarily long write-up 😅 |
Beta Was this translation helpful? Give feedback.
-
Hi @rsokl, my whole team has been using hydra zen and we're loving it!
I have one question though.
Currently, when building iteratively (
builds(builds(..)
) I believe zen-metas are lost from one iteration to another.Is there a reason for that? On our side, it's preventing us from using zen-metas at all.
If unclear, I'd be happy to provide a code snippet. If untrue, my bad for not double checking.
Beta Was this translation helpful? Give feedback.
All reactions