Module audiocraft.utils

Utilities.

Expand source code
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
"""Utilities."""

Sub-modules

audiocraft.utils.autocast
audiocraft.utils.best_state
audiocraft.utils.cache
audiocraft.utils.checkpoint
audiocraft.utils.cluster

Utility functions for SLURM configuration and cluster settings.

audiocraft.utils.deadlock
audiocraft.utils.export

Utility to export a training checkpoint to a lightweight release checkpoint.

audiocraft.utils.export_legacy

Legacy functions used at the time of the first release, kept for referencd.

audiocraft.utils.notebook
audiocraft.utils.profiler
audiocraft.utils.samples
audiocraft.utils.utils