-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
Hi,
I would like to use torch.distributed.launch to launch my script. For example, the following script from github:maskrcnn-benchmark:
python -m torch.distributed.launch --nproc_per_node=4 /path_to_maskrcnn_benchmark/tools/train_net.py --config-file "path/to/config/file.yaml"
script_params can only pass parameters to train_net.py, but how can I pass "-m torch.distributed.launch --nproc_per_node=4" to python?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 6f52dfdc-ba99-18da-ada5-8e58ed22f243
- Version Independent ID: 3c31cb06-b8af-8426-371e-e7e2610019a0
- Content: azureml.train.dnn.PyTorch class - Azure Machine Learning Python
- Content Source: AzureML/docs-ref-autogen/azureml-train-core/azureml.train.dnn.PyTorch.yml
- Service: machine-learning
- Sub-service: core
- GitHub Login: @j-martens
- Microsoft Alias: jmartens
dataders and Mrxiaoyuer
Metadata
Metadata
Assignees
Labels
No labels