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

Less strict name formatting #1535

Merged
merged 2 commits into from
Sep 18, 2022
Merged

Conversation

hanlint
Copy link
Contributor

@hanlint hanlint commented Sep 17, 2022

Previously, if NODE_RANK was not set, formatting of files would fail, even though {node_rank} was not even in the format string.

This PR modifies the formatting in less strict mode, and will only error if requested variable is not set and also not in the format string.

Fixes #1511

Copy link
Contributor

@bandish-shah bandish-shah left a comment

Choose a reason for hiding this comment

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

LGTM

@bandish-shah bandish-shah merged commit 8e2639e into mosaicml:dev Sep 18, 2022
bandish-shah pushed a commit that referenced this pull request Sep 19, 2022
bandish-shah pushed a commit to bandish-shah/composer that referenced this pull request Sep 19, 2022
bcui19 pushed a commit to bcui19/composer that referenced this pull request Sep 22, 2022
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.

Remove local_world_size and node_rank requirement from file name formatting
2 participants