• Docs >
  • Utils >
  • torchtnt.utils.test_utils.get_pet_launch_config
Shortcuts

torchtnt.utils.test_utils.get_pet_launch_config

torchtnt.utils.test_utils.get_pet_launch_config(nproc: int) LaunchConfig

Initialize pet.LaunchConfig for single-node, multi-rank functions.

Parameters:nproc – The number of processes to launch.
Returns:An instance of pet.LaunchConfig for single-node, multi-rank functions.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources