Hybrid#918
Conversation
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run You ask your reviewers to trigger select CI tests on top of Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can either: Add If you have any questions, please reach out to us on Slack at https://slack.vllm.ai. 🚀 |
Introduce pluggable NPU vision support without scheduler or engine pipelining changes. Vision encoding runs synchronously on the NPU when VLLM_VISION_NPU_BACKEND=flexmlrt is set, keeping core v1 scheduling untouched for easier upstream review. Co-authored-by: Cursor <cursoragent@cursor.com>
Layer async NPU vision pre-encoding on top of the FlexMLRT backend: vision scheduler in EngineCore, scheduler deferral when vision is not ready, and gpu_model_runner pre-encoding thread pool. Gated by VLLM_NPU_ASYNC_PIPELINE=1 (default off). Co-authored-by: Cursor <cursoragent@cursor.com>
Use VLLM_VISION_NPU_CACHE as the sole enable switch instead of VLLM_VISION_NPU_BACKEND. Move Qwen2.5-VL CPU preprocessing into vision_npu/models/ and drop the unoptimized numpy path. Keep AsyncFlexMLRTVisionBackend for pipelining when VLLM_NPU_ASYNC_PIPELINE=1. Co-authored-by: Cursor <cursoragent@cursor.com>
Purpose
Test Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.