parler-tts support (#2431)

* Start sketching parler-tts support.

* Implement the attention.

* Add the example code.

* Fix the example.

* Add the description + t5 encode it.

* More of the parler forward pass.

* Fix the positional embeddings.

* Support random sampling in generation.

* Handle EOS.

* Add the python decoder.

* Proper causality mask.
This commit is contained in:
Laurent Mazare
2024-08-18 19:42:08 +01:00
committed by GitHub
parent 736d8eb752
commit 58197e1896
5 changed files with 658 additions and 0 deletions

1
.gitignore vendored
View File

@ -41,3 +41,4 @@ candle-wasm-examples/**/config*.json
.DS_Store
.idea/*
__pycache__
out.safetensors