-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Utility function to check shared filesystem #18586
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…ature/shared-fs-check
Co-authored-by: Carlos Mocholí <[email protected]>
Co-authored-by: Carlos Mocholí <[email protected]>
for more information, see https://pre-commit.ci
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.
so it not used anywhere in our codebase, just to be handy?
It is not used anywhere at the moment. For now it is just a useful utility that can be used independently. But I'm looking into how this can be used in Lightning as well, and to make our examples better. |
Co-authored-by: Carlos Mocholí <[email protected]>
What does this PR do?
Adds a utility function to check whether given path resides on a shared filesystem that all processes that participate can access. This is useful to make code agnostic to the infrastructure without boilerplate code or user configuration.
Closes #11136 (I couldn't find any use cases anymore, let me know if you know one)
📚 Documentation preview 📚: https://pytorch-lightning--18586.org.readthedocs.build/en/18586/
cc @Borda @awaelchli @carmocca @justusschock