Skip to content

List all registered torchx.schedulers #1009

@clumsy

Description

@clumsy

Description

Currently we can only have the default ones or the custom ones (from one of the packages): https://github.com/pytorch/torchx/blob/main/torchx/schedulers/__init__.py#L59

Motivation/Background

This will allow adding new schedulers locally without re-registering the default schedulers. The list gets stale when new default schedulers are added to TorchX

Detailed Proposal

Make it work the same way as named_resources (simply list all) or components (allow referencing via _0, _1, etc.)

Alternatives

Keep re-registering the default schedulers

Additional context/links

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions