composer.utils#
Modules
composer.utils.batch_helpers |
|
Utilities for working with training checkpoints. |
|
Helpers to gather system information for debugging and bug reporting. |
|
Helper methods for |
|
Helpers for working with files. |
|
Dynamically import a Python object (e.g. |
|
Utilities for iterating over collections. |
|
Modify model architectures. |
|
Utility for uploading to and downloading from cloud object stores. |
|
Helper utilities for configuring deterministic training to ensure reproducibility. |
|
Base class for Enums containing string values. |
Helper utilities.
Functions
Indexes into the batch given the key. |
|
Indexes into the batch given the key and sets the element at that index to value. |
|
Collect and print system information when |
|
Disable environment report generation on exception. |
|
Enable environment report generation on exception. |
|
Ensure that the given folder does not have any files conflicting with the |
|
Ensure that the given folder is empty. |
|
Converts |
|
Format |
|
Format |
|
Get a file from a local folder, URL, or object store. |
|
Dynamically import a Python object (e.g. |
|
Returns whether |
|
Iterate over a batch iterator and update a |
|
Load a checkpoint from a local file, URI, or cloud object store into |
|
Apply |
|
Generate system information report. |
|
Checkpoint the training |
Classes
Utility for uploading to and downloading from object (blob) stores, such as Amazon S3. |
|
Base class for Enums containing string values. |
Hparams
These classes are used with yahp
for YAML
-based configuration.
|
Exceptions
|
composer.utils.import_helpers.MissingConditionalImportError |