Files
candle/candle-nn/src
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-02-08 16:48:47 +01:00
2023-08-27 18:03:26 +01:00
2024-09-23 13:14:32 +02:00
2024-05-18 15:58:18 +02:00
2024-06-24 19:12:52 +02:00
2023-12-16 18:41:56 -06:00
2024-08-19 09:06:17 +02:00
2024-04-05 08:32:58 +02:00
2023-10-20 16:28:50 +01:00
2024-02-25 20:50:08 +01:00