Files
candle/candle-examples/examples
Laurent Mazare d01207dbf3 Add a RotatingKVCache. (#2493)
* 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.
2024-09-23 13:14:32 +02:00
..
2024-07-23 23:10:57 +02:00
2024-08-01 08:26:19 +02:00
2024-07-23 23:10:57 +02:00
2024-02-09 17:36:50 +01:00
2024-07-23 23:10:57 +02:00
2023-11-24 15:09:14 +00:00
2024-07-23 23:10:57 +02:00
2024-08-28 11:20:09 +02:00
2024-08-29 17:10:28 +02:00
2024-08-17 20:31:23 +02:00
2024-08-01 11:59:22 +02:00
2024-08-01 14:19:41 +02:00
2024-07-26 21:32:26 +02:00
2024-02-22 10:22:03 +01:00
2024-08-16 18:57:14 +02:00
2024-07-23 23:10:57 +02:00
2024-09-23 13:14:32 +02:00
2024-08-04 19:52:40 +02:00
2024-09-05 23:46:55 +02:00
2024-04-26 11:02:51 +02:00
2024-08-01 11:05:07 +02:00
2024-01-17 10:27:58 +01:00
2024-03-09 11:21:48 +01:00
2024-07-23 23:10:57 +02:00
2024-03-21 12:54:09 +01:00
2024-09-05 23:46:55 +02:00
2024-09-05 23:46:55 +02:00