-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pin PTL, bump omegaconf #1049
Pin PTL, bump omegaconf #1049
Conversation
Signed-off-by: smajumdar <[email protected]>
Signed-off-by: smajumdar <[email protected]>
Signed-off-by: smajumdar <[email protected]>
Signed-off-by: smajumdar <[email protected]>
Signed-off-by: smajumdar <[email protected]>
Signed-off-by: smajumdar <[email protected]>
Signed-off-by: smajumdar <[email protected]>
@blisc The patch for the DictConfig being cast down to ordinary dict inside |
@blisc We can also enable multi data loader testing by removing the explicit checks inside
Experiment manager might need some updates due to this PR - Lightning-AI/pytorch-lightning#2719, but I'll defer to your call. Documenting it here so I can apply those patches once we bump PTL ver. |
Right Tomasz alerted me to those changes. IMO, those changes are still insufficient to make DDP work with Lightning. I also don't think it will make a change with exp_manager, since we set |
@blisc Yep I reached the same conclusion after going through the PR. It's fine, we can continue using the hydra decorator for the time being, we probably need a cleanup of the older configs to remove the redundant hydra setup (but that can be done much later). |
@@ -246,7 +246,10 @@ def change_labels(self, new_labels: List[str]): | |||
|
|||
# Update config | |||
self._cfg.labels = new_labels | |||
self._cfg.decoder.params = new_decoder_config | |||
|
|||
OmegaConf.set_struct(self._cfg.decoder, False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use open_dict:
with open_dict(self._cfg.decoder):
self._cfg.decoder = new_decoder_config
Run CI jobs on release branches
Signed-off-by: smajumdar [email protected]