Files
ColossalAI/colossalai
Yuanheng Zhao 3de2e62299 [Inference] Add CacheBlock and KV-Cache Manager (#5156)
* [Inference] Add KVCache Manager

* function refactored

* add test for KVCache Manager

* add attr beam width

* Revise alloc func in CacheManager

* Fix docs and pytests

* add tp slicing for head number

* optimize shapes of tensors used as physical cache

* Apply using InferenceConfig on KVCacheManager

* rm duplicate config file

* Optimize cache allocation: use contiguous cache

* Fix config in pytest (and config)
2024-01-11 13:39:29 +00:00
..
2024-01-03 14:26:13 +08:00
2023-11-02 02:21:24 +00:00
2023-09-27 10:24:04 +08:00
2024-01-11 21:01:11 +08:00
2023-12-05 14:28:36 +08:00