# 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. """ Models for EnCodec, AudioGen, MusicGen, as well as the generic LMModel. """ # flake8: noqa # AudioGen and MultiBandDiffusion dropped: unused by MusicGen inference, and MultiBandDiffusion # pulls in audiocraft.solvers, which isn't ported here bcs not needed in inf from . import builders, loaders from .encodec import ( CompressionModel, EncodecModel, DAC, HFEncodecModel, HFEncodecCompressionModel) from .lm import LMModel from .musicgen import MusicGen from .unet import DiffusionUnet