FastServe is a fast, efficient and scalable inference serving system for Large Language Models (LLMs). It serves as an easy-to-use Python front-end and utilizes a high performance LLM inference C++ library SwiftTransformer.
It is fast with:
It is memory efficient with:
It is scalable with:
It currently supports:
# git clone the project
git clone [email protected]:LLMServe/FastServe.git && cd FastServe
# setup the fastserve conda environment
conda env create -f environment.yml && conda activate fastserve
# clone and build the SwiftTransformer library
git clone https://github.com/LLMServe/SwiftTransformer.git && cd SwiftTransformer && git submodule update --init --recursive && cmake -B build && cmake --build build -j$(nproc) && cd ..
# install fastserve
pip install -e .
See benchmarks/artifact-evaluation/README.md for detailed instructions.
python fastserve/examples/offline.py
# launch api server
python -m fastserve.api_server.fastserve_api_server
# launch client
python fastserve/examples/online.py
If you want to contribute to the project, please read contribution.md.
The architecture design of FastServe is greatly inspired by vLLM.
If you use FastServe for your research, please cite our paper:
@misc{wu2023fast,
title={Fast Distributed Inference Serving for Large Language Models},
author={Bingyang Wu and Yinmin Zhong and Zili Zhang and Gang Huang and Xuanzhe Liu and Xin Jin},
year={2023},
eprint={2305.05920},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
FastServe is a fast, efficient and scalable inference serving system for Large Language Models (LLMs). It serves as an easy-to-use Python front-end and utilizes a high performance LLM inference C++ library SwiftTransformer.
It is fast with:
It is memory efficient with:
It is scalable with:
It currently supports:
# git clone the project
git clone [email protected]:LLMServe/FastServe.git && cd FastServe
# setup the fastserve conda environment
conda env create -f environment.yml && conda activate fastserve
# clone and build the SwiftTransformer library
git clone https://github.com/LLMServe/SwiftTransformer.git && cd SwiftTransformer && git submodule update --init --recursive && cmake -B build && cmake --build build -j$(nproc) && cd ..
# install fastserve
pip install -e .
See benchmarks/artifact-evaluation/README.md for detailed instructions.
python fastserve/examples/offline.py
# launch api server
python -m fastserve.api_server.fastserve_api_server
# launch client
python fastserve/examples/online.py
If you want to contribute to the project, please read contribution.md.
The architecture design of FastServe is greatly inspired by vLLM.
If you use FastServe for your research, please cite our paper:
@misc{wu2023fast,
title={Fast Distributed Inference Serving for Large Language Models},
author={Bingyang Wu and Yinmin Zhong and Zili Zhang and Gang Huang and Xuanzhe Liu and Xin Jin},
year={2023},
eprint={2305.05920},
archivePrefix={arXiv},
primaryClass={cs.LG}
}