Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

distributed

Directory actions

More options

Directory actions

More options

Latest commit

 

History

History

distributed

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

distributed_data_parallel.py andrun.sh show an example using Amp withapex.parallel.DistributedDataParallel ortorch.nn.parallel.DistributedDataParalleland the Pytorch multiprocess launcher script,torch.distributed.launch.The use ofAmp with DistributedDataParallel does not need to change from ordinarysingle-process use. The only gotcha is that wrapping your model withDistributedDataParallel mustcome after the call toamp.initialize. Test via

bash run.sh

This is intended purely as an instructional example, not a performance showcase.


[8]ページ先頭

©2009-2025 Movatter.jp