/ Модель

Характеристики

Лицензия
MIT
Опубликована
27 июл 2026

HolosTTS

Синтез речиТекст → аудио3 профессии

HolosTTS синтезирует украинскую речь из фонем, поддерживает потоковое воспроизведение, предустановленные голоса и клонирование голоса.

207скачиваний за 30 дней24лайкавеса обновлены4 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

HolosTTS — открытая модель синтеза украинской речи, предназначенная для быстрого преобразования фонем в аудио. Она принимает уже подготовленную фонетическую транскрипцию, поддерживает потоковую генерацию, предустановленные голоса и клонирование голоса по аудиозаписи без музыки и других говорящих. Выход — монофонический звук с частотой 24 кГц.

Модель можно запускать через PyTorch, ONNX Runtime, MLX на компьютерах Apple с процессорами серии M, а также на Android через LiteRT или ONNX Runtime. В README приведены результаты высокой скорости синтеза на GPU, CPU и Apple M2; задержка первого фрагмента зависит от устройства и среды выполнения. Для подготовки украинских ударений и фонетической транскрипции нужны отдельные инструменты. Размер модели и длина контекста в доступных данных не указаны. Лицензия — MIT.

Сценарии применения

  • озвучивание украинского текста после преобразования в фонемы
  • потоковая генерация украинской речи с низкой задержкой
  • синтез речи предустановленным голосом
  • клонирование голоса по короткой аудиозаписи
  • локальный синтез речи на GPU, CPU, устройствах Apple и Android

Ограничения

Модель принимает фонемы, а не обычный текст, поэтому для преобразования украинского текста в фонетическую транскрипцию и расстановки ударений нужны отдельные инструменты. Задержка и скорость синтеза зависят от устройства и выбранной среды выполнения.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

HolosTTS

HolosTTS is an open-source Ukrainian text-to-speech model, with the best balance of quality and speed (the first audio chunk in 3 ms on an RTX 5090 or in 5 ms on an RTX 3090). It has preset voices and clones a voice from an audio sample. It produces mono audio at 24 kHz and supports streaming. It runs on PyTorch, or without PyTorch on ONNX Runtime (CPU including INT8, CUDA and TensorRT), on MLX on Apple silicon, and on Android: on the GPU with LiteRT or on the CPU with ONNX Runtime.

Demo · Models on Hugging Face · Code on GitHub

Python packageUse
holos-ttsPyTorch inference and voice cloning.
holos-tts-onnxONNX Runtime inference without PyTorch: CPU, CUDA, TensorRT.
holos-tts-mlxMLX inference without PyTorch on Apple silicon.
holos-tts-litertLiteRT inference on CPU or GPU, the reference for the Android library.

Phonemes

Both packages take phonemes, not text. Stress marks and phonetic transcription for Ukrainian come from separate packages on GitHub (Git is required):

python -m pip install git+https://github.com/patriotyk/ukrainian-word-stress.git \
                      git+https://github.com/patriotyk/ipa-uk.git
from ipa_uk import ipa
from ukrainian_word_stress import Stressifier

stressify = Stressifier()
phonemes = ipa(stressify("Привіт! Це український синтез мовлення."))

Synthesize long texts sentence by sentence.

PyTorch

python -m pip install holos-tts

NVIDIA GPUs need a CUDA build of PyTorch. The model downloads holos.pt and voices.pt from Hugging Face and caches them locally.

import torch
import soundfile as sf
from holos.models import HolosTTS

device = "cuda" if torch.cuda.is_available() else "cpu"
model = HolosTTS("patriotyk/HolosTTS", device=device)

print(model.list_voices())
voice = model.list_voices()[0]
audio = model.generate(phonemes, voice=voice, speed=1.0)
sf.write("speech.wav", audio.squeeze().cpu().numpy(), 24000)

speed above one speaks faster, below one slower. For local files, use HolosTTS("holos.pt", device=device, voices_path="voices.pt").

Streaming

stream() yields audio in chunks of chunk_frames frames (40 frames = 1 s by default) as soon as each one is ready. The chunks concatenate to the same audio as generate():

for chunk in model.stream(phonemes, voice=voice):
    play(chunk.squeeze().cpu().numpy())  # tensor [1, samples]

Every utterance starts with the silence of a boundary token (about 50 ms). stream() drops it except 10 ms and fades in over 5 ms to avoid a click; trim_silence=False keeps it. A smaller chunk_frames gets the first audio out sooner but takes longer overall, since every chunk is decoded with context on both sides.

Voice cloning

reference.wav is a recording of the target voice without music or other speakers:

from holos.models import VoiceEncoder

encoder = VoiceEncoder("patriotyk/HolosTTS", device=device)
with torch.inference_mode():
    custom_voice = encoder("reference.wav")
audio = model.generate(phonemes, voice=custom_voice)
sf.write("custom_voice.wav", audio.squeeze().cpu().numpy(), 24000)

voice_encoder.pt is downloaded automatically; preset voices do not need it. The voice is a vector of 256 numbers that you can save and pass to the ONNX runtime as custom_voice.squeeze().cpu().numpy().

ONNX Runtime

holos-tts-onnx runs the model on ONNX Runtime without PyTorch: on CPU (FP32 or INT8), CUDA and TensorRT, with the same streaming as above.

python -m pip install holos-tts-onnx              # CPU and CUDA
python -m pip install "holos-tts-onnx[tensorrt]"  # plus TensorRT

See the package README for usage, the models and GPU setup.

For Android, holos_onnx/kotlin/ has a Kotlin port of this package with a demo app. It runs the same bundles on the phone's CPU, INT8 being the faster one there. See its README for usage.

MLX (Apple silicon)

holos-tts-mlx runs the whole model on the GPU of a Mac with MLX, in FP32 and without PyTorch, with the same streaming. It is the fastest option on a Mac and loads in a fraction of a second.

python -m pip install holos-tts-mlx

See the package README for usage.

Android (LiteRT GPU)

The holos_litert/kotlin/ folder has a library that runs the model on the phone's GPU with LiteRT, and a demo app. On a Pixel 7 it synthesizes with an RTF of 0.13 and gives the first streaming chunk in about 0.4 s. See its README for usage. On phones without a suitable GPU, the ONNX library runs on the CPU.

The same model also runs in Python, in the holos-tts-litert package from holos_litert/python/ (pip install holos-tts-litert). I use it to check the model on a computer and as the reference for the ports.

Benchmarks

  • RTF (real-time factor) is for synthesizing a whole sentence (generate() in HolosTTS): the time it takes divided by the duration of the audio. 0.01 means one second of speech in 10 ms; lower is faster.
  • First audio is the delay a listener notices: for HolosTTS, the first chunk of streaming with stream(). The models marked * do not stream within a sentence, so their first audio is the whole sentence.

Three sentences of 5–12 s of speech, the median of 10 runs (5 on CPU) after a warm-up; the first audio is averaged over the sentences. Every sample says "Будь ласка, зателефонуйте мені завтра після обіду, коли матимете вільну хвилинку."

NVIDIA RTX 5090

Only HolosTTS so far; the samples are in the RTX 3090 table.

ModelRuntimeRTFFirst audio
HolosTTSONNX, TensorRT FP160.00053 ms
HolosTTSONNX, TensorRT FP320.00126 ms
HolosTTSONNX, CUDA0.001911 ms
HolosTTSPyTorch0.009458 ms

NVIDIA RTX 3090

ModelRuntimeRTFFirst audioSample
HolosTTSONNX, TensorRT FP160.00135 msListen
HolosTTSONNX, TensorRT FP320.003112 msListen
HolosTTSONNX, CUDA0.003914 msListen
Supertonic 3ONNX, CUDA0.005245 ms*Listen
StyleTTS2 single-speakerPyTorch0.006555 ms*Listen
Kokoro-82M (English)PyTorch0.006745 ms*Listen
HolosTTSPyTorch0.01165 msListen
StyleTTS2 multi-speakerPyTorch0.013105 ms*Listen
StyleTTS2 single-speakerONNX, CUDA0.013112 ms*Listen

Intel Core i7-13700K

ModelRuntimeRTFFirst audioSample
HolosTTSONNX INT80.044110 msListen
HolosTTSONNX FP320.066147 msListen
HolosTTSPyTorch0.074196 msListen
StyleTTS2 single-speakerONNX0.1321104 ms*Listen
Kokoro-82M (English)PyTorch0.137923 ms*Listen
StyleTTS2 single-speakerPyTorch0.1381154 ms*Listen
Supertonic 3ONNX0.1861582 ms*Listen
StyleTTS2 multi-speakerPyTorch0.3352756 ms*Listen

Apple M2

ModelRuntimeRTFFirst audioSample
HolosTTSMLX (GPU)0.02566 msListen
HolosTTSONNX INT80.086204 msListen
HolosTTSPyTorch (CPU)0.107351 msListen
HolosTTSONNX FP320.129289 msListen

The other models run the way their packages do by default, and like HolosTTS they get the text already converted to phonemes, except Supertonic, which reads the text itself:

  • Supertonic 3: the supertonic package with 8 steps and the F1 voice (44.1 kHz); on the GPU with the CUDA provider enabled. On the i7-13700K it is about 1.7x faster when limited to 4 threads; the table uses the default.
  • StyleTTS2 single-speaker and multi-speaker: my earlier Ukrainian StyleTTS2 models, with the same phonemes. The single-speaker model has an iSTFTNet decoder, the multi-speaker one HiFi-GAN. The single-speaker ONNX model runs on ONNX Runtime directly, after normalizing one negative Transpose permutation that ONNX Runtime 1.28 rejects.
  • Kokoro-82M does not speak Ukrainian; it is measured on English translations of the same sentences, with the af_heart voice.

Run the HolosTTS measurement on your machine from a checkout of this repository:

python benchmark.py onnx                                        # ONNX FP32 on CPU
python benchmark.py onnx --model patriotyk/HolosTTS/onnx-int8   # ONNX INT8 on CPU
python benchmark.py onnx --provider tensorrt-fp16               # or cuda, tensorrt
python benchmark.py torch --device cuda                         # PyTorch
python benchmark.py mlx                                         # MLX on Apple silicon

Files on Hugging Face

FileContents
holos.ptPyTorch model weights and the phoneme vocabulary.
voices.ptPreset voices: names and 256-dimensional vectors.
voice_encoder.ptThe model that computes a voice vector from an audio sample.
samples/The audio samples from Benchmarks.
onnx/FP32 ONNX model for holos-tts-onnx: CPU, CUDA and TensorRT.
onnx-int8/INT8 ONNX model for CPU.
mlx/MLX model for holos-tts-mlx: config.json, model.safetensors and voices.npz.
litert/LiteRT model with FP16 weights for the Android library.

Each ONNX folder holds holos_onnx.json (vocabulary and parameters), voices.npz (preset voices) and the model stages: encoder.onnx, prosody.onnx, decoder.onnx, plus source.onnx and decoder_window.onnx for streaming.

License

The code and models are released under the MIT license.

I took the preset voices without the consent of their owners. For commercial use, either agree on it with the voice owners, clone your own voices from audio prompts whose license allows commercial use, or mix several voices so that none of them is recognizable.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
5d40fba

0 моделей