Logo
Explore Help
Register Sign In
mirrors/pytorch-image-models
1
0
Fork 0
You've already forked pytorch-image-models
mirror of https://github.com/huggingface/pytorch-image-models.git synced 2025-06-03 06:41:35 +08:00
Code Issues Projects Releases Wiki Activity
cb4cea561a
BranchesTags
View all branches
pytorch-image-models/distributed_train.sh

6 lines
81 B
Bash
Raw Normal View History

Distributed (multi-process) train, multi-gpu single process train, and NVIDIA AMP support
2019-04-05 10:51:39 -07: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-26 20:23:55 -07:00
torchrun --nproc_per_node=$NUM_PROC train.py "$@"
Distributed (multi-process) train, multi-gpu single process train, and NVIDIA AMP support
2019-04-05 10:51:39 -07:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 2959ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API