Skip to content

Deep Dive ​

HayaKoe is a TTS engine built by trimming Style-Bert-VITS2 down to Japanese-only and restructuring it into a practical form for CPU inference and server operations.

This section documents what was changed, how it was done, and how much the results improved, with actual measurements.

You can start from any topic that interests you.

Summary at a Glance ​

Here are the measured improvements HayaKoe achieved over the original SBV2 (see individual pages for details).

CategoryOriginal SBV2HayaKoeDifference
CPU speed factor (short text, ~1.5s)1.54x2.26x1.47x faster
CPU speed factor (medium text, ~8s)2.36x3.15x1.33x faster
CPU speed factor (long text, ~43s)1.34x4.26x3.18x faster
CPU memory (Peak)7,737 MB1,385 MB82% reduction
GPU VRAM (Peak)5,518 MB2,159 MB61% reduction
Supported architecturex86_64x86_64 · aarch64 LinuxARM board support

Page Structure ​

Each page follows a why it matters -> implementation -> improvement results flow as a baseline, with flexible structure depending on the topic.

Table of Contents ​

Big Picture ​

Making CPU Inference Real-time ​

Further GPU Inference Optimization ​

Operational Convenience ​

Other ​

Recommended reading order

If this is your first time, we recommend skimming Architecture Overview first, then selectively reading topics that interest you.