vall-e/vall_e/engines/__init__.py
2023-08-03 20:26:36 -05:00

9 lines
215 B
Python

from ..config import cfg
if cfg.trainer.backend == "deepspeed":
from .deepspeed import Engine
elif cfg.trainer.backend == "local":
from .base import Engine
from .base import Engines
from .base import TrainFeeder