Model reference · open weights

fastspeech2_conformer_with_hifigan

Audio espnet Music / audio 1 build Open weights 8k dl/mo

fastspeech2_conformer_with_hifigan is an open-weight audio or speech model from espnet. fastspeech2_conformer_with_hifigan (BF16) weighs 337 MB; the smallest configuration that runs it is RTX 3060 12 GB.

  • fastspeech2_conformer_with_hifigan is a text-to-audio model developed by espnet that combines the FastSpeech2Conformer non-autoregressive text-to-speech model with the HiFi-GAN vocoder.
  • It generates speech waveforms from text in English and is distributed under the apache-2.0 licence.

Summary of the espnet/fastspeech2_conformer_with_hifigan model card, 2026-10-01

What it is

Released byespnet
Released2023-07-20
VRAM337 MB for the weights

What it runs on

Memory and cards for fastspeech2_conformer_with_hifigan (BF16)

337 MBweights, file size
1.6 GBruntime overhead
CardOne streamMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What espnet says about fastspeech2_conformer_with_hifigan

Read the model card

This model combines FastSpeech2Conformer and FastSpeech2ConformerHifiGan into one model for a simpler and more convenient usage.

FastSpeech2Conformer is a non-autoregressive text-to-speech (TTS) model that combines the strengths of FastSpeech2 and the conformer architecture to generate high-quality speech from text quickly and efficiently, and the HiFi-GAN vocoder is used to turn generated mel-spectrograms into speech waveforms.

🤗 Transformers Usage

You can run FastSpeech2Conformer locally with the 🤗 Transformers library.

  1. First install the 🤗 Transformers library and g2p-en:
pip install --upgrade pip
pip install --upgrade transformers g2p-en
  1. Run inference via the Transformers modelling code with the model and hifigan combined

from transformers import FastSpeech2ConformerTokenizer, FastSpeech2ConformerWithHifiGan
import soundfile as sf

tokenizer = FastSpeech2ConformerTokenizer.from_pretrained("espnet/fastspeech2_conformer")
inputs = tokenizer("Hello, my dog is cute.", return_tensors="pt")
input_ids = inputs["input_ids"]

model = FastSpeech2ConformerWithHifiGan.from_pretrained("espnet/fastspeech2_conformer_with_hifigan")
output_dict = model(input_ids, return_dict=True)
waveform = output_dict["waveform"]

sf.write("speech.wav", waveform.squeeze().detach().numpy(), samplerate=22050)

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms