How to use DistributedDataParallel() and init_process_group() in a HPC?
up vote
1
down vote
favorite
I will use HPC for my research and I don't know a lot about parallel or distributed computing.
I really don't understand the DistributedDataParallel()
in pytorch. Especially init_process_group()
.
What is the meaning of initializing processes group? and what is
init_method : URL specifying how to initialize the package.
for example (I found those in the documentation):'tcp://10.1.1.20:23456'
or 'file:///mnt/nfs/sharedfile'
What are those URLs?
What is the Rank of the current process?
Is world_size
the number of GPUs?
It would be really appreciated if someone explained to me what is and How to use DistributedDataParallel()
and init_process_group()
because I don't know parallel or distributed computing.
I will use things like Slurm(sbatch) in the HPC.
pytorch
add a comment |
up vote
1
down vote
favorite
I will use HPC for my research and I don't know a lot about parallel or distributed computing.
I really don't understand the DistributedDataParallel()
in pytorch. Especially init_process_group()
.
What is the meaning of initializing processes group? and what is
init_method : URL specifying how to initialize the package.
for example (I found those in the documentation):'tcp://10.1.1.20:23456'
or 'file:///mnt/nfs/sharedfile'
What are those URLs?
What is the Rank of the current process?
Is world_size
the number of GPUs?
It would be really appreciated if someone explained to me what is and How to use DistributedDataParallel()
and init_process_group()
because I don't know parallel or distributed computing.
I will use things like Slurm(sbatch) in the HPC.
pytorch
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I will use HPC for my research and I don't know a lot about parallel or distributed computing.
I really don't understand the DistributedDataParallel()
in pytorch. Especially init_process_group()
.
What is the meaning of initializing processes group? and what is
init_method : URL specifying how to initialize the package.
for example (I found those in the documentation):'tcp://10.1.1.20:23456'
or 'file:///mnt/nfs/sharedfile'
What are those URLs?
What is the Rank of the current process?
Is world_size
the number of GPUs?
It would be really appreciated if someone explained to me what is and How to use DistributedDataParallel()
and init_process_group()
because I don't know parallel or distributed computing.
I will use things like Slurm(sbatch) in the HPC.
pytorch
I will use HPC for my research and I don't know a lot about parallel or distributed computing.
I really don't understand the DistributedDataParallel()
in pytorch. Especially init_process_group()
.
What is the meaning of initializing processes group? and what is
init_method : URL specifying how to initialize the package.
for example (I found those in the documentation):'tcp://10.1.1.20:23456'
or 'file:///mnt/nfs/sharedfile'
What are those URLs?
What is the Rank of the current process?
Is world_size
the number of GPUs?
It would be really appreciated if someone explained to me what is and How to use DistributedDataParallel()
and init_process_group()
because I don't know parallel or distributed computing.
I will use things like Slurm(sbatch) in the HPC.
pytorch
pytorch
edited Nov 9 at 20:44
asked Nov 9 at 19:29
floyd
17910
17910
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53232171%2fhow-to-use-distributeddataparallel-and-init-process-group-in-a-hpc%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown