ColossalAI/colossalai/pipeline/schedule
Bin Jia 1db6727678
[Pipeline inference] Combine kvcache with pipeline inference (#4938)
* merge kvcache with pipeline inference and refactor the code structure

* support ppsize > 2

* refactor pipeline code

* do pre-commit

* modify benchmark

* fix bench mark

* polish code

* add docstring and update readme

* refactor the code

* fix some logic bug of ppinfer

* polish readme

* fix typo

* skip infer test
2023-10-27 16:19:54 +08:00
..
__init__.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
_utils.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
base.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
generate.py [Pipeline inference] Combine kvcache with pipeline inference (#4938) 2023-10-27 16:19:54 +08:00
interleaved_pp.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
one_f_one_b.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00