Skip to content

Add -m flag to torchrun-hpc #45

@tbennun

Description

@tbennun

Like the Python executable and torchrun, the -m flag allows a CLI to call an installed Python module.

We should integrate the -m flag to torchrun-hpc by:

  1. Adding a flag to the torchrun-hpc CLI: hpc_launcher/cli/torchrun_hpc.py
  2. Enabling module execution in the torchrun-hpc trampoline: hpc_launcher/torch/torchrun_hpc_trampoline.py

We should also add a test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions