mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2026-07-07 23:21:11 +08:00
12 lines
352 B
Python
12 lines
352 B
Python
from . import MLX, PyTorch
|
|
from .PyTorch import T2SEngineTorch, T2SRequest, T2SResult
|
|
|
|
backends = PyTorch.backends + MLX.backends
|
|
|
|
backends = [
|
|
b.replace("_", "-").title().replace("Mlx", "MLX").replace("Mps", "MPS").replace("Cuda", "CUDA") for b in backends
|
|
]
|
|
|
|
|
|
__all__ = ["T2SEngineTorch", "T2SRequest", "T2SResult", "backends", "MLX", "PyTorch"]
|