Skip to content
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

Copy extra_init_params to get rid of recursive config dicts #316

Merged
merged 6 commits into from
Feb 3, 2022

Conversation

siriuslee
Copy link
Contributor

After #236, if you specify the extra_init_params dict as part of the config for the run, you would get a recursive dictionary by inserting the config dict into it directly. Added a copy to prevent that.

@siriuslee siriuslee self-assigned this Jan 31, 2022
Copy link
Contributor

@ravi-mosaicml ravi-mosaicml left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hanlint hanlint added the release label Feb 2, 2022
@hanlint hanlint merged commit 22f610e into dev Feb 3, 2022
@hanlint hanlint deleted the tyler/recursive-dict-wandb-fix branch February 3, 2022 01:39
A-Jacobson pushed a commit that referenced this pull request Feb 10, 2022
* Copy extra_init_params to get rid of recursive config dicts

* remove empty lines

Co-authored-by: hanlint <hanlin@mosaicml.com>
coryMosaicML pushed a commit to coryMosaicML/composer that referenced this pull request Feb 23, 2022
…ml#316)

* Copy extra_init_params to get rid of recursive config dicts

* remove empty lines

Co-authored-by: hanlint <hanlin@mosaicml.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants