A bug in vLLM version 0.30.0 causes it to incorrectly scale LoRA adapters, leading to a significant degradation in performance. The issue stems from vLLM ignoring the `rank_pattern` and `alpha_pattern` settings in adapter configuration files, which are designed to allow different scaling factors for different modules within an adapter. Instead, vLLM applies a single, uniform scaling factor derived only from the base `r` and `lora_alpha` values. This mis-scaling was demonstrated to increase perplexity by approximately 40% on a mixture-of-experts model and caused a 70x larger deviation in prompt log-probabilities compared to the PEFT library on a smaller test model. The problem is subtle and may go unnoticed as vLLM still loads the adapters without warning, and the generated text does not immediately appear incorrect. AI
IMPACT This bug in vLLM can lead to significant performance degradation for models using LoRA adapters, potentially impacting inference quality and efficiency.
RANK_REASON Bug report detailing incorrect behavior in an inference serving framework.
- adapter_config.json
- LoRA
- PEFT
- PyTorch
- Qwen3
- rank_pattern
- RTX 2070
- ubuntu
- vLLM
- Windows 11
- Windows Subsystem for Linux
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →