8000 optimum-habana/examples/text-to-speech at main · huggingface/optimum-habana · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History

text-to-speech

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Text to Speech Examples

This directory contains a script that showcases how to use the Transformers pipeline API to run text to speech task on HPUs.

Requirements

First, you should install the requirements:

pip install -r requirements.txt

Single-HPU inference

python3 run_pipeline.py \
    --model_name_or_path microsoft/speecht5_tts \
    --text "Hello, my dog is cooler than you!" \
    --use_hpu_graphs \
    --bf16
0