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

Get a shared file system safe signal file name #1381

Merged
merged 3 commits into from
Jul 23, 2024

Conversation

dakinggg
Copy link
Collaborator

@dakinggg dakinggg commented Jul 22, 2024

Use the previously added utils to get a signal file name that is safe on shared file systems. Previously the name would clash.

Tested simple train and load (don't have a multinode shared fs to actually test that part on):
train: dist-utils-train-1-UExzEF
load: dist-utils-load-2-Uoq35b

See also mosaicml/composer#3485

@dakinggg dakinggg marked this pull request as ready for review July 22, 2024 22:34
@dakinggg dakinggg requested a review from a team as a code owner July 22, 2024 22:34
@dakinggg dakinggg requested review from irenedea and mvpatel2000 July 22, 2024 22:35
@dakinggg dakinggg enabled auto-merge (squash) July 22, 2024 22:35
@dakinggg dakinggg changed the title use utils Get a shared file system safe signal file name Jul 22, 2024
@dakinggg dakinggg merged commit d2d29ad into mosaicml:main Jul 23, 2024
9 checks passed
dakinggg added a commit to dakinggg/llm-foundry that referenced this pull request Jul 23, 2024
dakinggg added a commit that referenced this pull request Jul 23, 2024
@janEbert
Copy link
Contributor

janEbert commented Sep 3, 2024

Hey, what was the reason to revert the commit? :)
Doesn't the reversion basically re-introduce the error that was explained in #1253?

@dakinggg
Copy link
Collaborator Author

dakinggg commented Sep 3, 2024

Hi, yes we reverted due to a bug in the released version of the helper function (did not work on systems where distributed was not initialized). That bug has since been fixed, and this commit should be reapplied. Thanks for the reminder!

janEbert pushed a commit to TrustLLMeu/llm-foundry that referenced this pull request Sep 3, 2024
janEbert pushed a commit to TrustLLMeu/llm-foundry that referenced this pull request Oct 12, 2024
ofivite pushed a commit to ofivite/llm-foundry that referenced this pull request Nov 4, 2024
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