Skip to content

Add metadata to dist/spdm components #1037

Open
@clumsy

Description

@clumsy

Description

TorchX already supports App metadata. Unfortunately there's no way to pass metadata via torchxconfig or CLI unlike env.

Motivation/Background

While implementation is scheduler specific and not all of them handle metadata. In AWS Batch we already translate metadata to Batch job tags: #775. It is also added to AWS SageMaker scheduler.

If we add metadata to dist/spmd the TorchX users will have 1 less reason to create custom components only to copy dist/spmd almost verbatim.

Detailed Proposal

Add a new parameter to dist/spmd component, just like env.

Alternatives

The users are forced to implement their own components and deviate from vanilla TorchX.

Additional context/links

#775

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