huggingface / parler-tts

Inference and training library for high-quality TTS models.
Apache License 2.0
2.6k stars 265 forks source link

add mps and xpu to examples #7

Closed bghira closed 5 days ago

bghira commented 1 month ago

also moved it to bf16 which results in a substantial speedup over fp32

ylacombe commented 1 month ago

Hey @bghira, thanks for the great contribution! I actually don't have access neither to MPS or XPS devices, could you make sure that it works by running the code once ? the code looks good to me

bghira commented 1 month ago

thanks for having me check it @ylacombe i incorrectly added the xpu line as i misremembered how it was told me to add it.

that is tested and ready now.

ylacombe commented 5 days ago

Many thanks for your help! merging now!