ColossalAI/colossalai/legacy
Xu Kai fd6482ad8c
[inference] Refactor inference architecture (#5057)
* [inference] support only TP (#4998)

* support only tp

* enable tp

* add support for bloom (#5008)

* [refactor] refactor gptq and smoothquant llama (#5012)

* refactor gptq and smoothquant llama

* fix import error

* fix linear import torch-int

* fix smoothquant llama import error

* fix import accelerate error

* fix bug

* fix import smooth cuda

* fix smoothcuda

* [Inference Refactor] Merge chatglm2 with pp and tp (#5023)

merge chatglm with pp and tp

* [Refactor] remove useless inference code (#5022)

* remove useless code

* fix quant model

* fix test import bug

* mv original inference legacy

* fix chatglm2

* [Refactor] refactor policy search and quant type controlling in inference (#5035)

* [Refactor] refactor policy search and quant type controling in inference

* [inference] update readme (#5051)

* update readme

* update readme

* fix architecture

* fix table

* fix table

* [inference] udpate example (#5053)

* udpate example

* fix run.sh

* fix rebase bug

* fix some errors

* update readme

* add some features

* update interface

* update readme

* update benchmark

* add requirements-infer

---------

Co-authored-by: Bin Jia <45593998+FoolPlayer@users.noreply.github.com>
Co-authored-by: Zhongkai Zhao <kanezz620@gmail.com>
2023-11-19 21:05:05 +08:00
..
amp [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
builder [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
communication [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
context [hotfix] fix torch 2.0 compatibility (#4936) 2023-10-18 11:05:25 +08:00
engine [moe] merge moe into main (#4978) 2023-11-02 02:21:24 +00:00
inference [inference] Refactor inference architecture (#5057) 2023-11-19 21:05:05 +08:00
nn [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
pipeline [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
registry [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
tensor [hotfix] fix torch 2.0 compatibility (#4936) 2023-10-18 11:05:25 +08:00
trainer [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
utils [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
zero [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
__init__.py [bug] fix get_default_parser in examples (#4764) 2023-09-21 10:42:25 +08:00
constants.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
core.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
global_variables.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
initialize.py [moe] merge moe into main (#4978) 2023-11-02 02:21:24 +00:00