Open kiukchung opened 2 years ago
FWIW this PR adds scheduler runoptions to each scheduler docs page by using SphinxDirective to query the runopts from the schedulers and generating the docs page. https://github.com/pytorch/torchx/pull/374
The documentation here has improved a fair amount, not sure if this is still a relevant issue https://pytorch.org/torchx/main/runner.config.html
📚 Documentation
Note: not a request for correction of documentation!
Link
https://pytorch.org/torchx/latest/experimental/runner.config.html
What does it currently say?
Nothing wrong with the current docs, but would be nice to have a list of the options that are "set-able" via .torchxconfig
What should it say?
Add a section that lists out the possible options and section names. Note that some options (e.g. the types of schedulers available and their respective runopts) are different between Meta-internal and OSS. Having a contextual
TorchXConfig
DAO-like object with placeholders and generating a docs page by dumping that object would make it possible to capture these differences.Why?
Currently it is not clear what options can/cannot be set via .torchxconfig, we need a glossary of all the available options along with a help string on what they do and default values (if any)