vllm - ✅(Solved) Fix [Bug]: microsoft/Phi-4-reasoning-vision-15B Fails to startup [1 pull requests, 2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#38309Fetched 2026-04-08 01:36:35
View on GitHub
Comments
2
Participants
2
Timeline
8
Reactions
0
Timeline (top)
commented ×2subscribed ×2closed ×1cross-referenced ×1

Error Message

(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297] (APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297] █ █ █▄ ▄█ (APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297] ▄▄ ▄█ █ █ █ ▀▄▀ █ version 0.18.0 (APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297] █▄█▀ █ █ █ █ model microsoft/Phi-4-reasoning-vision-15B (APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297] ▀▀ ▀▀▀▀▀ ▀▀▀▀▀ ▀ ▀ (APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297] (APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:233] non-default args: {'model_tag': 'microsoft/Phi-4-reasoning-vision-15B', 'model': 'microsoft/Phi-4-reasoning-vision-15B', 'trust_remote_code': True, 'tensor_parallel_size': 2, 'enable_prefix_caching': True, 'limit_mm_per_prompt': {'image': 10}, 'enable_chunked_prefill': True, 'async_scheduling': True} (APIServer pid=1481120) A new version of the following files was downloaded from https://huggingface.co/microsoft/Phi-4-reasoning-vision-15B: (APIServer pid=1481120) - modeling_phi4_visionr.py (APIServer pid=1481120) . Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision. (APIServer pid=1481120) INFO 03-23 16:02:31 [model.py:533] Resolved architecture: TransformersForCausalLM (APIServer pid=1481120) INFO 03-23 16:02:31 [model.py:1582] Using max model len 32768 (APIServer pid=1481120) INFO 03-23 16:02:31 [scheduler.py:231] Chunked prefill is enabled with max_num_batched_tokens=2048. (APIServer pid=1481120) INFO 03-23 16:02:31 [vllm.py:754] Asynchronous scheduling is enabled. (EngineCore pid=1481821) INFO 03-23 16:02:39 [core.py:103] Initializing a V1 LLM engine (v0.18.0) with config: model='microsoft/Phi-4-reasoning-vision-15B', speculative_config=None, tokenizer='microsoft/Phi-4-reasoning-vision-15B', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=2, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=microsoft/Phi-4-reasoning-vision-15B, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': True, 'static_all_moe_layers': []} (EngineCore pid=1481821) WARNING 03-23 16:02:39 [multiproc_executor.py:997] Reducing Torch parallelism from 128 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed. (EngineCore pid=1481821) INFO 03-23 16:02:39 [multiproc_executor.py:134] DP group leader: node_rank=0, node_rank_within_dp=0, master_addr=127.0.0.1, mq_connect_ip=10.14.217.21 (local), world_size=2, local_world_size=2 (Worker pid=1482097) INFO 03-23 16:02:47 [parallel_state.py:1395] world_size=2 rank=0 local_rank=0 distributed_init_method=tcp://127.0.0.1:58737 backend=nccl (Worker pid=1482098) INFO 03-23 16:02:47 [parallel_state.py:1395] world_size=2 rank=1 local_rank=1 distributed_init_method=tcp://127.0.0.1:58737 backend=nccl (Worker pid=1482097) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.cudart module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.runtime module instead. (Worker pid=1482097) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.nvrtc module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.nvrtc module instead. (Worker pid=1482098) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.cudart module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.runtime module instead. (Worker pid=1482098) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.nvrtc module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.nvrtc module instead. (Worker pid=1482097) INFO 03-23 16:02:48 [pynccl.py:111] vLLM is using nccl==2.27.5 (Worker pid=1482097) WARNING 03-23 16:02:48 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available. (Worker pid=1482098) WARNING 03-23 16:02:48 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available. (Worker pid=1482098) INFO 03-23 16:02:49 [parallel_state.py:1717] rank 1 in world size 2 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 1, EP rank N/A, EPLB rank N/A (Worker pid=1482097) INFO 03-23 16:02:49 [parallel_state.py:1717] rank 0 in world size 2 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A (Worker pid=1482097) WARNING 03-23 16:02:49 [utils.py:187] TransformersForCausalLM has no vLLM implementation, falling back to Transformers implementation. Some features may not be supported and performance may not be optimal. (Worker_TP0 pid=1482097) INFO 03-23 16:02:49 [gpu_model_runner.py:4481] Starting to load model microsoft/Phi-4-reasoning-vision-15B... (Worker_TP1 pid=1482098) WARNING 03-23 16:02:50 [utils.py:187] TransformersForCausalLM has no vLLM implementation, falling back to Transformers implementation. Some features may not be supported and performance may not be optimal. (Worker_TP1 pid=1482098) INFO 03-23 16:02:50 [base.py:115] Using Transformers modeling backend. (Worker_TP0 pid=1482097) INFO 03-23 16:02:50 [base.py:115] Using Transformers modeling backend. (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] WorkerProc failed to start. (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] Traceback (most recent call last): (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/executor/multiproc_executor.py", line 821, in worker_main (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] worker = WorkerProc(*args, **kwargs) (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] return func(*args, **kwargs) (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ^^^^^^^^^^^^^^^^^^^^^ (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/executor/multiproc_executor.py", line 619, in init (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] self.worker.load_model() (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 335, in load_model (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] self.model_runner.load_model(load_dummy_weights=dummy_weights) (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] return func(*args, **kwargs) (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ^^^^^^^^^^^^^^^^^^^^^ (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4497, in load_model (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] self.model = model_loader.load_model( (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ^^^^^^^^^^^^^^^^^^^^^^^^ (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] return func(*args, **kwargs) (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ^^^^^^^^^^^^^^^^^^^^^ (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 54, in load_model (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] model = initialize_model( (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ^^^^^^^^^^^^^^^^^ (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] return func(*args, **kwargs) (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ^^^^^^^^^^^^^^^^^^^^^ (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/model_loader/utils.py", line 56, in initialize_model (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] model = model_class(vllm_config=vllm_config, prefix=prefix) (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/compilation/decorators.py", line 355, in init (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] old_init(self, **kwargs) (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/transformers/causal.py", line 35, in init (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] super(VllmModelForTextGeneration, self).init( (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/transformers/base.py", line 161, in init (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] self.model: PreTrainedModel = AutoModel.from_config( (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ^^^^^^^^^^^^^^^^^^^^^^ (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/transformers/models/auto/auto_factory.py", line 458, in from_config (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] raise ValueError( (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ValueError: Unrecognized configuration class <class 'transformers_modules.microsoft.Phi_hyphen_4_hyphen_reasoning_hyphen_vision_hyphen_15B.7df902e2fec305ff57c2eddf519485a74bb2daaa.modeling_phi4_visionr.Phi4VisionR'> for this kind of AutoModel: AutoModel. (Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] Model type should be one of Aimv2Config, Aimv2VisionConfig, AlbertConfig, AlignConfig, AltCLIPConfig, ApertusConfig, ArceeConfig, AriaConfig, AriaTextConfig, ASTConfig, AutoformerConfig, AyaVisionConfig, BambaConfig, BarkConfig, BartConfig, BeitConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BitConfig, BitNetConfig, BlenderbotConfig, BlenderbotSmallConfig, BlipConfig, Blip2Config, Blip2QFormerConfig, BloomConfig, BltConfig, BridgeTowerConfig, BrosConfig, CamembertConfig, CanineConfig, ChameleonConfig, ChineseCLIPConfig, ChineseCLIPVisionConfig, ClapConfig, CLIPConfig, CLIPTextConfig, CLIPVisionConfig, CLIPSegConfig, ClvpConfig, LlamaConfig, CodeGenConfig, CohereConfig, Cohere2Config, Cohere2VisionConfig, ConditionalDetrConfig, ConvBertConfig, ConvNextConfig, ConvNextV2Config, CpmAntConfig, CsmConfig, CTRLConfig, CvtConfig, DFineConfig, DabDetrConfig, DacConfig, Data2VecAudioConfig, Data2VecTextConfig, Data2VecVisionConfig, DbrxConfig, DebertaConfig, DebertaV2Config, DecisionTransformerConfig, DeepseekV2Config, DeepseekV3Config, DeepseekVLConfig, DeepseekVLHybridConfig, DeformableDetrConfig, DeiTConfig, DepthProConfig, DetaConfig, DetrConfig, DiaConfig, DiffLlamaConfig, DinatConfig, Dinov2Config, Dinov2WithRegistersConfig, DINOv3ConvNextConfig, DINOv3ViTConfig, DistilBertConfig, DogeConfig, DonutSwinConfig, Dots1Config, DPRConfig, DPTConfig, EdgeTamConfig, EdgeTamVideoConfig, EdgeTamVisionConfig, EfficientFormerConfig, EfficientLoFTRConfig, EfficientNetConfig, ElectraConfig, Emu3Config, EncodecConfig, ErnieConfig, Ernie4_5Config, Ernie4_5_MoeConfig, ErnieMConfig, EsmConfig, EvollaConfig, Exaone4Config, FalconConfig, FalconH1Config, FalconMambaConfig, FastSpeech2ConformerConfig, FastSpeech2ConformerWithHifiGanConfig, FlaubertConfig, FlavaConfig, FlexOlmoConfig, Florence2Config, FNetConfig, FocalNetConfig, FSMTConfig, FunnelConfig, FuyuConfig, GemmaConfig, Gemma2Config, Gemma3Config, Gemma3TextConfig, Gemma3nConfig, Gemma3nAudioConfig, Gemma3nTextConfig, Gemma3nVisionConfig, GitConfig, GlmConfig, Glm4Config, Glm4MoeConfig, Glm4vConfig, Glm4vMoeConfig, Glm4vMoeTextConfig, Glm4vTextConfig, GLPNConfig, GotOcr2Config, GPT2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GptOssConfig, GPTJConfig, GPTSanJapaneseConfig, GraniteConfig, GraniteMoeConfig, GraniteMoeHybridConfig, GraniteMoeSharedConfig, GraphormerConfig, GroundingDinoConfig, GroupViTConfig, HeliumConfig, HGNetV2Config, HieraConfig, HubertConfig, HunYuanDenseV1Config, HunYuanMoEV1Config, IBertConfig, IdeficsConfig, Idefics2Config, Idefics3Config, Idefics3VisionConfig, IJepaConfig, ImageGPTConfig, InformerConfig, InstructBlipConfig, InstructBlipVideoConfig, InternVLConfig, InternVLVisionConfig, JambaConfig, JanusConfig, JetMoeConfig, JukeboxConfig, Kosmos2Config, Kosmos2_5Config, KyutaiSpeechToTextConfig, LayoutLMConfig, LayoutLMv2Config, LayoutLMv3Config, LEDConfig, LevitConfig, Lfm2Config, Lfm2VlConfig, LightGlueConfig, LiltConfig, LlamaConfig, Llama4Config, Llama4TextConfig, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, LongcatFlashConfig, LongformerConfig, LongT5Config, LukeConfig, LxmertConfig, M2M100Config, MambaConfig, Mamba2Config, MarianConfig, MarkupLMConfig, Mask2FormerConfig, MaskFormerConfig, MaskFormerSwinConfig, MBartConfig, MCTCTConfig, MegaConfig, MegatronBertConfig, MetaClip2Config, MgpstrConfig, MimiConfig, MiniMaxConfig, MinistralConfig, MistralConfig, Mistral3Config, MixtralConfig, MLCDVisionConfig, MllamaConfig, MMGroundingDinoConfig, MobileBertConfig, MobileNetV1Config, MobileNetV2Config, MobileViTConfig, MobileViTV2Config, ModernBertConfig, ModernBertDecoderConfig, MoonshineConfig, MoshiConfig, MPNetConfig, MptConfig, MraConfig, MT5Config, MusicgenConfig, MusicgenMelodyConfig, MvpConfig, NatConfig, NemotronConfig, NezhaConfig, NllbMoeConfig, NystromformerConfig, OlmoConfig, Olmo2Config, Olmo3Config, OlmoeConfig, OmDetTurboConfig, OneFormerConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, Ovis2Config, Owlv2Config, OwlViTConfig, PaliGemmaConfig, ParakeetCTCConfig, ParakeetEncoderConfig, PatchTSMixerConfig, PatchTSTConfig, PegasusConfig, PegasusXConfig, PerceiverConfig, TimmWrapperConfig, PerceptionLMConfig, PersimmonConfig, PhiConfig, Phi3Config, Phi4MultimodalConfig, PhimoeConfig, PixtralVisionConfig, PLBartConfig, PoolFormerConfig, ProphetNetConfig, PvtConfig, PvtV2Config, QDQBertConfig, Qwen2Config, Qwen2_5_VLConfig, Qwen2_5_VLTextConfig, Qwen2AudioEncoderConfig, Qwen2MoeConfig, Qwen2VLConfig, Qwen2VLTextConfig, Qwen3Config, Qwen3MoeConfig, Qwen3NextConfig, Qwen3VLConfig, Qwen3VLMoeConfig, Qwen3VLMoeTextConfig, Qwen3VLTextConfig, RecurrentGemmaConfig, ReformerConfig, RegNetConfig, RemBertConfig, ResNetConfig, RetriBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RTDetrConfig, RTDetrV2Config, RwkvConfig, SamConfig, Sam2Config, Sam2HieraDetConfig, Sam2VideoConfig, Sam2VisionConfig, SamHQConfig, SamHQVisionConfig, SamVisionConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, SeedOssConfig, SegformerConfig, SegGptConfig, SEWConfig, SEWDConfig, SiglipConfig, Siglip2Config, Siglip2VisionConfig, SiglipVisionConfig, SmolLM3Config, SmolVLMConfig, SmolVLMVisionConfig, Speech2TextConfig, SpeechT5Config, SplinterConfig, SqueezeBertConfig, StableLmConfig, Starcoder2Config, SwiftFormerConfig, SwinConfig, Swin2SRConfig, Swinv2Config, SwitchTransformersConfig, T5Config, T5GemmaConfig, TableTransformerConfig, TapasConfig, TextNetConfig, TimeSeriesTransformerConfig, TimesFmConfig, TimesformerConfig, TimmBackboneConfig, TimmWrapperConfig, TrajectoryTransformerConfig, TransfoXLConfig, TvltConfig, TvpConfig, UdopConfig, UMT5Config, UniSpeechConfig, UniSpeechSatConfig, UnivNetConfig, VanConfig, VaultGemmaConfig, VideoLlavaConfig, VideoMAEConfig, ViltConfig, VipLlavaConfig, VisionTextDualEncoderConfig, VisualBertConfig, ViTConfig, ViTHybridConfig, ViTMAEConfig, ViTMSNConfig, VitDetConfig, VitsConfig, VivitConfig, VJEPA2Config, VoxtralConfig, VoxtralEncoderConfig, Wav2Vec2Config, Wav2Vec2BertConfig, Wav2Vec2ConformerConfig, WavLMConfig, WhisperConfig, XCLIPConfig, XcodecConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, xLSTMConfig, XmodConfig, YolosConfig, YosoConfig, ZambaConfig, Zamba2Config.

Fix Action

Fix / Workaround

============================== CPU Info

Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 46 bits physical, 57 bits virtual Byte Order: Little Endian CPU(s): 160 On-line CPU(s) list: 0-159 Vendor ID: GenuineIntel Model name: Intel Xeon Processor (SapphireRapids) CPU family: 6 Model: 143 Thread(s) per core: 2 Core(s) per socket: 40 Socket(s): 2 Stepping: 4 BogoMIPS: 4200.00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 wbnoinvd arat vnmi avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b fsrm md_clear serialize tsxldtrk amx_bf16 avx512_fp16 amx_tile amx_int8 arch_capabilities Virtualization: VT-x Hypervisor vendor: KVM Virtualization type: full L1d cache: 5 MiB (160 instances) L1i cache: 5 MiB (160 instances) L2 cache: 320 MiB (80 instances) L3 cache: 32 MiB (2 instances) NUMA node(s): 2 NUMA node0 CPU(s): 0-79 NUMA node1 CPU(s): 80-159 Vulnerability Gather data sampling: Not affected Vulnerability Indirect target selection: Mitigation; Aligned branch/return thunks Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Unknown: No mitigations Vulnerability Reg file data sampling: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI SW loop, KVM SW loop Vulnerability Srbds: Not affected Vulnerability Tsa: Not affected Vulnerability Tsx async abort: Not affected

(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]        █     █     █▄   ▄█
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]  ▄▄ ▄█ █     █     █ ▀▄▀ █  version 0.18.0
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]   █▄█▀ █     █     █     █  model   microsoft/Phi-4-reasoning-vision-15B
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]    ▀▀  ▀▀▀▀▀ ▀▀▀▀▀ ▀     ▀
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:233] non-default args: {'model_tag': 'microsoft/Phi-4-reasoning-vision-15B', 'model': 'microsoft/Phi-4-reasoning-vision-15B', 'trust_remote_code': True, 'tensor_parallel_size': 2, 'enable_prefix_caching': True, 'limit_mm_per_prompt': {'image': 10}, 'enable_chunked_prefill': True, 'async_scheduling': True}
(APIServer pid=1481120) A new version of the following files was downloaded from https://huggingface.co/microsoft/Phi-4-reasoning-vision-15B:
(APIServer pid=1481120) - modeling_phi4_visionr.py
(APIServer pid=1481120) . Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
(APIServer pid=1481120) INFO 03-23 16:02:31 [model.py:533] Resolved architecture: TransformersForCausalLM
(APIServer pid=1481120) INFO 03-23 16:02:31 [model.py:1582] Using max model len 32768
(APIServer pid=1481120) INFO 03-23 16:02:31 [scheduler.py:231] Chunked prefill is enabled with max_num_batched_tokens=2048.
(APIServer pid=1481120) INFO 03-23 16:02:31 [vllm.py:754] Asynchronous scheduling is enabled.
(EngineCore pid=1481821) INFO 03-23 16:02:39 [core.py:103] Initializing a V1 LLM engine (v0.18.0) with config: model='microsoft/Phi-4-reasoning-vision-15B', speculative_config=None, tokenizer='microsoft/Phi-4-reasoning-vision-15B', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=2, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=microsoft/Phi-4-reasoning-vision-15B, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': True, 'static_all_moe_layers': []}
(EngineCore pid=1481821) WARNING 03-23 16:02:39 [multiproc_executor.py:997] Reducing Torch parallelism from 128 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed.
(EngineCore pid=1481821) INFO 03-23 16:02:39 [multiproc_executor.py:134] DP group leader: node_rank=0, node_rank_within_dp=0, master_addr=127.0.0.1, mq_connect_ip=10.14.217.21 (local), world_size=2, local_world_size=2
(Worker pid=1482097) INFO 03-23 16:02:47 [parallel_state.py:1395] world_size=2 rank=0 local_rank=0 distributed_init_method=tcp://127.0.0.1:58737 backend=nccl
(Worker pid=1482098) INFO 03-23 16:02:47 [parallel_state.py:1395] world_size=2 rank=1 local_rank=1 distributed_init_method=tcp://127.0.0.1:58737 backend=nccl
(Worker pid=1482097) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.cudart module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.runtime module instead.
(Worker pid=1482097) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.nvrtc module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.nvrtc module instead.
(Worker pid=1482098) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.cudart module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.runtime module instead.
(Worker pid=1482098) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.nvrtc module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.nvrtc module instead.
(Worker pid=1482097) INFO 03-23 16:02:48 [pynccl.py:111] vLLM is using nccl==2.27.5
(Worker pid=1482097) WARNING 03-23 16:02:48 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available.
(Worker pid=1482098) WARNING 03-23 16:02:48 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available.
(Worker pid=1482098) INFO 03-23 16:02:49 [parallel_state.py:1717] rank 1 in world size 2 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 1, EP rank N/A, EPLB rank N/A
(Worker pid=1482097) INFO 03-23 16:02:49 [parallel_state.py:1717] rank 0 in world size 2 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A
(Worker pid=1482097) WARNING 03-23 16:02:49 [utils.py:187] TransformersForCausalLM has no vLLM implementation, falling back to Transformers implementation. Some features may not be supported and performance may not be optimal.
(Worker_TP0 pid=1482097) INFO 03-23 16:02:49 [gpu_model_runner.py:4481] Starting to load model microsoft/Phi-4-reasoning-vision-15B...
(Worker_TP1 pid=1482098) WARNING 03-23 16:02:50 [utils.py:187] TransformersForCausalLM has no vLLM implementation, falling back to Transformers implementation. Some features may not be supported and performance may not be optimal.
(Worker_TP1 pid=1482098) INFO 03-23 16:02:50 [base.py:115] Using Transformers modeling backend.
(Worker_TP0 pid=1482097) INFO 03-23 16:02:50 [base.py:115] Using Transformers modeling backend.
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] WorkerProc failed to start.
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] Traceback (most recent call last):
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/executor/multiproc_executor.py", line 821, in worker_main
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     worker = WorkerProc(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/executor/multiproc_executor.py", line 619, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.worker.load_model()
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 335, in load_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.model_runner.load_model(load_dummy_weights=dummy_weights)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4497, in load_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.model = model_loader.load_model(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]                  ^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 54, in load_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     model = initialize_model(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]             ^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/model_loader/utils.py", line 56, in initialize_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     model = model_class(vllm_config=vllm_config, prefix=prefix)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/compilation/decorators.py", line 355, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     old_init(self, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/transformers/causal.py", line 35, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     super(VllmModelForTextGeneration, self).init(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/transformers/base.py", line 161, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.model: PreTrainedModel = AutoModel.from_config(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]                                   ^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/transformers/models/auto/auto_factory.py", line 458, in from_config
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     raise ValueError(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ValueError: Unrecognized configuration class <class 'transformers_modules.microsoft.Phi_hyphen_4_hyphen_reasoning_hyphen_vision_hyphen_15B.7df902e2fec305ff57c2eddf519485a74bb2daaa.modeling_phi4_visionr.Phi4VisionR'> for this kind of AutoModel: AutoModel.
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] Model type should be one of Aimv2Config, Aimv2VisionConfig, AlbertConfig, AlignConfig, AltCLIPConfig, ApertusConfig, ArceeConfig, AriaConfig, AriaTextConfig, ASTConfig, AutoformerConfig, AyaVisionConfig, BambaConfig, BarkConfig, BartConfig, BeitConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BitConfig, BitNetConfig, BlenderbotConfig, BlenderbotSmallConfig, BlipConfig, Blip2Config, Blip2QFormerConfig, BloomConfig, BltConfig, BridgeTowerConfig, BrosConfig, CamembertConfig, CanineConfig, ChameleonConfig, ChineseCLIPConfig, ChineseCLIPVisionConfig, ClapConfig, CLIPConfig, CLIPTextConfig, CLIPVisionConfig, CLIPSegConfig, ClvpConfig, LlamaConfig, CodeGenConfig, CohereConfig, Cohere2Config, Cohere2VisionConfig, ConditionalDetrConfig, ConvBertConfig, ConvNextConfig, ConvNextV2Config, CpmAntConfig, CsmConfig, CTRLConfig, CvtConfig, DFineConfig, DabDetrConfig, DacConfig, Data2VecAudioConfig, Data2VecTextConfig, Data2VecVisionConfig, DbrxConfig, DebertaConfig, DebertaV2Config, DecisionTransformerConfig, DeepseekV2Config, DeepseekV3Config, DeepseekVLConfig, DeepseekVLHybridConfig, DeformableDetrConfig, DeiTConfig, DepthProConfig, DetaConfig, DetrConfig, DiaConfig, DiffLlamaConfig, DinatConfig, Dinov2Config, Dinov2WithRegistersConfig, DINOv3ConvNextConfig, DINOv3ViTConfig, DistilBertConfig, DogeConfig, DonutSwinConfig, Dots1Config, DPRConfig, DPTConfig, EdgeTamConfig, EdgeTamVideoConfig, EdgeTamVisionConfig, EfficientFormerConfig, EfficientLoFTRConfig, EfficientNetConfig, ElectraConfig, Emu3Config, EncodecConfig, ErnieConfig, Ernie4_5Config, Ernie4_5_MoeConfig, ErnieMConfig, EsmConfig, EvollaConfig, Exaone4Config, FalconConfig, FalconH1Config, FalconMambaConfig, FastSpeech2ConformerConfig, FastSpeech2ConformerWithHifiGanConfig, FlaubertConfig, FlavaConfig, FlexOlmoConfig, Florence2Config, FNetConfig, FocalNetConfig, FSMTConfig, FunnelConfig, FuyuConfig, GemmaConfig, Gemma2Config, Gemma3Config, Gemma3TextConfig, Gemma3nConfig, Gemma3nAudioConfig, Gemma3nTextConfig, Gemma3nVisionConfig, GitConfig, GlmConfig, Glm4Config, Glm4MoeConfig, Glm4vConfig, Glm4vMoeConfig, Glm4vMoeTextConfig, Glm4vTextConfig, GLPNConfig, GotOcr2Config, GPT2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GptOssConfig, GPTJConfig, GPTSanJapaneseConfig, GraniteConfig, GraniteMoeConfig, GraniteMoeHybridConfig, GraniteMoeSharedConfig, GraphormerConfig, GroundingDinoConfig, GroupViTConfig, HeliumConfig, HGNetV2Config, HieraConfig, HubertConfig, HunYuanDenseV1Config, HunYuanMoEV1Config, IBertConfig, IdeficsConfig, Idefics2Config, Idefics3Config, Idefics3VisionConfig, IJepaConfig, ImageGPTConfig, InformerConfig, InstructBlipConfig, InstructBlipVideoConfig, InternVLConfig, InternVLVisionConfig, JambaConfig, JanusConfig, JetMoeConfig, JukeboxConfig, Kosmos2Config, Kosmos2_5Config, KyutaiSpeechToTextConfig, LayoutLMConfig, LayoutLMv2Config, LayoutLMv3Config, LEDConfig, LevitConfig, Lfm2Config, Lfm2VlConfig, LightGlueConfig, LiltConfig, LlamaConfig, Llama4Config, Llama4TextConfig, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, LongcatFlashConfig, LongformerConfig, LongT5Config, LukeConfig, LxmertConfig, M2M100Config, MambaConfig, Mamba2Config, MarianConfig, MarkupLMConfig, Mask2FormerConfig, MaskFormerConfig, MaskFormerSwinConfig, MBartConfig, MCTCTConfig, MegaConfig, MegatronBertConfig, MetaClip2Config, MgpstrConfig, MimiConfig, MiniMaxConfig, MinistralConfig, MistralConfig, Mistral3Config, MixtralConfig, MLCDVisionConfig, MllamaConfig, MMGroundingDinoConfig, MobileBertConfig, MobileNetV1Config, MobileNetV2Config, MobileViTConfig, MobileViTV2Config, ModernBertConfig, ModernBertDecoderConfig, MoonshineConfig, MoshiConfig, MPNetConfig, MptConfig, MraConfig, MT5Config, MusicgenConfig, MusicgenMelodyConfig, MvpConfig, NatConfig, NemotronConfig, NezhaConfig, NllbMoeConfig, NystromformerConfig, OlmoConfig, Olmo2Config, Olmo3Config, OlmoeConfig, OmDetTurboConfig, OneFormerConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, Ovis2Config, Owlv2Config, OwlViTConfig, PaliGemmaConfig, ParakeetCTCConfig, ParakeetEncoderConfig, PatchTSMixerConfig, PatchTSTConfig, PegasusConfig, PegasusXConfig, PerceiverConfig, TimmWrapperConfig, PerceptionLMConfig, PersimmonConfig, PhiConfig, Phi3Config, Phi4MultimodalConfig, PhimoeConfig, PixtralVisionConfig, PLBartConfig, PoolFormerConfig, ProphetNetConfig, PvtConfig, PvtV2Config, QDQBertConfig, Qwen2Config, Qwen2_5_VLConfig, Qwen2_5_VLTextConfig, Qwen2AudioEncoderConfig, Qwen2MoeConfig, Qwen2VLConfig, Qwen2VLTextConfig, Qwen3Config, Qwen3MoeConfig, Qwen3NextConfig, Qwen3VLConfig, Qwen3VLMoeConfig, Qwen3VLMoeTextConfig, Qwen3VLTextConfig, RecurrentGemmaConfig, ReformerConfig, RegNetConfig, RemBertConfig, ResNetConfig, RetriBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RTDetrConfig, RTDetrV2Config, RwkvConfig, SamConfig, Sam2Config, Sam2HieraDetConfig, Sam2VideoConfig, Sam2VisionConfig, SamHQConfig, SamHQVisionConfig, SamVisionConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, SeedOssConfig, SegformerConfig, SegGptConfig, SEWConfig, SEWDConfig, SiglipConfig, Siglip2Config, Siglip2VisionConfig, SiglipVisionConfig, SmolLM3Config, SmolVLMConfig, SmolVLMVisionConfig, Speech2TextConfig, SpeechT5Config, SplinterConfig, SqueezeBertConfig, StableLmConfig, Starcoder2Config, SwiftFormerConfig, SwinConfig, Swin2SRConfig, Swinv2Config, SwitchTransformersConfig, T5Config, T5GemmaConfig, TableTransformerConfig, TapasConfig, TextNetConfig, TimeSeriesTransformerConfig, TimesFmConfig, TimesformerConfig, TimmBackboneConfig, TimmWrapperConfig, TrajectoryTransformerConfig, TransfoXLConfig, TvltConfig, TvpConfig, UdopConfig, UMT5Config, UniSpeechConfig, UniSpeechSatConfig, UnivNetConfig, VanConfig, VaultGemmaConfig, VideoLlavaConfig, VideoMAEConfig, ViltConfig, VipLlavaConfig, VisionTextDualEncoderConfig, VisualBertConfig, ViTConfig, ViTHybridConfig, ViTMAEConfig, ViTMSNConfig, VitDetConfig, VitsConfig, VivitConfig, VJEPA2Config, VoxtralConfig, VoxtralEncoderConfig, Wav2Vec2Config, Wav2Vec2BertConfig, Wav2Vec2ConformerConfig, WavLMConfig, WhisperConfig, XCLIPConfig, XcodecConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, xLSTMConfig, XmodConfig, YolosConfig, YosoConfig, ZambaConfig, Zamba2Config.

PR fix notes

PR #38306: [Model] Add Phi4ForCausalLMV for microsoft/Phi-4-reasoning-vision-15B

Description (problem / solution / changelog)

Purpose

Add Phi4ForCausalLMV for microsoft/Phi-4-reasoning-vision-15B

Fixes: https://github.com/vllm-project/vllm/issues/38309

Test Plan

Add unit tests

serve command :

 vllm serve   microsoft/Phi-4-reasoning-vision-15B   -tp 2   --trust-remote-code   --async-scheduling   --enable-chunked-prefill   --enable-prefix-caching   --limit-mm-per-prompt '{"image": 10}'

eval command :

OPENAI_API_KEY=empty python -m lmms_eval   --model openai  --model_args model_version=microsoft/Phi-4-reasoning-vision-15B,base_url=http://localhost:8000/v1   --tasks mmmu_val   --batch_size 1   --log_samples   --output_path ./results/

Test Result

| Tasks  |Filter|n-shot| Metric |   |Value |   |Stderr|
|--------|------|-----:|--------|---|-----:|---|------|
|mmmu_val|none  |     0|mmmu_acc|↑  |0.5189|±  |N/A   |

Accuracy reported in the model card : 54.3 (please take note)

Changed files

  • .buildkite/test_areas/models_distributed.yaml (modified, +2/-1)
  • tests/models/multimodal/generation/test_phi4siglip.py (added, +187/-0)
  • tests/models/registry.py (modified, +3/-0)
  • vllm/model_executor/models/phi4siglip.py (added, +429/-0)
  • vllm/model_executor/models/registry.py (modified, +1/-0)

Code Example

Collecting environment information...
uv is set
==============================
        System Info
==============================
OS                           : CentOS Stream 9 (x86_64)
GCC version                  : (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11)
Clang version                : 20.1.8 (CentOS 20.1.8-3.el9)
CMake version                : version 4.2.1
Libc version                 : glibc-2.34

==============================
       PyTorch Info
==============================
PyTorch version              : 2.10.0+cu128
Is debug build               : False
CUDA used to build PyTorch   : 12.8
ROCM used to build PyTorch   : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (64-bit runtime)
Python platform              : Linux-5.14.0-620.el9.x86_64-x86_64-with-glibc2.34

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 13.0.88
CUDA_MODULE_LOADING set to   : 
GPU models and configuration : 
GPU 0: NVIDIA H100 80GB HBM3
GPU 1: NVIDIA H100 80GB HBM3
GPU 2: NVIDIA H100 80GB HBM3
GPU 3: NVIDIA H100 80GB HBM3
GPU 4: NVIDIA H100 80GB HBM3
GPU 5: NVIDIA H100 80GB HBM3
GPU 6: NVIDIA H100 80GB HBM3
GPU 7: NVIDIA H100 80GB HBM3

Nvidia driver version        : 590.48.01
cuDNN version                : Could not collect
HIP runtime version          : N/A
MIOpen runtime version       : N/A
Is XNNPACK available         : True

==============================
          CPU Info
==============================
Architecture:                            x86_64
CPU op-mode(s):                          32-bit, 64-bit
Address sizes:                           46 bits physical, 57 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  160
On-line CPU(s) list:                     0-159
Vendor ID:                               GenuineIntel
Model name:                              Intel Xeon Processor (SapphireRapids)
CPU family:                              6
Model:                                   143
Thread(s) per core:                      2
Core(s) per socket:                      40
Socket(s):                               2
Stepping:                                4
BogoMIPS:                                4200.00
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 wbnoinvd arat vnmi avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b fsrm md_clear serialize tsxldtrk amx_bf16 avx512_fp16 amx_tile amx_int8 arch_capabilities
Virtualization:                          VT-x
Hypervisor vendor:                       KVM
Virtualization type:                     full
L1d cache:                               5 MiB (160 instances)
L1i cache:                               5 MiB (160 instances)
L2 cache:                                320 MiB (80 instances)
L3 cache:                                32 MiB (2 instances)
NUMA node(s):                            2
NUMA node0 CPU(s):                       0-79
NUMA node1 CPU(s):                       80-159
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Mitigation; Aligned branch/return thunks
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Unknown: No mitigations
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI SW loop, KVM SW loop
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.6
[pip3] mypy-extensions==1.1.0
[pip3] numpy==2.2.6
[pip3] nvidia-cublas-cu12==12.8.4.1
[pip3] nvidia-cuda-cupti-cu12==12.8.90
[pip3] nvidia-cuda-nvrtc-cu12==12.8.93
[pip3] nvidia-cuda-runtime-cu12==12.8.90
[pip3] nvidia-cudnn-cu12==9.10.2.21
[pip3] nvidia-cudnn-frontend==1.17.0
[pip3] nvidia-cufft-cu12==11.3.3.83
[pip3] nvidia-cufile-cu12==1.13.1.3
[pip3] nvidia-curand-cu12==10.3.9.90
[pip3] nvidia-cusolver-cu12==11.7.3.90
[pip3] nvidia-cusparse-cu12==12.5.8.93
[pip3] nvidia-cusparselt-cu12==0.7.1
[pip3] nvidia-cutlass-dsl==4.4.2
[pip3] nvidia-cutlass-dsl-libs-base==4.4.2
[pip3] nvidia-ml-py==13.590.44
[pip3] nvidia-nccl-cu12==2.27.5
[pip3] nvidia-nvjitlink-cu12==12.8.93
[pip3] nvidia-nvshmem-cu12==3.4.5
[pip3] nvidia-nvtx-cu12==12.8.90
[pip3] pyzmq==27.1.0
[pip3] sentence-transformers==5.3.0
[pip3] torch==2.10.0
[pip3] torch-c-dlpack-ext==0.1.5
[pip3] torchaudio==2.10.0
[pip3] torchvision==0.25.0
[pip3] transformers==4.57.6
[pip3] transformers-stream-generator==0.0.5
[pip3] triton==3.6.0
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.10.1.dev7307+gcd7643015 (git sha: cd7643015)
vLLM Build Flags:
  CUDA Archs: Not Set; ROCm: Disabled
GPU Topology:
  	GPU0	GPU1	GPU2	GPU3	GPU4	GPU5	GPU6	GPU7	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	NV18	NV18	NV18	NV18	NV18	NV18	NV18	0-79	0		N/A
GPU1	NV18	 X 	NV18	NV18	NV18	NV18	NV18	NV18	0-79	0		N/A
GPU2	NV18	NV18	 X 	NV18	NV18	NV18	NV18	NV18	0-79	0		N/A
GPU3	NV18	NV18	NV18	 X 	NV18	NV18	NV18	NV18	0-79	0		N/A
GPU4	NV18	NV18	NV18	NV18	 X 	NV18	NV18	NV18	80-159	1		N/A
GPU5	NV18	NV18	NV18	NV18	NV18	 X 	NV18	NV18	80-159	1		N/A
GPU6	NV18	NV18	NV18	NV18	NV18	NV18	 X 	NV18	80-159	1		N/A
GPU7	NV18	NV18	NV18	NV18	NV18	NV18	NV18	 X 	80-159	1		N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

==============================
     Environment Variables
==============================
LD_LIBRARY_PATH=:/usr/local/cuda-13.0/lib64
CUDA_HOME=/usr/local/cuda-13.0
CUDA_HOME=/usr/local/cuda-13.0
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_varun-sundar-rabindranath

---

vllm serve \
  microsoft/Phi-4-reasoning-vision-15B \
  -tp 2 \
  --trust-remote-code \
  --async-scheduling \
  --enable-chunked-prefill \
  --enable-prefix-caching \
  --limit-mm-per-prompt '{"image": 10}'

---

(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]        █     █     █▄   ▄█
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]  ▄▄ ▄█ █     █     █ ▀▄▀ █  version 0.18.0
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]   █▄█▀ █     █     █     █  model   microsoft/Phi-4-reasoning-vision-15B
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]    ▀▀  ▀▀▀▀▀ ▀▀▀▀▀ ▀     
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:233] non-default args: {'model_tag': 'microsoft/Phi-4-reasoning-vision-15B', 'model': 'microsoft/Phi-4-reasoning-vision-15B', 'trust_remote_code': True, 'tensor_parallel_size': 2, 'enable_prefix_caching': True, 'limit_mm_per_prompt': {'image': 10}, 'enable_chunked_prefill': True, 'async_scheduling': True}
(APIServer pid=1481120) A new version of the following files was downloaded from https://huggingface.co/microsoft/Phi-4-reasoning-vision-15B:
(APIServer pid=1481120) - modeling_phi4_visionr.py
(APIServer pid=1481120) . Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
(APIServer pid=1481120) INFO 03-23 16:02:31 [model.py:533] Resolved architecture: TransformersForCausalLM
(APIServer pid=1481120) INFO 03-23 16:02:31 [model.py:1582] Using max model len 32768
(APIServer pid=1481120) INFO 03-23 16:02:31 [scheduler.py:231] Chunked prefill is enabled with max_num_batched_tokens=2048.
(APIServer pid=1481120) INFO 03-23 16:02:31 [vllm.py:754] Asynchronous scheduling is enabled.
(EngineCore pid=1481821) INFO 03-23 16:02:39 [core.py:103] Initializing a V1 LLM engine (v0.18.0) with config: model='microsoft/Phi-4-reasoning-vision-15B', speculative_config=None, tokenizer='microsoft/Phi-4-reasoning-vision-15B', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=2, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=microsoft/Phi-4-reasoning-vision-15B, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': True, 'static_all_moe_layers': []}
(EngineCore pid=1481821) WARNING 03-23 16:02:39 [multiproc_executor.py:997] Reducing Torch parallelism from 128 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed.
(EngineCore pid=1481821) INFO 03-23 16:02:39 [multiproc_executor.py:134] DP group leader: node_rank=0, node_rank_within_dp=0, master_addr=127.0.0.1, mq_connect_ip=10.14.217.21 (local), world_size=2, local_world_size=2
(Worker pid=1482097) INFO 03-23 16:02:47 [parallel_state.py:1395] world_size=2 rank=0 local_rank=0 distributed_init_method=tcp://127.0.0.1:58737 backend=nccl
(Worker pid=1482098) INFO 03-23 16:02:47 [parallel_state.py:1395] world_size=2 rank=1 local_rank=1 distributed_init_method=tcp://127.0.0.1:58737 backend=nccl
(Worker pid=1482097) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.cudart module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.runtime module instead.
(Worker pid=1482097) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.nvrtc module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.nvrtc module instead.
(Worker pid=1482098) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.cudart module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.runtime module instead.
(Worker pid=1482098) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.nvrtc module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.nvrtc module instead.
(Worker pid=1482097) INFO 03-23 16:02:48 [pynccl.py:111] vLLM is using nccl==2.27.5
(Worker pid=1482097) WARNING 03-23 16:02:48 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available.
(Worker pid=1482098) WARNING 03-23 16:02:48 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available.
(Worker pid=1482098) INFO 03-23 16:02:49 [parallel_state.py:1717] rank 1 in world size 2 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 1, EP rank N/A, EPLB rank N/A
(Worker pid=1482097) INFO 03-23 16:02:49 [parallel_state.py:1717] rank 0 in world size 2 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A
(Worker pid=1482097) WARNING 03-23 16:02:49 [utils.py:187] TransformersForCausalLM has no vLLM implementation, falling back to Transformers implementation. Some features may not be supported and performance may not be optimal.
(Worker_TP0 pid=1482097) INFO 03-23 16:02:49 [gpu_model_runner.py:4481] Starting to load model microsoft/Phi-4-reasoning-vision-15B...
(Worker_TP1 pid=1482098) WARNING 03-23 16:02:50 [utils.py:187] TransformersForCausalLM has no vLLM implementation, falling back to Transformers implementation. Some features may not be supported and performance may not be optimal.
(Worker_TP1 pid=1482098) INFO 03-23 16:02:50 [base.py:115] Using Transformers modeling backend.
(Worker_TP0 pid=1482097) INFO 03-23 16:02:50 [base.py:115] Using Transformers modeling backend.
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] WorkerProc failed to start.
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] Traceback (most recent call last):
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/executor/multiproc_executor.py", line 821, in worker_main
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     worker = WorkerProc(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/executor/multiproc_executor.py", line 619, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.worker.load_model()
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 335, in load_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.model_runner.load_model(load_dummy_weights=dummy_weights)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4497, in load_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.model = model_loader.load_model(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]                  ^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 54, in load_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     model = initialize_model(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]             ^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/model_loader/utils.py", line 56, in initialize_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     model = model_class(vllm_config=vllm_config, prefix=prefix)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/compilation/decorators.py", line 355, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     old_init(self, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/transformers/causal.py", line 35, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     super(VllmModelForTextGeneration, self).init(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/transformers/base.py", line 161, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.model: PreTrainedModel = AutoModel.from_config(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]                                   ^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/transformers/models/auto/auto_factory.py", line 458, in from_config
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     raise ValueError(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ValueError: Unrecognized configuration class <class 'transformers_modules.microsoft.Phi_hyphen_4_hyphen_reasoning_hyphen_vision_hyphen_15B.7df902e2fec305ff57c2eddf519485a74bb2daaa.modeling_phi4_visionr.Phi4VisionR'> for this kind of AutoModel: AutoModel.
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] Model type should be one of Aimv2Config, Aimv2VisionConfig, AlbertConfig, AlignConfig, AltCLIPConfig, ApertusConfig, ArceeConfig, AriaConfig, AriaTextConfig, ASTConfig, AutoformerConfig, AyaVisionConfig, BambaConfig, BarkConfig, BartConfig, BeitConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BitConfig, BitNetConfig, BlenderbotConfig, BlenderbotSmallConfig, BlipConfig, Blip2Config, Blip2QFormerConfig, BloomConfig, BltConfig, BridgeTowerConfig, BrosConfig, CamembertConfig, CanineConfig, ChameleonConfig, ChineseCLIPConfig, ChineseCLIPVisionConfig, ClapConfig, CLIPConfig, CLIPTextConfig, CLIPVisionConfig, CLIPSegConfig, ClvpConfig, LlamaConfig, CodeGenConfig, CohereConfig, Cohere2Config, Cohere2VisionConfig, ConditionalDetrConfig, ConvBertConfig, ConvNextConfig, ConvNextV2Config, CpmAntConfig, CsmConfig, CTRLConfig, CvtConfig, DFineConfig, DabDetrConfig, DacConfig, Data2VecAudioConfig, Data2VecTextConfig, Data2VecVisionConfig, DbrxConfig, DebertaConfig, DebertaV2Config, DecisionTransformerConfig, DeepseekV2Config, DeepseekV3Config, DeepseekVLConfig, DeepseekVLHybridConfig, DeformableDetrConfig, DeiTConfig, DepthProConfig, DetaConfig, DetrConfig, DiaConfig, DiffLlamaConfig, DinatConfig, Dinov2Config, Dinov2WithRegistersConfig, DINOv3ConvNextConfig, DINOv3ViTConfig, DistilBertConfig, DogeConfig, DonutSwinConfig, Dots1Config, DPRConfig, DPTConfig, EdgeTamConfig, EdgeTamVideoConfig, EdgeTamVisionConfig, EfficientFormerConfig, EfficientLoFTRConfig, EfficientNetConfig, ElectraConfig, Emu3Config, EncodecConfig, ErnieConfig, Ernie4_5Config, Ernie4_5_MoeConfig, ErnieMConfig, EsmConfig, EvollaConfig, Exaone4Config, FalconConfig, FalconH1Config, FalconMambaConfig, FastSpeech2ConformerConfig, FastSpeech2ConformerWithHifiGanConfig, FlaubertConfig, FlavaConfig, FlexOlmoConfig, Florence2Config, FNetConfig, FocalNetConfig, FSMTConfig, FunnelConfig, FuyuConfig, GemmaConfig, Gemma2Config, Gemma3Config, Gemma3TextConfig, Gemma3nConfig, Gemma3nAudioConfig, Gemma3nTextConfig, Gemma3nVisionConfig, GitConfig, GlmConfig, Glm4Config, Glm4MoeConfig, Glm4vConfig, Glm4vMoeConfig, Glm4vMoeTextConfig, Glm4vTextConfig, GLPNConfig, GotOcr2Config, GPT2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GptOssConfig, GPTJConfig, GPTSanJapaneseConfig, GraniteConfig, GraniteMoeConfig, GraniteMoeHybridConfig, GraniteMoeSharedConfig, GraphormerConfig, GroundingDinoConfig, GroupViTConfig, HeliumConfig, HGNetV2Config, HieraConfig, HubertConfig, HunYuanDenseV1Config, HunYuanMoEV1Config, IBertConfig, IdeficsConfig, Idefics2Config, Idefics3Config, Idefics3VisionConfig, IJepaConfig, ImageGPTConfig, InformerConfig, InstructBlipConfig, InstructBlipVideoConfig, InternVLConfig, InternVLVisionConfig, JambaConfig, JanusConfig, JetMoeConfig, JukeboxConfig, Kosmos2Config, Kosmos2_5Config, KyutaiSpeechToTextConfig, LayoutLMConfig, LayoutLMv2Config, LayoutLMv3Config, LEDConfig, LevitConfig, Lfm2Config, Lfm2VlConfig, LightGlueConfig, LiltConfig, LlamaConfig, Llama4Config, Llama4TextConfig, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, LongcatFlashConfig, LongformerConfig, LongT5Config, LukeConfig, LxmertConfig, M2M100Config, MambaConfig, Mamba2Config, MarianConfig, MarkupLMConfig, Mask2FormerConfig, MaskFormerConfig, MaskFormerSwinConfig, MBartConfig, MCTCTConfig, MegaConfig, MegatronBertConfig, MetaClip2Config, MgpstrConfig, MimiConfig, MiniMaxConfig, MinistralConfig, MistralConfig, Mistral3Config, MixtralConfig, MLCDVisionConfig, MllamaConfig, MMGroundingDinoConfig, MobileBertConfig, MobileNetV1Config, MobileNetV2Config, MobileViTConfig, MobileViTV2Config, ModernBertConfig, ModernBertDecoderConfig, MoonshineConfig, MoshiConfig, MPNetConfig, MptConfig, MraConfig, MT5Config, MusicgenConfig, MusicgenMelodyConfig, MvpConfig, NatConfig, NemotronConfig, NezhaConfig, NllbMoeConfig, NystromformerConfig, OlmoConfig, Olmo2Config, Olmo3Config, OlmoeConfig, OmDetTurboConfig, OneFormerConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, Ovis2Config, Owlv2Config, OwlViTConfig, PaliGemmaConfig, ParakeetCTCConfig, ParakeetEncoderConfig, PatchTSMixerConfig, PatchTSTConfig, PegasusConfig, PegasusXConfig, PerceiverConfig, TimmWrapperConfig, PerceptionLMConfig, PersimmonConfig, PhiConfig, Phi3Config, Phi4MultimodalConfig, PhimoeConfig, PixtralVisionConfig, PLBartConfig, PoolFormerConfig, ProphetNetConfig, PvtConfig, PvtV2Config, QDQBertConfig, Qwen2Config, Qwen2_5_VLConfig, Qwen2_5_VLTextConfig, Qwen2AudioEncoderConfig, Qwen2MoeConfig, Qwen2VLConfig, Qwen2VLTextConfig, Qwen3Config, Qwen3MoeConfig, Qwen3NextConfig, Qwen3VLConfig, Qwen3VLMoeConfig, Qwen3VLMoeTextConfig, Qwen3VLTextConfig, RecurrentGemmaConfig, ReformerConfig, RegNetConfig, RemBertConfig, ResNetConfig, RetriBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RTDetrConfig, RTDetrV2Config, RwkvConfig, SamConfig, Sam2Config, Sam2HieraDetConfig, Sam2VideoConfig, Sam2VisionConfig, SamHQConfig, SamHQVisionConfig, SamVisionConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, SeedOssConfig, SegformerConfig, SegGptConfig, SEWConfig, SEWDConfig, SiglipConfig, Siglip2Config, Siglip2VisionConfig, SiglipVisionConfig, SmolLM3Config, SmolVLMConfig, SmolVLMVisionConfig, Speech2TextConfig, SpeechT5Config, SplinterConfig, SqueezeBertConfig, StableLmConfig, Starcoder2Config, SwiftFormerConfig, SwinConfig, Swin2SRConfig, Swinv2Config, SwitchTransformersConfig, T5Config, T5GemmaConfig, TableTransformerConfig, TapasConfig, TextNetConfig, TimeSeriesTransformerConfig, TimesFmConfig, TimesformerConfig, TimmBackboneConfig, TimmWrapperConfig, TrajectoryTransformerConfig, TransfoXLConfig, TvltConfig, TvpConfig, UdopConfig, UMT5Config, UniSpeechConfig, UniSpeechSatConfig, UnivNetConfig, VanConfig, VaultGemmaConfig, VideoLlavaConfig, VideoMAEConfig, ViltConfig, VipLlavaConfig, VisionTextDualEncoderConfig, VisualBertConfig, ViTConfig, ViTHybridConfig, ViTMAEConfig, ViTMSNConfig, VitDetConfig, VitsConfig, VivitConfig, VJEPA2Config, VoxtralConfig, VoxtralEncoderConfig, Wav2Vec2Config, Wav2Vec2BertConfig, Wav2Vec2ConformerConfig, WavLMConfig, WhisperConfig, XCLIPConfig, XcodecConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, xLSTMConfig, XmodConfig, YolosConfig, YosoConfig, ZambaConfig, Zamba2Config.
RAW_BUFFERClick to expand / collapse

Your current environment

<details> <summary>The output of <code>python collect_env.py</code></summary>
Collecting environment information...
uv is set
==============================
        System Info
==============================
OS                           : CentOS Stream 9 (x86_64)
GCC version                  : (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11)
Clang version                : 20.1.8 (CentOS 20.1.8-3.el9)
CMake version                : version 4.2.1
Libc version                 : glibc-2.34

==============================
       PyTorch Info
==============================
PyTorch version              : 2.10.0+cu128
Is debug build               : False
CUDA used to build PyTorch   : 12.8
ROCM used to build PyTorch   : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (64-bit runtime)
Python platform              : Linux-5.14.0-620.el9.x86_64-x86_64-with-glibc2.34

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 13.0.88
CUDA_MODULE_LOADING set to   : 
GPU models and configuration : 
GPU 0: NVIDIA H100 80GB HBM3
GPU 1: NVIDIA H100 80GB HBM3
GPU 2: NVIDIA H100 80GB HBM3
GPU 3: NVIDIA H100 80GB HBM3
GPU 4: NVIDIA H100 80GB HBM3
GPU 5: NVIDIA H100 80GB HBM3
GPU 6: NVIDIA H100 80GB HBM3
GPU 7: NVIDIA H100 80GB HBM3

Nvidia driver version        : 590.48.01
cuDNN version                : Could not collect
HIP runtime version          : N/A
MIOpen runtime version       : N/A
Is XNNPACK available         : True

==============================
          CPU Info
==============================
Architecture:                            x86_64
CPU op-mode(s):                          32-bit, 64-bit
Address sizes:                           46 bits physical, 57 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  160
On-line CPU(s) list:                     0-159
Vendor ID:                               GenuineIntel
Model name:                              Intel Xeon Processor (SapphireRapids)
CPU family:                              6
Model:                                   143
Thread(s) per core:                      2
Core(s) per socket:                      40
Socket(s):                               2
Stepping:                                4
BogoMIPS:                                4200.00
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 wbnoinvd arat vnmi avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b fsrm md_clear serialize tsxldtrk amx_bf16 avx512_fp16 amx_tile amx_int8 arch_capabilities
Virtualization:                          VT-x
Hypervisor vendor:                       KVM
Virtualization type:                     full
L1d cache:                               5 MiB (160 instances)
L1i cache:                               5 MiB (160 instances)
L2 cache:                                320 MiB (80 instances)
L3 cache:                                32 MiB (2 instances)
NUMA node(s):                            2
NUMA node0 CPU(s):                       0-79
NUMA node1 CPU(s):                       80-159
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Mitigation; Aligned branch/return thunks
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Unknown: No mitigations
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI SW loop, KVM SW loop
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.6
[pip3] mypy-extensions==1.1.0
[pip3] numpy==2.2.6
[pip3] nvidia-cublas-cu12==12.8.4.1
[pip3] nvidia-cuda-cupti-cu12==12.8.90
[pip3] nvidia-cuda-nvrtc-cu12==12.8.93
[pip3] nvidia-cuda-runtime-cu12==12.8.90
[pip3] nvidia-cudnn-cu12==9.10.2.21
[pip3] nvidia-cudnn-frontend==1.17.0
[pip3] nvidia-cufft-cu12==11.3.3.83
[pip3] nvidia-cufile-cu12==1.13.1.3
[pip3] nvidia-curand-cu12==10.3.9.90
[pip3] nvidia-cusolver-cu12==11.7.3.90
[pip3] nvidia-cusparse-cu12==12.5.8.93
[pip3] nvidia-cusparselt-cu12==0.7.1
[pip3] nvidia-cutlass-dsl==4.4.2
[pip3] nvidia-cutlass-dsl-libs-base==4.4.2
[pip3] nvidia-ml-py==13.590.44
[pip3] nvidia-nccl-cu12==2.27.5
[pip3] nvidia-nvjitlink-cu12==12.8.93
[pip3] nvidia-nvshmem-cu12==3.4.5
[pip3] nvidia-nvtx-cu12==12.8.90
[pip3] pyzmq==27.1.0
[pip3] sentence-transformers==5.3.0
[pip3] torch==2.10.0
[pip3] torch-c-dlpack-ext==0.1.5
[pip3] torchaudio==2.10.0
[pip3] torchvision==0.25.0
[pip3] transformers==4.57.6
[pip3] transformers-stream-generator==0.0.5
[pip3] triton==3.6.0
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.10.1.dev7307+gcd7643015 (git sha: cd7643015)
vLLM Build Flags:
  CUDA Archs: Not Set; ROCm: Disabled
GPU Topology:
  	GPU0	GPU1	GPU2	GPU3	GPU4	GPU5	GPU6	GPU7	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	NV18	NV18	NV18	NV18	NV18	NV18	NV18	0-79	0		N/A
GPU1	NV18	 X 	NV18	NV18	NV18	NV18	NV18	NV18	0-79	0		N/A
GPU2	NV18	NV18	 X 	NV18	NV18	NV18	NV18	NV18	0-79	0		N/A
GPU3	NV18	NV18	NV18	 X 	NV18	NV18	NV18	NV18	0-79	0		N/A
GPU4	NV18	NV18	NV18	NV18	 X 	NV18	NV18	NV18	80-159	1		N/A
GPU5	NV18	NV18	NV18	NV18	NV18	 X 	NV18	NV18	80-159	1		N/A
GPU6	NV18	NV18	NV18	NV18	NV18	NV18	 X 	NV18	80-159	1		N/A
GPU7	NV18	NV18	NV18	NV18	NV18	NV18	NV18	 X 	80-159	1		N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

==============================
     Environment Variables
==============================
LD_LIBRARY_PATH=:/usr/local/cuda-13.0/lib64
CUDA_HOME=/usr/local/cuda-13.0
CUDA_HOME=/usr/local/cuda-13.0
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_varun-sundar-rabindranath
</details>

🐛 Describe the bug

vllm serve \
  microsoft/Phi-4-reasoning-vision-15B \
  -tp 2 \
  --trust-remote-code \
  --async-scheduling \
  --enable-chunked-prefill \
  --enable-prefix-caching \
  --limit-mm-per-prompt '{"image": 10}'

fails to load the model

(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]        █     █     █▄   ▄█
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]  ▄▄ ▄█ █     █     █ ▀▄▀ █  version 0.18.0
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]   █▄█▀ █     █     █     █  model   microsoft/Phi-4-reasoning-vision-15B
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]    ▀▀  ▀▀▀▀▀ ▀▀▀▀▀ ▀     ▀
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:297]
(APIServer pid=1481120) INFO 03-23 16:02:22 [utils.py:233] non-default args: {'model_tag': 'microsoft/Phi-4-reasoning-vision-15B', 'model': 'microsoft/Phi-4-reasoning-vision-15B', 'trust_remote_code': True, 'tensor_parallel_size': 2, 'enable_prefix_caching': True, 'limit_mm_per_prompt': {'image': 10}, 'enable_chunked_prefill': True, 'async_scheduling': True}
(APIServer pid=1481120) A new version of the following files was downloaded from https://huggingface.co/microsoft/Phi-4-reasoning-vision-15B:
(APIServer pid=1481120) - modeling_phi4_visionr.py
(APIServer pid=1481120) . Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
(APIServer pid=1481120) INFO 03-23 16:02:31 [model.py:533] Resolved architecture: TransformersForCausalLM
(APIServer pid=1481120) INFO 03-23 16:02:31 [model.py:1582] Using max model len 32768
(APIServer pid=1481120) INFO 03-23 16:02:31 [scheduler.py:231] Chunked prefill is enabled with max_num_batched_tokens=2048.
(APIServer pid=1481120) INFO 03-23 16:02:31 [vllm.py:754] Asynchronous scheduling is enabled.
(EngineCore pid=1481821) INFO 03-23 16:02:39 [core.py:103] Initializing a V1 LLM engine (v0.18.0) with config: model='microsoft/Phi-4-reasoning-vision-15B', speculative_config=None, tokenizer='microsoft/Phi-4-reasoning-vision-15B', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=2, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=microsoft/Phi-4-reasoning-vision-15B, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': True, 'static_all_moe_layers': []}
(EngineCore pid=1481821) WARNING 03-23 16:02:39 [multiproc_executor.py:997] Reducing Torch parallelism from 128 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed.
(EngineCore pid=1481821) INFO 03-23 16:02:39 [multiproc_executor.py:134] DP group leader: node_rank=0, node_rank_within_dp=0, master_addr=127.0.0.1, mq_connect_ip=10.14.217.21 (local), world_size=2, local_world_size=2
(Worker pid=1482097) INFO 03-23 16:02:47 [parallel_state.py:1395] world_size=2 rank=0 local_rank=0 distributed_init_method=tcp://127.0.0.1:58737 backend=nccl
(Worker pid=1482098) INFO 03-23 16:02:47 [parallel_state.py:1395] world_size=2 rank=1 local_rank=1 distributed_init_method=tcp://127.0.0.1:58737 backend=nccl
(Worker pid=1482097) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.cudart module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.runtime module instead.
(Worker pid=1482097) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.nvrtc module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.nvrtc module instead.
(Worker pid=1482098) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.cudart module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.runtime module instead.
(Worker pid=1482098) <frozen importlib._bootstrap_external>:1301: FutureWarning: The cuda.nvrtc module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.nvrtc module instead.
(Worker pid=1482097) INFO 03-23 16:02:48 [pynccl.py:111] vLLM is using nccl==2.27.5
(Worker pid=1482097) WARNING 03-23 16:02:48 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available.
(Worker pid=1482098) WARNING 03-23 16:02:48 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available.
(Worker pid=1482098) INFO 03-23 16:02:49 [parallel_state.py:1717] rank 1 in world size 2 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 1, EP rank N/A, EPLB rank N/A
(Worker pid=1482097) INFO 03-23 16:02:49 [parallel_state.py:1717] rank 0 in world size 2 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A
(Worker pid=1482097) WARNING 03-23 16:02:49 [utils.py:187] TransformersForCausalLM has no vLLM implementation, falling back to Transformers implementation. Some features may not be supported and performance may not be optimal.
(Worker_TP0 pid=1482097) INFO 03-23 16:02:49 [gpu_model_runner.py:4481] Starting to load model microsoft/Phi-4-reasoning-vision-15B...
(Worker_TP1 pid=1482098) WARNING 03-23 16:02:50 [utils.py:187] TransformersForCausalLM has no vLLM implementation, falling back to Transformers implementation. Some features may not be supported and performance may not be optimal.
(Worker_TP1 pid=1482098) INFO 03-23 16:02:50 [base.py:115] Using Transformers modeling backend.
(Worker_TP0 pid=1482097) INFO 03-23 16:02:50 [base.py:115] Using Transformers modeling backend.
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] WorkerProc failed to start.
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] Traceback (most recent call last):
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/executor/multiproc_executor.py", line 821, in worker_main
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     worker = WorkerProc(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/executor/multiproc_executor.py", line 619, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.worker.load_model()
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 335, in load_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.model_runner.load_model(load_dummy_weights=dummy_weights)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4497, in load_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.model = model_loader.load_model(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]                  ^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 54, in load_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     model = initialize_model(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]             ^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     return func(*args, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/model_loader/utils.py", line 56, in initialize_model
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     model = model_class(vllm_config=vllm_config, prefix=prefix)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/compilation/decorators.py", line 355, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     old_init(self, **kwargs)
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/transformers/causal.py", line 35, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     super(VllmModelForTextGeneration, self).init(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/transformers/base.py", line 161, in init
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     self.model: PreTrainedModel = AutoModel.from_config(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]                                   ^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]   File "/home/anmarques/environments/vllm/lib64/python3.12/site-packages/transformers/models/auto/auto_factory.py", line 458, in from_config
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852]     raise ValueError(
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] ValueError: Unrecognized configuration class <class 'transformers_modules.microsoft.Phi_hyphen_4_hyphen_reasoning_hyphen_vision_hyphen_15B.7df902e2fec305ff57c2eddf519485a74bb2daaa.modeling_phi4_visionr.Phi4VisionR'> for this kind of AutoModel: AutoModel.
(Worker_TP1 pid=1482098) ERROR 03-23 16:02:50 [multiproc_executor.py:852] Model type should be one of Aimv2Config, Aimv2VisionConfig, AlbertConfig, AlignConfig, AltCLIPConfig, ApertusConfig, ArceeConfig, AriaConfig, AriaTextConfig, ASTConfig, AutoformerConfig, AyaVisionConfig, BambaConfig, BarkConfig, BartConfig, BeitConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BitConfig, BitNetConfig, BlenderbotConfig, BlenderbotSmallConfig, BlipConfig, Blip2Config, Blip2QFormerConfig, BloomConfig, BltConfig, BridgeTowerConfig, BrosConfig, CamembertConfig, CanineConfig, ChameleonConfig, ChineseCLIPConfig, ChineseCLIPVisionConfig, ClapConfig, CLIPConfig, CLIPTextConfig, CLIPVisionConfig, CLIPSegConfig, ClvpConfig, LlamaConfig, CodeGenConfig, CohereConfig, Cohere2Config, Cohere2VisionConfig, ConditionalDetrConfig, ConvBertConfig, ConvNextConfig, ConvNextV2Config, CpmAntConfig, CsmConfig, CTRLConfig, CvtConfig, DFineConfig, DabDetrConfig, DacConfig, Data2VecAudioConfig, Data2VecTextConfig, Data2VecVisionConfig, DbrxConfig, DebertaConfig, DebertaV2Config, DecisionTransformerConfig, DeepseekV2Config, DeepseekV3Config, DeepseekVLConfig, DeepseekVLHybridConfig, DeformableDetrConfig, DeiTConfig, DepthProConfig, DetaConfig, DetrConfig, DiaConfig, DiffLlamaConfig, DinatConfig, Dinov2Config, Dinov2WithRegistersConfig, DINOv3ConvNextConfig, DINOv3ViTConfig, DistilBertConfig, DogeConfig, DonutSwinConfig, Dots1Config, DPRConfig, DPTConfig, EdgeTamConfig, EdgeTamVideoConfig, EdgeTamVisionConfig, EfficientFormerConfig, EfficientLoFTRConfig, EfficientNetConfig, ElectraConfig, Emu3Config, EncodecConfig, ErnieConfig, Ernie4_5Config, Ernie4_5_MoeConfig, ErnieMConfig, EsmConfig, EvollaConfig, Exaone4Config, FalconConfig, FalconH1Config, FalconMambaConfig, FastSpeech2ConformerConfig, FastSpeech2ConformerWithHifiGanConfig, FlaubertConfig, FlavaConfig, FlexOlmoConfig, Florence2Config, FNetConfig, FocalNetConfig, FSMTConfig, FunnelConfig, FuyuConfig, GemmaConfig, Gemma2Config, Gemma3Config, Gemma3TextConfig, Gemma3nConfig, Gemma3nAudioConfig, Gemma3nTextConfig, Gemma3nVisionConfig, GitConfig, GlmConfig, Glm4Config, Glm4MoeConfig, Glm4vConfig, Glm4vMoeConfig, Glm4vMoeTextConfig, Glm4vTextConfig, GLPNConfig, GotOcr2Config, GPT2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GptOssConfig, GPTJConfig, GPTSanJapaneseConfig, GraniteConfig, GraniteMoeConfig, GraniteMoeHybridConfig, GraniteMoeSharedConfig, GraphormerConfig, GroundingDinoConfig, GroupViTConfig, HeliumConfig, HGNetV2Config, HieraConfig, HubertConfig, HunYuanDenseV1Config, HunYuanMoEV1Config, IBertConfig, IdeficsConfig, Idefics2Config, Idefics3Config, Idefics3VisionConfig, IJepaConfig, ImageGPTConfig, InformerConfig, InstructBlipConfig, InstructBlipVideoConfig, InternVLConfig, InternVLVisionConfig, JambaConfig, JanusConfig, JetMoeConfig, JukeboxConfig, Kosmos2Config, Kosmos2_5Config, KyutaiSpeechToTextConfig, LayoutLMConfig, LayoutLMv2Config, LayoutLMv3Config, LEDConfig, LevitConfig, Lfm2Config, Lfm2VlConfig, LightGlueConfig, LiltConfig, LlamaConfig, Llama4Config, Llama4TextConfig, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, LongcatFlashConfig, LongformerConfig, LongT5Config, LukeConfig, LxmertConfig, M2M100Config, MambaConfig, Mamba2Config, MarianConfig, MarkupLMConfig, Mask2FormerConfig, MaskFormerConfig, MaskFormerSwinConfig, MBartConfig, MCTCTConfig, MegaConfig, MegatronBertConfig, MetaClip2Config, MgpstrConfig, MimiConfig, MiniMaxConfig, MinistralConfig, MistralConfig, Mistral3Config, MixtralConfig, MLCDVisionConfig, MllamaConfig, MMGroundingDinoConfig, MobileBertConfig, MobileNetV1Config, MobileNetV2Config, MobileViTConfig, MobileViTV2Config, ModernBertConfig, ModernBertDecoderConfig, MoonshineConfig, MoshiConfig, MPNetConfig, MptConfig, MraConfig, MT5Config, MusicgenConfig, MusicgenMelodyConfig, MvpConfig, NatConfig, NemotronConfig, NezhaConfig, NllbMoeConfig, NystromformerConfig, OlmoConfig, Olmo2Config, Olmo3Config, OlmoeConfig, OmDetTurboConfig, OneFormerConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, Ovis2Config, Owlv2Config, OwlViTConfig, PaliGemmaConfig, ParakeetCTCConfig, ParakeetEncoderConfig, PatchTSMixerConfig, PatchTSTConfig, PegasusConfig, PegasusXConfig, PerceiverConfig, TimmWrapperConfig, PerceptionLMConfig, PersimmonConfig, PhiConfig, Phi3Config, Phi4MultimodalConfig, PhimoeConfig, PixtralVisionConfig, PLBartConfig, PoolFormerConfig, ProphetNetConfig, PvtConfig, PvtV2Config, QDQBertConfig, Qwen2Config, Qwen2_5_VLConfig, Qwen2_5_VLTextConfig, Qwen2AudioEncoderConfig, Qwen2MoeConfig, Qwen2VLConfig, Qwen2VLTextConfig, Qwen3Config, Qwen3MoeConfig, Qwen3NextConfig, Qwen3VLConfig, Qwen3VLMoeConfig, Qwen3VLMoeTextConfig, Qwen3VLTextConfig, RecurrentGemmaConfig, ReformerConfig, RegNetConfig, RemBertConfig, ResNetConfig, RetriBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RTDetrConfig, RTDetrV2Config, RwkvConfig, SamConfig, Sam2Config, Sam2HieraDetConfig, Sam2VideoConfig, Sam2VisionConfig, SamHQConfig, SamHQVisionConfig, SamVisionConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, SeedOssConfig, SegformerConfig, SegGptConfig, SEWConfig, SEWDConfig, SiglipConfig, Siglip2Config, Siglip2VisionConfig, SiglipVisionConfig, SmolLM3Config, SmolVLMConfig, SmolVLMVisionConfig, Speech2TextConfig, SpeechT5Config, SplinterConfig, SqueezeBertConfig, StableLmConfig, Starcoder2Config, SwiftFormerConfig, SwinConfig, Swin2SRConfig, Swinv2Config, SwitchTransformersConfig, T5Config, T5GemmaConfig, TableTransformerConfig, TapasConfig, TextNetConfig, TimeSeriesTransformerConfig, TimesFmConfig, TimesformerConfig, TimmBackboneConfig, TimmWrapperConfig, TrajectoryTransformerConfig, TransfoXLConfig, TvltConfig, TvpConfig, UdopConfig, UMT5Config, UniSpeechConfig, UniSpeechSatConfig, UnivNetConfig, VanConfig, VaultGemmaConfig, VideoLlavaConfig, VideoMAEConfig, ViltConfig, VipLlavaConfig, VisionTextDualEncoderConfig, VisualBertConfig, ViTConfig, ViTHybridConfig, ViTMAEConfig, ViTMSNConfig, VitDetConfig, VitsConfig, VivitConfig, VJEPA2Config, VoxtralConfig, VoxtralEncoderConfig, Wav2Vec2Config, Wav2Vec2BertConfig, Wav2Vec2ConformerConfig, WavLMConfig, WhisperConfig, XCLIPConfig, XcodecConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, xLSTMConfig, XmodConfig, YolosConfig, YosoConfig, ZambaConfig, Zamba2Config.

The model card mentions vLLM and that it worked with version 0.15.2 .

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

extent analysis

Fix Plan

The error occurs because the Phi4VisionR model is not recognized by the AutoModel class. To fix this issue, we need to use the correct model class.

Here are the steps to fix the issue:

  • Check the model card for the correct model class.
  • Use the AutoModelForCausalLM class from the transformers library instead of AutoModel.
  • Make sure to install the correct version of the transformers library.

Code Changes

from transformers import AutoModelForCausalLM

# Replace the line that causes the error with the following code
model = AutoModelForCausalLM.from_config(config)

Alternatively, you can try to use the AutoModelForSeq2SeqLM class if the model is a sequence-to-sequence model.

Verification

To verify that the fix worked, run the vllm serve command again with the same arguments. If the model loads successfully, you should see a message indicating that the model has been loaded.

Extra Tips

  • Make sure to check the model card for the correct model class and version.
  • If you are using a custom model, make sure to register it with the transformers library.
  • If you are still having issues, try to update the transformers library to the latest version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

vllm - ✅(Solved) Fix [Bug]: microsoft/Phi-4-reasoning-vision-15B Fails to startup [1 pull requests, 2 comments, 2 participants]