Skip to content

[torchx/config] Enable scheduler_params override to .torchxconfig #282

Open
@kiukchung

Description

@kiukchung

Description

Enable scheduler_params (these are ctor params to the scheduler objects NOT the run configs) to be set via .torchxconfig file.

Motivation/Background

we allow users to set default scheduler runcfg in .torchxconfig. See: https://pytorch.org/torchx/latest/experimental/runner.config.html. The ask is to also enable scheduler_params (see example: https://github.com/pytorch/torchx/blob/main/torchx/schedulers/local_scheduler.py#L925) via .torchxconfig.

Detailed Proposal

Add a section as [{scheduler_name}.params]:

[local_cwd.params]
cache_size = 10

Alternatives

N/A

Additional context/links

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the CLIenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions