Skip to content

Commit

Permalink
add DDP
Browse files Browse the repository at this point in the history
  • Loading branch information
layumi committed Jan 24, 2024
1 parent bce32d1 commit d045eeb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Binary file removed .train.py.swp
Binary file not shown.
7 changes: 7 additions & 0 deletions =2.0.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: torch in /home/zzd/miniconda3/lib/python3.7/site-packages (1.10.2)
Requirement already satisfied: torchvision in /home/zzd/miniconda3/lib/python3.7/site-packages (0.11.3)
Requirement already satisfied: torchaudio in /home/zzd/miniconda3/lib/python3.7/site-packages (0.10.2)
Requirement already satisfied: typing_extensions in /home/zzd/miniconda3/lib/python3.7/site-packages (from torch) (3.7.4.3)
Requirement already satisfied: numpy in /home/zzd/miniconda3/lib/python3.7/site-packages (from torchvision) (1.21.4)
Requirement already satisfied: pillow!=8.3.0,>=5.3.0 in /home/zzd/miniconda3/lib/python3.7/site-packages (from torchvision) (6.1.0)
2 changes: 2 additions & 0 deletions DDP.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python -m torch.distributed.launch --nproc_per_node=2 --master_port=6005 train_DDP.py

0 comments on commit d045eeb

Please sign in to comment.