Shortcuts

torchtune.config

instantiate

Given a DictConfig with a _component_ field specifying the object to instantiate and additional fields for keyword arguments, create an instance of the specified object.

parse

Decorator that handles parsing the config file and CLI overrides for a recipe.

validate

Ensure that all components in the config can be instantiated correctly

log_config

Logs the resolved config (merged YAML file and CLI overrides) to rank zero.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources