summaryrefslogtreecommitdiff
path: root/candle-examples/examples/mimi
Commit message (Collapse)AuthorAgeFilesLines
* Make the RNN configs accessible from the models. (#2541)Laurent Mazare2024-10-041-1/+0
|
* Add a RotatingKVCache. (#2493)Laurent Mazare2024-09-231-5/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a RotatingKVCache. * Add some KvCache tests. * Test the reset too. * More kv-cache testing. * More tests for the rotating kv-cache. * Improve the api for the rotating cache so that the whole src tensor gets returned when it's overlarge. * Handle contiguity + bugfix + use in mimi. * Add a way to test the mimi streaming mode. * Mimi streaming fixes. * More rotating kv-cache. * Fix the attn mask generation. * Handle the abs case. * Add some tests for the generated mask.
* Add the mimi audio-tokenizer. (#2488)Laurent Mazare2024-09-203-0/+426
* Add the mimi audio-tokenizer. * Formatting tweaks. * Add a full example. * Use the transformers names. * More renamings. * Get encoding and decoding to work. * Clippy fixes.