ONNX Model Zoo

hexgrad/styletts2

By hexgrad · ↓ 0 · ♥ 22 · Updated 2025-01-26

What's in this repo

This page lists the files in hexgrad/styletts2, including 14b6dd78237d223f172f8af702ed8aeb4a2c51fd0ff7e3ca03a4967d33fa13bc.onnx, 4612a9dc0c0e142468f361e8e901bdccfdca45a2ae1145e5452bc98c7915302d.onnx, 91473db52725b0c3b8387537979a2f42f0da82836e50902503a877c610864ad6.onnx and more.

  • 4 ONNX models (.onnx files)
  • 6 files, including 4 .onnx, 1 .md
  • Last updated 2025-01-26

ONNX files

File Size Download
14b6dd78237d223f172f8af702ed8aeb4a2c51fd0ff7e3ca03a4967d33fa13bc.onnx — Download
4612a9dc0c0e142468f361e8e901bdccfdca45a2ae1145e5452bc98c7915302d.onnx — Download
91473db52725b0c3b8387537979a2f42f0da82836e50902503a877c610864ad6.onnx — Download
99e40b35027e96a247c8e1f359d2f99d3cd6e93afec2e0f4a15f72dd7b79d457.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

This repository is a fossil.

This model is a direct ONNX conversion of yl4579/StyleTTS2-LibriTTS without modification to its weights and therefore inherits the original license. It currently powers a WebUI that performs TTS inference on CPU. To facilitate lazy loading, it is chunked into four parts.

The original PyTorch checkpoint, trained on a subset of LibriTTS by the authors of StyleTTS 2, can be considered a "base model", and it has some limitations. That base model should not be confused with Kokoro, a StyleTTS 2 variant using a different decoder architecture, which is currently only being hosted at https://hf.co/spaces/hexgrad/Kokoro-TTS.

This repository will likely remain dormant and undocumented. You are welcome to use these ONNX models subject to the original license, but be advised that in most cases PyTorch is likely the more suitable option. The ONNX conversion was not performance optimized and was intended for CPU usage. Informal benchmarking shows that this ONNX descendant is substantially outpaced by its PyTorch ancestor in GPU environments.

Model info

onnx text-to-speech en base_model:yl4579/StyleTTS2-LibriTTS base_model:quantized:yl4579/StyleTTS2-LibriTTS license:mit region:us
↓ 0 ♥ 22

Created: 2024-05-08

Updated: 2025-01-26

View on Hugging Face

Files (6)

.gitattributes
14b6dd78237d223f172f8af702ed8aeb4a2c51fd0ff7e3ca03a4967d33fa13bc.onnx ONNX
4612a9dc0c0e142468f361e8e901bdccfdca45a2ae1145e5452bc98c7915302d.onnx ONNX
91473db52725b0c3b8387537979a2f42f0da82836e50902503a877c610864ad6.onnx ONNX
99e40b35027e96a247c8e1f359d2f99d3cd6e93afec2e0f4a15f72dd7b79d457.onnx ONNX
README.md

Related models