mirror of
https://github.com/wassname/vllm.git
synced 2026-08-02 13:10:42 +08:00
Refactor the tensor parallelism, quantization, and weight-loading codes. Summary of the new features enabled by this PR: - **All models** are able to be quantized with AWQ and SqueezeLLM, and [soon GPTQ](https://github.com/vllm-project/vllm/pull/1580). - Model loading code became much simpler. - Support model parallelism for all MQA/GQA models when the number of key/value heads is smaller than the tensor parallel size.
The files in this folder are ported from Megatron-LM. We only keep the codes that are used in inference.