This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
pytorch-image-models
mirror of
https://github.com/huggingface/pytorch-image-models.git
Watch
1
Star
0
Fork
You've already forked pytorch-image-models
0
Code
Issues
Projects
Releases
Wiki
Activity
d196fa536d
pytorch-image-models
/
distributed_train.sh
6 lines
81 B
Bash
Raw
Normal View
History
Unescape
Escape
Distributed (multi-process) train, multi-gpu single process train, and NVIDIA AMP support
2019-04-06 01:51:39 +08:00
#!/bin/bash
NUM_PROC
=
$1
shift
Switch to torchrun as old launcher changed arg names in 2.0.. Fix #1728
2023-03-20 23:15:40 +08:00
torchrun --nproc-per-node
=
$NUM_PROC
train.py
"
$@
"
Distributed (multi-process) train, multi-gpu single process train, and NVIDIA AMP support
2019-04-06 01:51:39 +08:00