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
146c2fbe34
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
Change torchrun args to use _ instead of -, - is the new format, but looks like _ still works for backward compat with old versions. Fix #1742
2023-03-27 11:23:55 +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