This repository documents my reproduction and analysis of FastV-style attention-based image token pruning, and its applicability to Impromptu-VLA (Qwen2.5-VL) under different inference backends.
- ✅ FastV reproduced under HuggingFace / LLaVA path
- ✅ Impromptu-VLA baseline inference (Qwen2.5-VL, sglang)
- ✅ DivPrune-style static image token truncation
- ❌ True FastV-style in-place pruning under sglang (analyzed)
- FastV requires decoder-level attention access and dynamic sequence length
- sglang pre-allocates KV cache slots, preventing mid-forward token pruning
- DivPrune works because it truncates tokens at preprocessing stage
- True KV-dropping FastV is infeasible in sglang without kernel-level changes
fastv-impromptu-vla/ ├── README.md ├── REPRODUCTION.md ├── ANALYSIS.md ├── scripts/ ├── src/ └── configs/
See scripts/ for runnable examples.
- FastV:https://github.com/pkunlp-icler/FastV
- Impromptu-VLA: Impromptu VLA paper