ColossalAI/colossalai/shardformer/shard
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
shard_config.py [Pipeline inference] Combine kvcache with pipeline inference (#4938) 2023-10-27 16:19:54 +08:00
sharder.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
shardformer.py [shardformer] rename policy file name 2023-08-15 23:25:14 +08:00
utils.py [pipeline] update shardformer policy 2023-08-15 23:25:14 +08:00