Spaces:
Running on Zero
Running on Zero
File size: 690 Bytes
83e59db | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # 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
# dropped non-inference classes (AudioGen, MultiBandDiffusion, DiffusionUnet/unet.py,
# encodec.py's DAC) to avoid unnecessary dependencies
from . import builders, loaders
from .encodec import (
CompressionModel, EncodecModel,
HFEncodecModel, HFEncodecCompressionModel)
from .lm import LMModel
from .lm_magnet import MagnetLMModel
from .musicgen import MusicGen
from .magnet import MAGNeT
|