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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension of ignite.distributed.utils.broadcast for pathlib.Path datatype #3025

Open
guptaaryan16 opened this issue Aug 16, 2023 · 2 comments

Comments

@guptaaryan16
Copy link
Contributor

馃殌 Feature

I would like to request for extension of ignite.distributed.utils.broadcast for Path datatype as it is frequently used for distributed training and can be very useful for designing DL pipeline based projects. The API should work like this

from pathlib import Path
import ignite.distributed as idist

path = Path("./log")

idist.broadcast(path, src=0)

Further if possible we can also provide support for more data types as suggested by others. Also if possible I would like to take up this issue.
@vfdev-5 @sadra-barikbin

@sadra-barikbin
Copy link
Collaborator

@guptaaryan16 , thank you for the suggestion. Couldn't we broadcast the path as a string which is supported now ?

@guptaaryan16
Copy link
Contributor Author

@sadra-barikbin Yeah it does but I was hoping more data types can be supported as it seems possible in the codebase

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

No branches or pull requests

2 participants