torch.distributed.run.run_script_path
-
torch.distributed.run.run_script_path(training_script, *training_script_args)[исходный код] -
Запускает указанный
training_scriptиз этого интерпретатора.Использование:
script_as_function(“/abs/path/to/script.py”, “–arg1”, “val1”)
© 2026, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.14/elastic/generated/torch.distributed.run.run_script_path.html