Introducing Quantized Inference to Nano-vLLM - A Lightweight FP8 Runtime for Qwen Models
Author: cuber726579Created May 7, 2026Updated May 7, 2026
Hi community
I’d like to share a related project that extends Nano-vLLM toward quantized inference :
https://github.com/cuber726579/Nano-vLLM-Quant
Nano-vLLM-Quant ⚡ is a lightweight inference runtime for running dense Qwen models with quantized weights. The current focus is FP8 inference , while keeping the spirit of Nano-vLLM:
- small and readable codebase
- direct control over the inference path ️
- easy experimentation and modification
- compact runtime for learning and hacking
Current features include ✨:
- FP8 checkpoint loading
- dynamic and static activation scaling ⚖️
- tensor-parallel FP8 linear layers ⛓️
- FP8 KV cache ️
- chunked prefill ⚡
- extended sampling options
- RoPE compatibility across Qwen variants
The project currently supports dense text models from the following families :
- Qwen2
- Qwen3
- Qwen3.5
I have tested it with :
Qwen3-0.6B-FP8Qwen3-4B-Thinking-2507-FP8RedHatAI/Qwen2-0.5B-Instruct-FP8Qwen/Qwen3.5-9B
This project may be useful for anyone wanting a compact and hackable inference engine to explore quantized Qwen models .
Feedback, testing results, issues, and contributions are all very welcome !
Source: GeeeekExplorer/nano-vllm