diff --git a/benchmarks/edge_harness/probe_internvla_actions.py b/benchmarks/edge_harness/probe_internvla_actions.py new file mode 100644 index 000000000..db8b69863 --- /dev/null +++ b/benchmarks/edge_harness/probe_internvla_actions.py @@ -0,0 +1,125 @@ +#!/usr/bin/env python3 +"""Real-checkpoint InternVLA action smoke with synthetic observations. + +This probes loading and one full policy forward. Synthetic images and state do +not establish robot-task quality, physical units, or control safety. +""" + +from __future__ import annotations + +import argparse +import hashlib +import json +import os +import time +from pathlib import Path + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--model-dir", type=Path, required=True) + parser.add_argument("--cosmos-dir", type=Path, required=True) + parser.add_argument("--processor-dir", type=Path, required=True) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--device", default="cuda") + args = parser.parse_args() + + os.environ["INTERNVLA_A1_COSMOS_DIR"] = str(args.cosmos_dir.resolve()) + os.environ["INTERNVLA_A1_PROCESSOR_DIR"] = str(args.processor_dir.resolve()) + os.environ["HF_HUB_OFFLINE"] = "1" + + import torch + + from vllm_omni.diffusion.data import OmniDiffusionConfig + from vllm_omni.diffusion.registry import initialize_model + from vllm_omni.diffusion.request import OmniDiffusionRequest + from vllm_omni.diffusion.worker.request_batch import DiffusionRequestBatch + from vllm_omni.inputs.data import OmniDiffusionSamplingParams + + model_dir = args.model_dir.resolve() + if not (model_dir / "model.safetensors").is_file(): + raise FileNotFoundError(f"Missing real InternVLA checkpoint: {model_dir / 'model.safetensors'}") + + config = OmniDiffusionConfig( + model=str(model_dir), + model_class_name="InternVLAA1Pipeline", + dtype=torch.bfloat16, + custom_pipeline_args={ + "device": args.device, + "dtype": "bfloat16", + "compile_model": False, + "enable_regional_compile": False, + "enable_warmup": False, + "strict_load": True, + "processor_model_name": str(args.processor_dir.resolve()), + }, + ) + started = time.perf_counter() + pipeline = initialize_model(config) + if pipeline.runtime_mode() != "real_checkpoint_loaded": + raise RuntimeError(f"Unexpected InternVLA runtime mode: {pipeline.runtime_mode()}") + startup_s = time.perf_counter() - started + + batch_inputs = pipeline._build_fake_batch_inputs() + noise = torch.zeros( + (1, pipeline.config.chunk_size, pipeline.config.max_action_dim), + device=args.device, + dtype=torch.float32, + ) + if args.device.startswith("cuda"): + torch.accelerator.synchronize() + torch.accelerator.reset_peak_memory_stats() + started = time.perf_counter() + output = pipeline.forward( + DiffusionRequestBatch( + requests=[ + OmniDiffusionRequest( + prompt="", + sampling_params=OmniDiffusionSamplingParams( + extra_args={"batch_inputs": batch_inputs, "noise": noise, "decode_image": False} + ), + request_id="internvla-real-weight-synthetic-observation", + ) + ] + ) + ) + if args.device.startswith("cuda"): + torch.accelerator.synchronize() + forward_s = time.perf_counter() - started + if output.error: + raise RuntimeError(output.error) + result = output.output + actions = result.get("payload", {}).get("actions") if isinstance(result, dict) else None + if not isinstance(actions, torch.Tensor) or actions.shape != ( + 1, + pipeline.config.chunk_size, + pipeline.config.max_action_dim, + ): + raise RuntimeError(f"Unexpected action output: {type(actions).__name__}") + if not torch.isfinite(actions).all(): + raise RuntimeError("InternVLA returned non-finite actions") + + action_bytes = actions.detach().float().cpu().contiguous().numpy().tobytes() + report = { + "scope": "real checkpoint, synthetic zero observations and noise; no task-quality claim", + "model_dir": str(model_dir), + "runtime_mode": pipeline.runtime_mode(), + "device": args.device, + "dtype": str(actions.dtype), + "action_shape": list(actions.shape), + "finite": True, + "action_sha256_float32": hashlib.sha256(action_bytes).hexdigest(), + "first_action_prefix": actions[0, 0, :8].detach().float().cpu().tolist(), + "startup_s": startup_s, + "forward_s": forward_s, + "cuda_peak_allocated_bytes": ( + torch.accelerator.max_memory_allocated() if args.device.startswith("cuda") else None + ), + } + args.output.parent.mkdir(parents=True, exist_ok=True) + args.output.write_text(json.dumps(report, indent=2) + "\n", encoding="utf-8") + print(json.dumps(report, indent=2)) + + +if __name__ == "__main__": + main() diff --git a/benchmarks/edge_harness/probe_minicpmo_thinker.py b/benchmarks/edge_harness/probe_minicpmo_thinker.py new file mode 100644 index 000000000..8dd64df2e --- /dev/null +++ b/benchmarks/edge_harness/probe_minicpmo_thinker.py @@ -0,0 +1,31 @@ +#!/usr/bin/env python3 +"""Run the MiniCPM-o thinker alone to isolate text quality from speech stages. + +This temporarily narrows the registered pipeline in this process. It is a +diagnostic route, not a replacement for the shipped three-stage topology. +""" + +from __future__ import annotations + +from dataclasses import replace + +from vllm_omni.config.pipeline_registry import OMNI_PIPELINES +from vllm_omni.model_executor.models.minicpmo_4_5.pipeline import MINICPMO_4_5_PIPELINE + + +def main() -> None: + OMNI_PIPELINES["minicpmo_4_5"] = replace( + MINICPMO_4_5_PIPELINE, + stages=(MINICPMO_4_5_PIPELINE.stages[0],), + duplex_runtime_extension=None, + duplex_serving_adapter=None, + duplex_control_enabled=False, + ) + from examples.offline_inference.minicpmo.end2end import main as run_example + from examples.offline_inference.minicpmo.end2end import parse_args + + run_example(parse_args()) + + +if __name__ == "__main__": + main() diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/README.md b/benchmarks/edge_harness/results/e2e_recovery_20260923/README.md index a3f65376d..604bd3cdb 100644 --- a/benchmarks/edge_harness/results/e2e_recovery_20260923/README.md +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/README.md @@ -6,15 +6,23 @@ This is a follow-up to the [60-cell audit](../e2e_profiling_20260922/README.md). |---|---|---| | WSL CPU / Qwen3-TTS 0.6B CustomVoice, revision `85e237c12c027371202489a0ec509ded67b5e4b5` | Two-frame real-weight PCM probe passed (1,920 nonzero finite samples). Full short-utterance streaming completed four requests, including a slow consumer and a request after cancellation. | Measured short request: 3.04 s audio, 17.02 s wall time, RTF 5.60 and four simulated playback underruns. No ASR, speaker, listening or sustained thermal qualification. | | WSL RTX 5090 Laptop / Qwen3.8-27B NVFP4, local revision `dbb8f445b3145f8a4c18ddc769f032d57d32867c` | Public Omni text request completed 16 tokens. Public Omni image-to-text request with a synthetic red 96×96 image answered `Red`. | One text and one image case only; video, long context, quality suites, power and sustained workload unqualified. | +| WSL RTX 5090 Laptop / InternVLA-A1-3B Place_Markpen fine-tune, revision `0a557c6a503e6545b369bff2f34c76a410bbd190` | Strict real-weight load and one full policy forward with synthetic zero observations/noise passed: finite `[1, 50, 32]` action tensor; measured forward 1.222 s. | No Place_Markpen observation dataset/reference actions, units, timestamps or robot-task quality check; single-run timing is not a latency distribution. | +| WSL RTX 5090 Laptop / MiniCPM-o 4.5, revision `503e754207c94da6bb26850b4469f367c9ea3582` | Under an explicit one-session, 2,048-token thinker / 512-token talker / 5 GiB CPU-offload profile, the actual three-stage Omni pipeline completed one text-to-text+speech request. The text was a coherent introduction and the 24 kHz WAV was nonzero. | Functional pass for this one text-to-speech request only. Speech intelligibility, text/audio alignment, other input modalities, interruption, sustained load, power and quality suites remain unqualified. | Evidence: [text request](evidence/qwen_text.json), [image request](evidence/qwen_image.json), [two-frame audio](evidence/tts_two_frame.json), [stream report](evidence/tts_stream_report.json), [individual stream requests](evidence/tts_stream_requests.jsonl). The image input and exact prompt are reproducible with [the image probe](../../probe_qwen35_image.py). The streaming run used [profile_local_tts.py](../../profile_local_tts.py) with `--length-band short --concurrency 1 --repeats 1 --sustained-seconds 0`; its fixed slow-consumer and cancellation probes also ran. The CPU vLLM wheel was 0.28.0, Omni source reported 0.29.0rc2, and the installed PyTorch CPU build was 2.13.0. Qwen used the installed vLLM 0.29.0 CUDA wheel, WSL kernel `6.18.33.2-microsoft-standard-WSL2`, RTX 5090 Laptop (24,463 MiB), driver 610.71, BF16 compute, eager mode, 2 GiB explicit host offload, one sequence and 512-token context. All values are single-run observations; they are not medians. The code changes make vLLM-native `qwen3_5` a one-stage Omni pipeline, project explicit `language_model_only` and `cpu_offload_gb` to the owning stage, skip vLLM's `-1` unmapped-slot sentinel in both prefix-cache write paths, and accept both vLLM 0.28 three-field and 0.29 four-field min-token state. The image probe first refused a 1,024-token context because the available 0.14 GiB KV cache was below the 0.38 GiB requirement. The successful run explicitly used a 512-token context and 0.85 GPU memory utilization. No context or precision was changed silently. -The missing primary MiniCPM-o 4.5 and InternVLA-A1 checkpoints are being acquired at pinned revisions; no E2E result is claimed until their transfers finish and real checkpoint runs pass. The required InternVLA Cosmos encoder/decoder and Qwen3-VL processor files have been downloaded separately. Existing Spark-X2.5 4B and 1.7B INT8, Qwen3-TTS, Qwen3.8 FP8 and Qwen3.8 NVFP4 artifacts already covered those model families. Additional official Spark 1.7B BF16 and Qwen3.8-27B BF16 transfers were paused when the Hugging Face data path slowed; they are distinct artifact variants, not replacements for the present weights. InternVLA source checkpoints carry a CC BY-NC-SA 4.0 license; the current download is for local research validation. +The missing primary MiniCPM-o 4.5 and InternVLA-A1 checkpoints are now fully downloaded at pinned revisions. Every safetensors file was SHA-256 checked against the corresponding Hugging Face metadata: [MiniCPM-o](evidence/weights/minicpmo.json), [InternVLA base](evidence/weights/internvla_base.json), and [InternVLA Place_Markpen fine-tune](evidence/weights/internvla_place_markpen.json). The required InternVLA Cosmos encoder/decoder and Qwen3-VL processor files were downloaded separately. Existing Spark-X2.5 4B and 1.7B INT8, Qwen3-TTS, Qwen3.8 FP8 and Qwen3.8 NVFP4 artifacts covered those model families. Optional official Spark 1.7B BF16 and Qwen3.8-27B BF16 transfers remain paused; they are additional artifact variants, not replacements for the present family weights. InternVLA source checkpoints carry a CC BY-NC-SA 4.0 license; the current download is for local research validation. -The pinned MiniCPM-o checkpoint (`openbmb/MiniCPM-o-4_5`, `503e754207c94da6bb26850b4469f367c9ea3582`) has four weight shards totaling 18.74 GB (decimal) within a 20.05 GB repository. InternVLA base (`InternRobotics/InternVLA-A1-3B`, `08cf716d413aa8208a34f346cd8824e6ff901205`) and Place_Markpen fine-tune (`Jia-Zeng/InternVLA-A1-3B-FineTuned-Place_Markpen`, `0a557c6a503e6545b369bff2f34c76a410bbd190`) each have a 6.72 GB weight file. Their partial Xet files are **not** complete artifacts. MiniCPM-o's small configuration and processor files did finish; offline `AutoConfig` and `AutoProcessor` construction passed against the local path. This is a dependency preflight, not a weight load or E2E run. The large weight transfers have been throttled by the Hugging Face data path and remain in progress. +The pinned MiniCPM-o checkpoint (`openbmb/MiniCPM-o-4_5`, `503e754207c94da6bb26850b4469f367c9ea3582`) has four weight shards totaling 18.74 GB (decimal). InternVLA base (`InternRobotics/InternVLA-A1-3B`, `08cf716d413aa8208a34f346cd8824e6ff901205`) and Place_Markpen fine-tune (`Jia-Zeng/InternVLA-A1-3B-FineTuned-Place_Markpen`, `0a557c6a503e6545b369bff2f34c76a410bbd190`) each have a 6.72 GB weight file. Checkpoint integrity is a prerequisite, not pipeline qualification. + +InternVLA's real-weight synthetic probe uses [probe_internvla_actions.py](../../probe_internvla_actions.py) and the public `DiffusionRequestBatch` boundary with `strict_load=True`. The raw [JSON](evidence/internvla/internvla_finetune_synthetic.json) and [log](evidence/internvla/internvla_finetune_synthetic.log) record a 36.394 s startup, 1.222 s synchronized forward and 6,683,068,416 bytes of PyTorch CUDA peak allocation during the measured forward. This uses Transformers 5.14.1, vLLM 0.29.0, PyTorch 2.13.0+cu130 and BF16 policy weights on WSL/RTX 5090 Laptop (driver 610.71). Output actions are float32. The inputs are synthetic zeros, so neither task behavior nor action semantics are established. + +MiniCPM-o used the actual three-stage Omni pipeline, real checkpoint and [constrained deploy profile](evidence/minicpmo/minicpmo_24gb_offline.yaml) on the same WSL/RTX 5090 Laptop, with vLLM 0.29.0, Transformers 5.14.1, BF16, eager execution and `VLLM_USE_FLASHINFER_SAMPLER=0` (no CUDA toolkit is present for FlashInfer JIT). The profile limits model length, multimodal inputs and concurrency, and explicitly offloads 5 GiB of thinker weights to host RAM; it does not qualify the stock full-capacity profile. The [raw log](evidence/minicpmo/mini_fixed_e2e.log), [text and token IDs](evidence/minicpmo/0_2c17288b-c543-4aaa-9a6a-e661ab14c97b.txt) and [WAV](evidence/minicpmo/output_0_2c17288b-c543-4aaa-9a6a-e661ab14c97b.wav) record 182.47 s engine startup and 20.53 s for the single measured prompt. The WAV has 124,800 mono PCM16 samples at 24 kHz (5.2 s), 124,579 nonzero samples, peak absolute amplitude 18,852 and RMS 3,430.39. There is no ASR or listening check, so matching speech content is unverified. + +The earlier [three-stage run](evidence/minicpmo/mini_template.log) and [text-only run](evidence/minicpmo/mini_text_only.log) each emitted repeated punctuation. A [one-stage thinker probe](../../probe_minicpmo_thinker.py) isolated zero logits during real request prefill: the Omni runner passed MiniCPM-o its allocated embedding buffer before populating it, and MiniCPM-o treated that buffer as precomputed input. The runner now marks only actually populated embeddings; MiniCPM-o computes token embeddings otherwise. The [repaired thinker log](evidence/minicpmo/mini_thinker_fixed.log) and the three-stage result above show coherent text. The default profile's cache-admission failure and intermediate YAML/import/parameter failures remain in the other `evidence/minicpmo/mini_*.log` files; the fixed result does not erase those constraints. The other rows still need actual local devices, a matching complete backend/artifact, memory admission, and model-specific quality and profiling. In particular, no ADB device is attached, native Windows CPU attention operations are missing from the installed extension, AMD iGPU/NPU routes lack a verified stateful whole-model deployment, and there is no qualified joint CPU+iGPU+NPU execution plan. AI Hub component results remain component evidence. -For interrupted transfers, [download_pending_weights.py](../../download_pending_weights.py) resumes each pinned repository and verifies the SHA-256 of every safetensors file against Hugging Face metadata. Its per-checkpoint JSON status and logs live under `models/.weight_download_status/` outside Git. A status of `verified` means only that the weights are complete; it does not qualify any inference path. Detached local resume jobs were started for MiniCPM-o and both InternVLA checkpoints while their interactive transfers continue. +For interrupted transfers, [download_pending_weights.py](../../download_pending_weights.py) resumes each pinned repository and verifies the SHA-256 of every safetensors file against Hugging Face metadata. Its local logs live under `models/.weight_download_status/` outside Git; the verified manifests are copied into `evidence/weights/`. A status of `verified` means only that the weights are complete; it does not qualify any inference path. diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/internvla/internvla_finetune_synthetic.json b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/internvla/internvla_finetune_synthetic.json new file mode 100644 index 000000000..db8cf5667 --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/internvla/internvla_finetune_synthetic.json @@ -0,0 +1,27 @@ +{ + "scope": "real checkpoint, synthetic zero observations and noise; no task-quality claim", + "model_dir": "/home/zhout/project/edge_infer/models/InternVLA-A1-3B-FT-Place_Markpen", + "runtime_mode": "real_checkpoint_loaded", + "device": "cuda", + "dtype": "torch.float32", + "action_shape": [ + 1, + 50, + 32 + ], + "finite": true, + "action_sha256_float32": "71ddd577e166f417639dd09f8cdaeef5a1bc91a6152c53672542504328675dd6", + "first_action_prefix": [ + 0.02230919525027275, + -0.033485047519207, + 0.005473435390740633, + 0.02993217296898365, + -0.00445316918194294, + -0.01604151912033558, + 0.018104737624526024, + -0.09112925827503204 + ], + "startup_s": 36.394273725978564, + "forward_s": 1.222088642010931, + "cuda_peak_allocated_bytes": 6683068416 +} diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/internvla/internvla_finetune_synthetic.log b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/internvla/internvla_finetune_synthetic.log new file mode 100644 index 000000000..7d2403fed --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/internvla/internvla_finetune_synthetic.log @@ -0,0 +1,31 @@ +INFO 09-23 14:32:07 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:32:07 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:32:07 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +INFO 09-23 14:32:08 [pipeline_internvla_a1.py:164] Loading InternVLA-A1 weights from /home/zhout/project/edge_infer/models/InternVLA-A1-3B-FT-Place_Markpen +{ + "scope": "real checkpoint, synthetic zero observations and noise; no task-quality claim", + "model_dir": "/home/zhout/project/edge_infer/models/InternVLA-A1-3B-FT-Place_Markpen", + "runtime_mode": "real_checkpoint_loaded", + "device": "cuda", + "dtype": "torch.float32", + "action_shape": [ + 1, + 50, + 32 + ], + "finite": true, + "action_sha256_float32": "71ddd577e166f417639dd09f8cdaeef5a1bc91a6152c53672542504328675dd6", + "first_action_prefix": [ + 0.02230919525027275, + -0.033485047519207, + 0.005473435390740633, + 0.02993217296898365, + -0.00445316918194294, + -0.01604151912033558, + 0.018104737624526024, + -0.09112925827503204 + ], + "startup_s": 36.394273725978564, + "forward_s": 1.222088642010931, + "cuda_peak_allocated_bytes": 6683068416 +} diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/0_2c17288b-c543-4aaa-9a6a-e661ab14c97b.txt b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/0_2c17288b-c543-4aaa-9a6a-e661ab14c97b.txt new file mode 100644 index 000000000..1e65f7dd2 --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/0_2c17288b-c543-4aaa-9a6a-e661ab14c97b.txt @@ -0,0 +1,15 @@ +Prompt: +<|im_start|>system +You are MiniCPM-o, a helpful multimodal assistant that can understand images, audio and video, and respond in text and speech.<|im_end|> +<|im_start|>user +Say hello, then introduce vLLM-Omni in one sentence.<|im_end|> +<|im_start|>assistant + + + + +<|tts_bos|> +vllm_text_output: +Hello, I am vLLM-Omni, a large multimodal model capable of understanding and generating text, images, audio, and video. +vllm_token_ids: +[9707, 11, 358, 1079, 348, 4086, 44, 23620, 76, 7751, 11, 264, 3460, 79049, 57597, 1614, 12875, 315, 8660, 323, 23163, 1467, 11, 5335, 11, 7699, 11, 323, 2766, 13, 151704, 151645] diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/0_8a6e5016-03c2-4673-a2e5-c79b90f62ccc.txt b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/0_8a6e5016-03c2-4673-a2e5-c79b90f62ccc.txt new file mode 100644 index 000000000..b388ee3af --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/0_8a6e5016-03c2-4673-a2e5-c79b90f62ccc.txt @@ -0,0 +1,13 @@ +Prompt: +<|im_start|>system +You are MiniCPM-o, a helpful multimodal assistant that can understand images, audio and video, and respond in text and speech.<|im_end|> +<|im_start|>user +Say hello, then introduce vLLM-Omni in one sentence.<|im_end|> +<|im_start|>assistant + + + + +<|tts_bos|> +vllm_text_output: +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/0_de28fb29-b5a4-4f2c-b908-a0bcacfe063c.txt b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/0_de28fb29-b5a4-4f2c-b908-a0bcacfe063c.txt new file mode 100644 index 000000000..0e98043dc --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/0_de28fb29-b5a4-4f2c-b908-a0bcacfe063c.txt @@ -0,0 +1,13 @@ +Prompt: +<|im_start|>system +You are MiniCPM-o, a helpful multimodal assistant that can understand images, audio and video, and respond in text and speech.<|im_end|> +<|im_start|>user +Say hello, then introduce vLLM-Omni in one sentence.<|im_end|> +<|im_start|>assistant + + + + + +vllm_text_output: +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_constrained.log b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_constrained.log new file mode 100644 index 000000000..9d939adef --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_constrained.log @@ -0,0 +1,591 @@ +INFO 09-23 14:09:18 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:09:18 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:09:18 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +==================== + vllm version: 0.29.0 + ==================== +INFO 09-23 14:09:19 [omni_base.py:216] [Omni] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:09:19 [async_omni_engine.py:172] [AsyncOmniEngine] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:09:19 [async_omni_engine.py:290] [AsyncOmniEngine] Launching Orchestrator thread with 3 stages +INFO 09-23 14:09:19 [stage_init_utils.py:768] [stage_init] Set VLLM_WORKER_MULTIPROC_METHOD=spawn +INFO 09-23 14:09:19 [initialization.py:356] Loaded OmniTransferConfig with 1 connector configurations +WARNING 09-23 14:09:19 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:09:19 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:09:19 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:09:19 [model.py:2021] Using max model len 2048 +WARNING 09-23 14:09:19 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:09:19 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +INFO 09-23 14:09:19 [model.py:887] Disabled mm_prefix attention mode because multimodal inputs are configuration-disabled. Attention backends without mm_prefix support may now be selected. +INFO 09-23 14:09:19 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=2048. +WARNING 09-23 14:09:19 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +WARNING 09-23 14:09:19 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +INFO 09-23 14:09:19 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:09:19 [vllm.py:1585] Cudagraph is disabled under eager mode +INFO 09-23 14:09:19 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +WARNING 09-23 14:09:19 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:09:19 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:09:20 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:09:20 [model.py:2021] Using max model len 512 +WARNING 09-23 14:09:20 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:09:20 [model.py:2021] Using max model len 512 +INFO 09-23 14:09:20 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=512. +INFO 09-23 14:09:20 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +WARNING 09-23 14:09:20 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:09:20 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:09:20 [model.py:684] Resolved architecture: MiniCPMO45Code2Wav +INFO 09-23 14:09:20 [model.py:2021] Using max model len 4096 +WARNING 09-23 14:09:20 [arg_utils.py:2780] This model does not officially support disabling chunked prefill. Disabling this manually may cause the engine to crash or produce incorrect outputs. +INFO 09-23 14:09:20 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:09:20 [stage_runtime.py:853] [stage_init] Stage-0 set runtime devices: 0 +INFO 09-23 14:09:28 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:09:28 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:09:28 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:29 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, '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': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:30 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:30 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_08cd396f437643dab40d35da8325dbc9 backend=nccl +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:30 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:30 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:30 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:31 [base.py:138] Offloader set to UVAOffloader +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:31 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:31 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:31 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:31 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:31 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:31 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:31 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:31 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:31 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:31 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:32 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:32 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:38 [uva.py:65] Total CPU offloaded parameters: 5.03 +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:38 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 22.31 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:38 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage0_replica0 pid=4150071) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:09:58 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:09:58 [gpu_worker.py:860] Free memory on device (22.58/23.89 GiB) on startup. Desired GPU memory utilization is (0.58, 13.86 GiB). Actual usage is 11.01 GiB for consumed memory (weights + non-torch), 0.58 GiB for peak activation, and 0.0 GiB for CUDAGraph memory. Replace gpu_memory_utilization config with `--kv-cache-memory=2281984123` (2.13 GiB) to fit into requested memory, or `--kv-cache-memory=11646516224` (10.85 GiB) to fully utilize gpu memory. Current kv cache memory in use is 2.36 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:10:00 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:10:00 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:10:00 [core.py:368] init engine (profile, create kv cache, warmup model) took 6.27 s +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:10:00 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage0_replica0 pid=4150071) WARNING 09-23 14:10:00 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:10:00 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:10:00 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage0_replica0 pid=4150071) INFO 09-23 14:10:00 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:10:00 [stage_runtime.py:943] [StageRuntime] Stage 0 engine startup completed +INFO 09-23 14:10:00 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-0 [rep-0] initializing EngineCore +INFO 09-23 14:10:00 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-0 [rep-0] EngineCore running +INFO 09-23 14:10:00 [stage_runtime.py:958] [StageRuntime] Stage 0 initialized +INFO 09-23 14:10:00 [stage_runtime.py:853] [stage_init] Stage-1 set runtime devices: 0 +INFO 09-23 14:10:13 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:10:13 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:10:13 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:14 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=512, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [512], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:17 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_c63bd1bf3bee408dbec7aa955dc791f4 backend=nccl +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:17 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:17 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:17 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage1_replica0 pid=4150287) [transformers] `MiniCPMOProcessor` defines `image_processor_class = 'AutoImageProcessor'`, which is deprecated. Register the correct mapping in `AutoImageProcessor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4150287) [transformers] Requested torchvision backend is not available. Falling back to pil backend. +(StageEngineCoreProc_stage1_replica0 pid=4150287) [transformers] `MiniCPMOProcessor` defines `feature_extractor_class = 'WhisperFeatureExtractor'`, which is deprecated. Register the correct mapping in `AutoFeatureExtractor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4150287) [transformers] Image processor MiniCPMVImageProcessor: kwargs ['max_slice_nums'] were applied for backward compatibility. To avoid this warning, add them to valid_kwargs: create a custom TypedDict extending ImagesKwargs with these keys and set it as the `valid_kwargs` class attribute. +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:29 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:29 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:29 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:29 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:29 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:29 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:29 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:29 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:29 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:29 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:30 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:30 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:30 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 20.56 GiB. +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:30 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage1_replica0 pid=4150287) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:36 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:36 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:37 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:37 [core.py:368] init engine (profile, create kv cache, warmup model) took 3.32 s +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:37 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage1_replica0 pid=4150287) WARNING 09-23 14:10:37 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:37 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:37 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4150287) INFO 09-23 14:10:37 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:10:37 [stage_runtime.py:943] [StageRuntime] Stage 1 engine startup completed +INFO 09-23 14:10:37 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-1 [rep-0] initializing EngineCore +INFO 09-23 14:10:37 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-1 [rep-0] EngineCore running +INFO 09-23 14:10:37 [stage_runtime.py:958] [StageRuntime] Stage 1 initialized +INFO 09-23 14:10:37 [stage_runtime.py:853] [stage_init] Stage-2 set runtime devices: 0 +INFO 09-23 14:10:47 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:10:47 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:10:47 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage2_replica0 pid=4150641) INFO 09-23 14:10:48 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=False, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [4096], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage2_replica0 pid=4150641) INFO 09-23 14:10:48 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_2341b06c0ccd4c07977ac69ed1b79b60 backend=nccl +(StageEngineCoreProc_stage2_replica0 pid=4150641) INFO 09-23 14:10:48 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage2_replica0 pid=4150641) WARNING 09-23 14:10:49 [gpu_generation_worker.py:103] OMNI GPUGenerationWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4150641) INFO 09-23 14:10:49 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage2_replica0 pid=4150641) INFO 09-23 14:10:49 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4150641) WARNING 09-23 14:10:49 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4150641) WARNING 09-23 14:10:49 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4150641) INFO 09-23 14:10:49 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage2_replica0 pid=4150641) INFO 09-23 14:10:49 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 19.26 GiB. +(StageEngineCoreProc_stage2_replica0 pid=4150641) INFO 09-23 14:10:49 [weight_utils.py:893] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre) and the checkpoint size (17.46 GiB) exceeds 90% of available RAM (19.26 GiB). +(StageEngineCoreProc_stage2_replica0 pid=4150641) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00 + main(args) + File "/home/zhout/project/edge_infer/vllm-omni-edge/examples/offline_inference/minicpmo/end2end.py", line 286, in main + omni = Omni(**omni_kwargs) + ^^^^^^^^^^^^^^^^^^^ + File "/home/zhout/project/edge_infer/vllm-omni-edge/vllm_omni/entrypoints/omni_base.py", line 223, in __init__ + self.engine = AsyncOmniEngine( + ^^^^^^^^^^^^^^^^ + File "/home/zhout/project/edge_infer/vllm-omni-edge/vllm_omni/engine/async_omni_engine.py", line 305, in __init__ + self._wait_for_orchestrator_init(startup_future, startup_timeout) + File "/home/zhout/project/edge_infer/vllm-omni-edge/vllm_omni/engine/async_omni_engine.py", line 539, in _wait_for_orchestrator_init + startup_future.result( + File "/home/zhout/.local/share/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/python3.12/concurrent/futures/_base.py", line 456, in result + return self.__get_result() + ^^^^^^^^^^^^^^^^^^^ + File "/home/zhout/.local/share/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result + raise self._exception +RuntimeError: Orchestrator initialization failed: Engine core initialization failed. See root cause above. Failed core proc(s): {} diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_constrained2.log b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_constrained2.log new file mode 100644 index 000000000..e2a960926 --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_constrained2.log @@ -0,0 +1,282 @@ +INFO 09-23 14:13:16 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:13:16 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:13:16 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +==================== + vllm version: 0.29.0 + ==================== +INFO 09-23 14:13:17 [omni_base.py:216] [Omni] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:13:17 [async_omni_engine.py:172] [AsyncOmniEngine] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:13:17 [async_omni_engine.py:290] [AsyncOmniEngine] Launching Orchestrator thread with 3 stages +INFO 09-23 14:13:17 [stage_init_utils.py:768] [stage_init] Set VLLM_WORKER_MULTIPROC_METHOD=spawn +INFO 09-23 14:13:17 [initialization.py:356] Loaded OmniTransferConfig with 1 connector configurations +WARNING 09-23 14:13:17 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:13:17 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:13:17 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:13:17 [model.py:2021] Using max model len 2048 +WARNING 09-23 14:13:17 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:13:17 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +INFO 09-23 14:13:17 [model.py:887] Disabled mm_prefix attention mode because multimodal inputs are configuration-disabled. Attention backends without mm_prefix support may now be selected. +INFO 09-23 14:13:17 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=2048. +WARNING 09-23 14:13:17 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +WARNING 09-23 14:13:17 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +INFO 09-23 14:13:17 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:13:17 [vllm.py:1585] Cudagraph is disabled under eager mode +INFO 09-23 14:13:18 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +WARNING 09-23 14:13:18 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:13:18 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:13:18 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:13:18 [model.py:2021] Using max model len 512 +WARNING 09-23 14:13:18 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:13:18 [model.py:2021] Using max model len 512 +INFO 09-23 14:13:18 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=512. +INFO 09-23 14:13:18 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +WARNING 09-23 14:13:18 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:13:18 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:13:18 [model.py:684] Resolved architecture: MiniCPMO45Code2Wav +INFO 09-23 14:13:18 [model.py:2021] Using max model len 4096 +WARNING 09-23 14:13:18 [arg_utils.py:2780] This model does not officially support disabling chunked prefill. Disabling this manually may cause the engine to crash or produce incorrect outputs. +INFO 09-23 14:13:18 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:13:18 [stage_runtime.py:853] [stage_init] Stage-0 set runtime devices: 0 +INFO 09-23 14:13:26 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:13:26 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:13:26 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:27 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, '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': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:28 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:28 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_f09fe6fcf4b94a49b32f8078cee56d0c backend=nccl +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:28 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:28 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:28 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:28 [base.py:138] Offloader set to UVAOffloader +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:28 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:28 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:28 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:29 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:29 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:29 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:29 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:29 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:29 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:29 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:30 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:30 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:34 [uva.py:65] Total CPU offloaded parameters: 5.03 +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:34 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 22.37 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:34 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage0_replica0 pid=4151285) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:52 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:52 [gpu_worker.py:860] Free memory on device (22.58/23.89 GiB) on startup. Desired GPU memory utilization is (0.58, 13.86 GiB). Actual usage is 11.01 GiB for consumed memory (weights + non-torch), 0.58 GiB for peak activation, and 0.0 GiB for CUDAGraph memory. Replace gpu_memory_utilization config with `--kv-cache-memory=2281984123` (2.13 GiB) to fit into requested memory, or `--kv-cache-memory=11646516224` (10.85 GiB) to fully utilize gpu memory. Current kv cache memory in use is 2.36 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:53 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:53 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:53 [core.py:368] init engine (profile, create kv cache, warmup model) took 6.27 s +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:53 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage0_replica0 pid=4151285) WARNING 09-23 14:13:53 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:53 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:53 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage0_replica0 pid=4151285) INFO 09-23 14:13:53 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:13:53 [stage_runtime.py:943] [StageRuntime] Stage 0 engine startup completed +INFO 09-23 14:13:53 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-0 [rep-0] initializing EngineCore +INFO 09-23 14:13:54 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-0 [rep-0] EngineCore running +INFO 09-23 14:13:54 [stage_runtime.py:958] [StageRuntime] Stage 0 initialized +INFO 09-23 14:13:54 [stage_runtime.py:853] [stage_init] Stage-1 set runtime devices: 0 +INFO 09-23 14:14:02 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:14:02 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:14:02 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:03 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=512, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [512], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:04 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_d7d9ead30b1849fab3acd3b7df633d7f backend=nccl +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:04 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:04 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:04 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage1_replica0 pid=4151683) [transformers] `MiniCPMOProcessor` defines `image_processor_class = 'AutoImageProcessor'`, which is deprecated. Register the correct mapping in `AutoImageProcessor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4151683) [transformers] Requested torchvision backend is not available. Falling back to pil backend. +(StageEngineCoreProc_stage1_replica0 pid=4151683) [transformers] `MiniCPMOProcessor` defines `feature_extractor_class = 'WhisperFeatureExtractor'`, which is deprecated. Register the correct mapping in `AutoFeatureExtractor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4151683) [transformers] Image processor MiniCPMVImageProcessor: kwargs ['max_slice_nums'] were applied for backward compatibility. To avoid this warning, add them to valid_kwargs: create a custom TypedDict extending ImagesKwargs with these keys and set it as the `valid_kwargs` class attribute. +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:14 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:14 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:14 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:14 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:15 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:15 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:15 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:15 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:15 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:15 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:16 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:16 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:16 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 20.69 GiB. +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:16 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage1_replica0 pid=4151683) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:20 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:21 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:21 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:21 [core.py:368] init engine (profile, create kv cache, warmup model) took 2.89 s +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:21 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage1_replica0 pid=4151683) WARNING 09-23 14:14:21 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:21 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:21 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4151683) INFO 09-23 14:14:21 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:14:21 [stage_runtime.py:943] [StageRuntime] Stage 1 engine startup completed +INFO 09-23 14:14:21 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-1 [rep-0] initializing EngineCore +INFO 09-23 14:14:21 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-1 [rep-0] EngineCore running +INFO 09-23 14:14:21 [stage_runtime.py:958] [StageRuntime] Stage 1 initialized +INFO 09-23 14:14:21 [stage_runtime.py:853] [stage_init] Stage-2 set runtime devices: 0 +INFO 09-23 14:14:30 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:14:31 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:14:31 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:31 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=False, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [4096], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:32 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_ac6da76b61ed4f85b86393c443498491 backend=nccl +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:32 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:32 [gpu_generation_worker.py:103] OMNI GPUGenerationWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:32 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:32 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:32 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:32 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:32 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:33 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 19.02 GiB. +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:33 [weight_utils.py:893] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre) and the checkpoint size (17.46 GiB) exceeds 90% of available RAM (19.02 GiB). +(StageEngineCoreProc_stage2_replica0 pid=4151929) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:48 [gpu_generation_model_runner.py:558] Dummy sampler run is not implemented for generation model +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:49 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:49 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:49 [core.py:368] init engine (profile, create kv cache, warmup model) took 2.34 s +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:50 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_generation_scheduler.OmniGenerationScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:50 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:50 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:50 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:50 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage2_replica0 pid=4151929) WARNING 09-23 14:14:50 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +INFO 09-23 14:14:50 [stage_runtime.py:943] [StageRuntime] Stage 2 engine startup completed +INFO 09-23 14:14:50 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-2 [rep-0] initializing EngineCore +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:50 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:50 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage2_replica0 pid=4151929) INFO 09-23 14:14:50 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +INFO 09-23 14:14:50 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-2 [rep-0] EngineCore running +INFO 09-23 14:14:50 [stage_runtime.py:958] [StageRuntime] Stage 2 initialized +INFO 09-23 14:14:52 [orchestrator.py:604] [Orchestrator] Starting event loop +INFO 09-23 14:14:52 [async_omni_engine.py:323] [AsyncOmniEngine] Orchestrator ready with 3 stages +INFO 09-23 14:14:52 [omni_base.py:235] [Omni] AsyncOmniEngine initialized in 94.69 seconds +INFO 09-23 14:14:52 [omni_base.py:255] [Omni] Initialized with 3 stages for model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +Traceback (most recent call last): + File "/home/zhout/project/edge_infer/vllm-omni-edge/examples/offline_inference/minicpmo/end2end.py", line 537, in + main(args) + File "/home/zhout/project/edge_infer/vllm-omni-edge/examples/offline_inference/minicpmo/end2end.py", line 328, in main + omni_generator = omni.generate(prompts, sampling_params_list, py_generator=args.py_generator) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/zhout/project/edge_infer/vllm-omni-edge/vllm_omni/entrypoints/omni.py", line 86, in generate + sampling_params_list = self.resolve_sampling_params_list(sampling_params_list) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/zhout/project/edge_infer/vllm-omni-edge/vllm_omni/entrypoints/omni_base.py", line 365, in resolve_sampling_params_list + raise ValueError(f"Expected {self.num_stages} sampling params, got {len(normalized)}") +ValueError: Expected 3 sampling params, got 2 +INFO 09-23 14:14:52 [async_omni_engine.py:1807] [AsyncOmniEngine] Shutting down Orchestrator +INFO 09-23 14:14:52 [orchestrator.py:705] [Orchestrator] Received shutdown signal +INFO 09-23 14:14:52 [orchestrator.py:3092] [Orchestrator] Shutting down all 3 client(s) +INFO 09-23 14:14:52 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 14:14:52 [core_client.py:691] [shutdown] MPClient: stopping engine manager +INFO 09-23 14:14:52 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage0_replica0 +INFO 09-23 14:14:56 [core_client.py:693] [shutdown] MPClient: engine manager stopped +INFO 09-23 14:14:56 [core_client.py:694] [shutdown] MPClient: cleaning up background resources +INFO 09-23 14:14:56 [core_client.py:696] [shutdown] MPClient: complete +INFO 09-23 14:14:56 [stage_pool.py:1354] [StagePool] Stage 0 replica 0 shut down +INFO 09-23 14:14:56 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 14:14:56 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage1_replica0 +INFO 09-23 14:15:00 [stage_pool.py:1354] [StagePool] Stage 1 replica 0 shut down +INFO 09-23 14:15:00 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 14:15:00 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage2_replica0 +INFO 09-23 14:15:04 [stage_pool.py:1354] [StagePool] Stage 2 replica 0 shut down diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_constrained3.log b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_constrained3.log new file mode 100644 index 000000000..2907a05ab --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_constrained3.log @@ -0,0 +1,289 @@ +INFO 09-23 14:15:50 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:15:50 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:15:50 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +==================== + vllm version: 0.29.0 + ==================== +INFO 09-23 14:15:51 [omni_base.py:216] [Omni] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:15:51 [async_omni_engine.py:172] [AsyncOmniEngine] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:15:51 [async_omni_engine.py:290] [AsyncOmniEngine] Launching Orchestrator thread with 3 stages +INFO 09-23 14:15:51 [stage_init_utils.py:768] [stage_init] Set VLLM_WORKER_MULTIPROC_METHOD=spawn +INFO 09-23 14:15:51 [initialization.py:356] Loaded OmniTransferConfig with 1 connector configurations +WARNING 09-23 14:15:51 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:15:51 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:15:51 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:15:51 [model.py:2021] Using max model len 2048 +WARNING 09-23 14:15:51 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:15:52 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +INFO 09-23 14:15:52 [model.py:887] Disabled mm_prefix attention mode because multimodal inputs are configuration-disabled. Attention backends without mm_prefix support may now be selected. +INFO 09-23 14:15:52 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=2048. +WARNING 09-23 14:15:52 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +WARNING 09-23 14:15:52 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +INFO 09-23 14:15:52 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:15:52 [vllm.py:1585] Cudagraph is disabled under eager mode +INFO 09-23 14:15:52 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +WARNING 09-23 14:15:52 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:15:52 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:15:52 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:15:52 [model.py:2021] Using max model len 512 +WARNING 09-23 14:15:52 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:15:52 [model.py:2021] Using max model len 512 +INFO 09-23 14:15:52 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=512. +INFO 09-23 14:15:52 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +WARNING 09-23 14:15:52 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:15:52 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:15:52 [model.py:684] Resolved architecture: MiniCPMO45Code2Wav +INFO 09-23 14:15:52 [model.py:2021] Using max model len 4096 +WARNING 09-23 14:15:52 [arg_utils.py:2780] This model does not officially support disabling chunked prefill. Disabling this manually may cause the engine to crash or produce incorrect outputs. +INFO 09-23 14:15:52 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:15:52 [stage_runtime.py:853] [stage_init] Stage-0 set runtime devices: 0 +INFO 09-23 14:15:59 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:15:59 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:15:59 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:00 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, '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': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:01 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:01 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_fac8d3d9be8c43dda9c20b025e5d2604 backend=nccl +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:01 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:01 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:01 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:01 [base.py:138] Offloader set to UVAOffloader +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:01 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:01 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:01 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:02 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:02 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:02 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:02 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:02 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:02 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:02 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:02 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:02 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:07 [uva.py:65] Total CPU offloaded parameters: 5.03 +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:07 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 22.46 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:07 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage0_replica0 pid=4152525) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:22 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:22 [gpu_worker.py:860] Free memory on device (22.58/23.89 GiB) on startup. Desired GPU memory utilization is (0.58, 13.86 GiB). Actual usage is 11.01 GiB for consumed memory (weights + non-torch), 0.58 GiB for peak activation, and 0.0 GiB for CUDAGraph memory. Replace gpu_memory_utilization config with `--kv-cache-memory=2281984123` (2.13 GiB) to fit into requested memory, or `--kv-cache-memory=11646516224` (10.85 GiB) to fully utilize gpu memory. Current kv cache memory in use is 2.36 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:23 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:24 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:24 [core.py:368] init engine (profile, create kv cache, warmup model) took 5.63 s +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:24 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage0_replica0 pid=4152525) WARNING 09-23 14:16:24 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:24 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:24 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage0_replica0 pid=4152525) INFO 09-23 14:16:24 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:16:24 [stage_runtime.py:943] [StageRuntime] Stage 0 engine startup completed +INFO 09-23 14:16:24 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-0 [rep-0] initializing EngineCore +INFO 09-23 14:16:24 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-0 [rep-0] EngineCore running +INFO 09-23 14:16:24 [stage_runtime.py:958] [StageRuntime] Stage 0 initialized +INFO 09-23 14:16:24 [stage_runtime.py:853] [stage_init] Stage-1 set runtime devices: 0 +INFO 09-23 14:16:31 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:16:31 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:16:31 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:32 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=512, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [512], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:34 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_5fabba368db344b7979baf05e10c877f backend=nccl +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:34 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:34 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:34 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage1_replica0 pid=4152819) [transformers] `MiniCPMOProcessor` defines `image_processor_class = 'AutoImageProcessor'`, which is deprecated. Register the correct mapping in `AutoImageProcessor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4152819) [transformers] Requested torchvision backend is not available. Falling back to pil backend. +(StageEngineCoreProc_stage1_replica0 pid=4152819) [transformers] `MiniCPMOProcessor` defines `feature_extractor_class = 'WhisperFeatureExtractor'`, which is deprecated. Register the correct mapping in `AutoFeatureExtractor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4152819) [transformers] Image processor MiniCPMVImageProcessor: kwargs ['max_slice_nums'] were applied for backward compatibility. To avoid this warning, add them to valid_kwargs: create a custom TypedDict extending ImagesKwargs with these keys and set it as the `valid_kwargs` class attribute. +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:44 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:44 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:44 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:44 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:45 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:45 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:45 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:45 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:45 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:45 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:46 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:46 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:46 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 20.74 GiB. +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:46 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage1_replica0 pid=4152819) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:49 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:50 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:50 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:50 [core.py:368] init engine (profile, create kv cache, warmup model) took 2.83 s +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:50 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage1_replica0 pid=4152819) WARNING 09-23 14:16:50 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:50 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:50 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4152819) INFO 09-23 14:16:50 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:16:50 [stage_runtime.py:943] [StageRuntime] Stage 1 engine startup completed +INFO 09-23 14:16:50 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-1 [rep-0] initializing EngineCore +INFO 09-23 14:16:51 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-1 [rep-0] EngineCore running +INFO 09-23 14:16:51 [stage_runtime.py:958] [StageRuntime] Stage 1 initialized +INFO 09-23 14:16:51 [stage_runtime.py:853] [stage_init] Stage-2 set runtime devices: 0 +INFO 09-23 14:17:00 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:17:00 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:17:00 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:01 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=False, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [4096], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:01 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_ee4ef51aa7a04a1ea64dcd3bc362a480 backend=nccl +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:01 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:01 [gpu_generation_worker.py:103] OMNI GPUGenerationWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:01 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:01 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:01 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:01 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:01 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:02 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 19.30 GiB. +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:02 [weight_utils.py:893] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre) and the checkpoint size (17.46 GiB) exceeds 90% of available RAM (19.30 GiB). +(StageEngineCoreProc_stage2_replica0 pid=4153030) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:14 [gpu_generation_model_runner.py:558] Dummy sampler run is not implemented for generation model +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:15 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:15 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:15 [core.py:368] init engine (profile, create kv cache, warmup model) took 2.51 s +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:16 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_generation_scheduler.OmniGenerationScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:16 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:16 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:16 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:16 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage2_replica0 pid=4153030) WARNING 09-23 14:17:16 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:16 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:16 [vllm.py:1585] Cudagraph is disabled under eager mode +INFO 09-23 14:17:16 [stage_runtime.py:943] [StageRuntime] Stage 2 engine startup completed +INFO 09-23 14:17:16 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-2 [rep-0] initializing EngineCore +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:17:16 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +INFO 09-23 14:17:16 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-2 [rep-0] EngineCore running +INFO 09-23 14:17:16 [stage_runtime.py:958] [StageRuntime] Stage 2 initialized +INFO 09-23 14:17:18 [orchestrator.py:604] [Orchestrator] Starting event loop +INFO 09-23 14:17:18 [async_omni_engine.py:323] [AsyncOmniEngine] Orchestrator ready with 3 stages +INFO 09-23 14:17:18 [omni_base.py:235] [Omni] AsyncOmniEngine initialized in 86.49 seconds +INFO 09-23 14:17:18 [omni_base.py:255] [Omni] Initialized with 3 stages for model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +WARNING 09-23 14:17:18 [input_processor.py:315] Passing raw prompts to InputProcessor is deprecated and will be removed in the future. You should instead pass the outputs of Renderer.render_cmpl() or Renderer.render_chat(). + Processed prompts: 0%| | 0/1 [00:00._kernel. This causes a latency spike; consider extending warmup to cover this shape/config. +(StageEngineCoreProc_stage2_replica0 pid=4153030) INFO 09-23 14:18:23 [cuda_graph_wrapper.py:98] Captured HiFT CUDA Graph for shape (1, 18, 3840) + Processed prompts: 100%|██████████| 1/1 [01:05<00:00, 65.81s/it] Processed prompts: 100%|██████████| 1/1 [01:05<00:00, 65.81s/it] +query type: text +use_tts (tts_bos): True +Request ID: 0_ebbebf11-419e-4980-9dca-1006ac3ccd5a, Text saved to /home/zhout/project/edge_infer/analysis/experiments/e2e_recovery_20260923/mini_output_constrained/0_ebbebf11-419e-4980-9dca-1006ac3ccd5a.txt +Request ID: 0_ebbebf11-419e-4980-9dca-1006ac3ccd5a, Saved audio to /home/zhout/project/edge_infer/analysis/experiments/e2e_recovery_20260923/mini_output_constrained/output_0_ebbebf11-419e-4980-9dca-1006ac3ccd5a.wav +INFO 09-23 14:18:23 [omni_base.py:781] [Omni] Shutting down +INFO 09-23 14:18:23 [async_omni_engine.py:1807] [AsyncOmniEngine] Shutting down Orchestrator +INFO 09-23 14:18:23 [orchestrator.py:705] [Orchestrator] Received shutdown signal +INFO 09-23 14:18:23 [orchestrator.py:3092] [Orchestrator] Shutting down all 3 client(s) +INFO 09-23 14:18:23 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 14:18:23 [core_client.py:691] [shutdown] MPClient: stopping engine manager +INFO 09-23 14:18:23 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage0_replica0 +INFO 09-23 14:18:29 [core_client.py:693] [shutdown] MPClient: engine manager stopped +INFO 09-23 14:18:29 [core_client.py:694] [shutdown] MPClient: cleaning up background resources +INFO 09-23 14:18:29 [core_client.py:696] [shutdown] MPClient: complete +INFO 09-23 14:18:29 [stage_pool.py:1354] [StagePool] Stage 0 replica 0 shut down +INFO 09-23 14:18:29 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 14:18:29 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage1_replica0 +INFO 09-23 14:18:33 [stage_pool.py:1354] [StagePool] Stage 1 replica 0 shut down +INFO 09-23 14:18:33 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 14:18:33 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage2_replica0 +INFO 09-23 14:18:37 [stage_pool.py:1354] [StagePool] Stage 2 replica 0 shut down +/home/zhout/.local/share/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/python3.12/multiprocessing/resource_tracker.py:279: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown + warnings.warn('resource_tracker: There appear to be %d ' diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_default.log b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_default.log new file mode 100644 index 000000000..03f99cb3a --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_default.log @@ -0,0 +1,315 @@ +INFO 09-23 14:06:30 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:06:30 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:06:30 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +==================== + vllm version: 0.29.0 + ==================== +INFO 09-23 14:06:31 [omni_base.py:216] [Omni] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:06:31 [async_omni_engine.py:172] [AsyncOmniEngine] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:06:31 [async_omni_engine.py:290] [AsyncOmniEngine] Launching Orchestrator thread with 3 stages +INFO 09-23 14:06:31 [stage_init_utils.py:768] [stage_init] Set VLLM_WORKER_MULTIPROC_METHOD=spawn +INFO 09-23 14:06:31 [initialization.py:356] Loaded OmniTransferConfig with 1 connector configurations +WARNING 09-23 14:06:31 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:06:31 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:06:31 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:06:31 [model.py:2021] Using max model len 40960 +WARNING 09-23 14:06:31 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:06:32 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=16384. +INFO 09-23 14:06:32 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']) +WARNING 09-23 14:06:32 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:06:32 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:06:32 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:06:32 [model.py:2021] Using max model len 4096 +WARNING 09-23 14:06:32 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:06:32 [model.py:2021] Using max model len 4096 +INFO 09-23 14:06:32 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=8192. +INFO 09-23 14:06:32 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']) +WARNING 09-23 14:06:32 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:06:32 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:06:32 [model.py:684] Resolved architecture: MiniCPMO45Code2Wav +WARNING 09-23 14:06:32 [model.py:2515] User-specified max_model_len (65536) is greater than the derived max_model_len (max_position_embeddings=40960.0 or model_max_length=None in model's config.json). VLLM_ALLOW_LONG_MAX_MODEL_LEN must be used with extreme caution. If the model uses relative position encoding (RoPE), positions exceeding derived_max_model_len lead to nan. If the model uses absolute position encoding, positions exceeding derived_max_model_len will cause a CUDA array out-of-bounds error. +INFO 09-23 14:06:32 [model.py:2021] Using max model len 65536 +WARNING 09-23 14:06:32 [arg_utils.py:2780] This model does not officially support disabling chunked prefill. Disabling this manually may cause the engine to crash or produce incorrect outputs. +WARNING 09-23 14:06:32 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +WARNING 09-23 14:06:32 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +INFO 09-23 14:06:32 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:06:32 [vllm.py:1585] Cudagraph is disabled under eager mode +INFO 09-23 14:06:32 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +INFO 09-23 14:06:32 [stage_runtime.py:853] [stage_init] Stage-0 set runtime devices: 0 +INFO 09-23 14:06:40 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:06:40 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:06:40 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:41 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=40960, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::qwen4_exp_compute_ple_ngram_ids', 'vllm::qwen4_exp_ple_short_conv', 'vllm::qwen4_exp_qsa_with_output', 'vllm::linear_attention', 'vllm::qwen_gdn_attention_core', 'vllm::qwen_gdn_attention_core_fused_norm_packed', 'vllm::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', 'vllm::hpc_rope_norm_forward', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [16384], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8], '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, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 8, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:42 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_8a215ee3ae104eaa974483b32508c610 backend=nccl +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:42 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage0_replica0 pid=4149560) WARNING 09-23 14:06:43 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:43 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage0_replica0 pid=4149560) [transformers] `MiniCPMOProcessor` defines `image_processor_class = 'AutoImageProcessor'`, which is deprecated. Register the correct mapping in `AutoImageProcessor` instead. +(StageEngineCoreProc_stage0_replica0 pid=4149560) [transformers] Requested torchvision backend is not available. Falling back to pil backend. +(StageEngineCoreProc_stage0_replica0 pid=4149560) [transformers] `MiniCPMOProcessor` defines `feature_extractor_class = 'WhisperFeatureExtractor'`, which is deprecated. Register the correct mapping in `AutoFeatureExtractor` instead. +(StageEngineCoreProc_stage0_replica0 pid=4149560) [transformers] Image processor MiniCPMVImageProcessor: kwargs ['max_slice_nums'] were applied for backward compatibility. To avoid this warning, add them to valid_kwargs: create a custom TypedDict extending ImagesKwargs with these keys and set it as the `valid_kwargs` class attribute. +(StageEngineCoreProc_stage0_replica0 pid=4149560) WARNING 09-23 14:06:53 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4149560) WARNING 09-23 14:06:53 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:53 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:54 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']) +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:54 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']) +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:54 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']) +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:55 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:55 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:55 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 26.66 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4149560) INFO 09-23 14:06:55 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage0_replica0 pid=4149560) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00 + main(args) + File "/home/zhout/project/edge_infer/vllm-omni-edge/examples/offline_inference/minicpmo/end2end.py", line 286, in main + omni = Omni(**omni_kwargs) + ^^^^^^^^^^^^^^^^^^^ + File "/home/zhout/project/edge_infer/vllm-omni-edge/vllm_omni/entrypoints/omni_base.py", line 223, in __init__ + self.engine = AsyncOmniEngine( + ^^^^^^^^^^^^^^^^ + File "/home/zhout/project/edge_infer/vllm-omni-edge/vllm_omni/engine/async_omni_engine.py", line 305, in __init__ + self._wait_for_orchestrator_init(startup_future, startup_timeout) + File "/home/zhout/project/edge_infer/vllm-omni-edge/vllm_omni/engine/async_omni_engine.py", line 539, in _wait_for_orchestrator_init + startup_future.result( + File "/home/zhout/.local/share/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/python3.12/concurrent/futures/_base.py", line 456, in result + return self.__get_result() + ^^^^^^^^^^^^^^^^^^^ + File "/home/zhout/.local/share/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result + raise self._exception +RuntimeError: Orchestrator initialization failed: Engine core initialization failed. See root cause above. Failed core proc(s): {} diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_fixed_e2e.log b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_fixed_e2e.log new file mode 100644 index 000000000..dff8a8dab --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_fixed_e2e.log @@ -0,0 +1,290 @@ +INFO 09-23 15:04:34 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 15:04:34 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 15:04:34 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +==================== + vllm version: 0.29.0 + ==================== +INFO 09-23 15:04:35 [omni_base.py:216] [Omni] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 15:04:35 [async_omni_engine.py:172] [AsyncOmniEngine] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 15:04:35 [async_omni_engine.py:290] [AsyncOmniEngine] Launching Orchestrator thread with 3 stages +INFO 09-23 15:04:35 [stage_init_utils.py:768] [stage_init] Set VLLM_WORKER_MULTIPROC_METHOD=spawn +INFO 09-23 15:04:35 [initialization.py:356] Loaded OmniTransferConfig with 1 connector configurations +WARNING 09-23 15:04:35 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 15:04:35 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 15:04:45 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 15:04:45 [model.py:2021] Using max model len 2048 +WARNING 09-23 15:04:45 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 15:04:45 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +INFO 09-23 15:04:45 [model.py:887] Disabled mm_prefix attention mode because multimodal inputs are configuration-disabled. Attention backends without mm_prefix support may now be selected. +INFO 09-23 15:04:45 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=2048. +WARNING 09-23 15:04:45 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +WARNING 09-23 15:04:45 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +INFO 09-23 15:04:45 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 15:04:45 [vllm.py:1585] Cudagraph is disabled under eager mode +INFO 09-23 15:04:45 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +WARNING 09-23 15:04:45 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 15:04:45 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 15:04:46 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 15:04:46 [model.py:2021] Using max model len 512 +WARNING 09-23 15:04:46 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 15:04:46 [model.py:2021] Using max model len 512 +INFO 09-23 15:04:46 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=512. +INFO 09-23 15:04:46 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +WARNING 09-23 15:04:46 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 15:04:46 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 15:04:46 [model.py:684] Resolved architecture: MiniCPMO45Code2Wav +INFO 09-23 15:04:46 [model.py:2021] Using max model len 4096 +WARNING 09-23 15:04:46 [arg_utils.py:2780] This model does not officially support disabling chunked prefill. Disabling this manually may cause the engine to crash or produce incorrect outputs. +INFO 09-23 15:04:46 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 15:04:46 [stage_runtime.py:853] [stage_init] Stage-0 set runtime devices: 0 +INFO 09-23 15:04:52 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 15:04:52 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 15:04:52 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:53 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, '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': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:54 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:54 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_b4a47065e7bb48f0921b8c642f25a6a3 backend=nccl +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:54 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:04:55 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:55 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:55 [base.py:138] Offloader set to UVAOffloader +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:04:55 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:04:55 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:55 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:04:55 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:04:55 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:55 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:55 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:55 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:55 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:55 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:56 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:04:56 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:05:11 [uva.py:65] Total CPU offloaded parameters: 5.03 +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:05:12 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 20.96 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:05:12 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage0_replica0 pid=4163945) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:48 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:05:48 [gpu_worker.py:860] Free memory on device (22.58/23.89 GiB) on startup. Desired GPU memory utilization is (0.58, 13.86 GiB). Actual usage is 11.01 GiB for consumed memory (weights + non-torch), 0.22 GiB for peak activation, and 0.0 GiB for CUDAGraph memory. Replace gpu_memory_utilization config with `--kv-cache-memory=2667877499` (2.48 GiB) to fit into requested memory, or `--kv-cache-memory=12032409600` (11.21 GiB) to fully utilize gpu memory. Current kv cache memory in use is 2.72 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:05:49 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:05:50 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:05:50 [core.py:368] init engine (profile, create kv cache, warmup model) took 18.03 s +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:50 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage0_replica0 pid=4163945) WARNING 09-23 15:05:50 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:05:50 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage0_replica0 pid=4163945) INFO 09-23 15:05:50 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 15:05:50 [stage_runtime.py:943] [StageRuntime] Stage 0 engine startup completed +INFO 09-23 15:05:50 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-0 [rep-0] initializing EngineCore +INFO 09-23 15:05:50 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-0 [rep-0] EngineCore running +INFO 09-23 15:05:50 [stage_runtime.py:958] [StageRuntime] Stage 0 initialized +INFO 09-23 15:05:50 [stage_runtime.py:853] [stage_init] Stage-1 set runtime devices: 0 +INFO 09-23 15:06:11 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 15:06:11 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 15:06:11 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:13 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=512, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [512], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:16 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_30ae85cbfd864d449a54426162c1ef3a backend=nccl +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:16 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:17 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:17 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage1_replica0 pid=4164226) [transformers] `MiniCPMOProcessor` defines `image_processor_class = 'AutoImageProcessor'`, which is deprecated. Register the correct mapping in `AutoImageProcessor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4164226) [transformers] Requested torchvision backend is not available. Falling back to pil backend. +(StageEngineCoreProc_stage1_replica0 pid=4164226) [transformers] `MiniCPMOProcessor` defines `feature_extractor_class = 'WhisperFeatureExtractor'`, which is deprecated. Register the correct mapping in `AutoFeatureExtractor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4164226) [transformers] Image processor MiniCPMVImageProcessor: kwargs ['max_slice_nums'] were applied for backward compatibility. To avoid this warning, add them to valid_kwargs: create a custom TypedDict extending ImagesKwargs with these keys and set it as the `valid_kwargs` class attribute. +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:33 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:33 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:33 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:33 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:34 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:34 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:34 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:34 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:34 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:34 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:35 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:35 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:35 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 19.13 GiB. +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:35 [weight_utils.py:893] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre) and the checkpoint size (17.46 GiB) exceeds 90% of available RAM (19.13 GiB). +(StageEngineCoreProc_stage1_replica0 pid=4164226) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:47 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:48 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:49 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:49 [core.py:368] init engine (profile, create kv cache, warmup model) took 6.53 s +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:49 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage1_replica0 pid=4164226) WARNING 09-23 15:06:49 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:49 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4164226) INFO 09-23 15:06:49 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 15:06:49 [stage_runtime.py:943] [StageRuntime] Stage 1 engine startup completed +INFO 09-23 15:06:49 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-1 [rep-0] initializing EngineCore +INFO 09-23 15:06:49 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-1 [rep-0] EngineCore running +INFO 09-23 15:06:49 [stage_runtime.py:958] [StageRuntime] Stage 1 initialized +INFO 09-23 15:06:49 [stage_runtime.py:853] [stage_init] Stage-2 set runtime devices: 0 +INFO 09-23 15:07:00 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 15:07:00 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 15:07:00 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:01 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=False, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [4096], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:02 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_1e3158f14a274b6b81deeec51b9a4da1 backend=nccl +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:02 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:03 [gpu_generation_worker.py:103] OMNI GPUGenerationWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:03 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:03 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:03 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:03 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:03 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:03 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 17.09 GiB. +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:03 [weight_utils.py:893] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre) and the checkpoint size (17.46 GiB) exceeds 90% of available RAM (17.09 GiB). +(StageEngineCoreProc_stage2_replica0 pid=4164450) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:33 [gpu_generation_model_runner.py:558] Dummy sampler run is not implemented for generation model +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:34 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:35 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:35 [core.py:368] init engine (profile, create kv cache, warmup model) took 2.76 s +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:35 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_generation_scheduler.OmniGenerationScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:35 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:35 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:35 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage2_replica0 pid=4164450) WARNING 09-23 15:07:35 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:35 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:35 [vllm.py:1585] Cudagraph is disabled under eager mode +INFO 09-23 15:07:35 [stage_runtime.py:943] [StageRuntime] Stage 2 engine startup completed +INFO 09-23 15:07:35 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-2 [rep-0] initializing EngineCore +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:35 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +INFO 09-23 15:07:35 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-2 [rep-0] EngineCore running +INFO 09-23 15:07:35 [stage_runtime.py:958] [StageRuntime] Stage 2 initialized +INFO 09-23 15:07:37 [orchestrator.py:604] [Orchestrator] Starting event loop +INFO 09-23 15:07:37 [async_omni_engine.py:323] [AsyncOmniEngine] Orchestrator ready with 3 stages +INFO 09-23 15:07:37 [omni_base.py:235] [Omni] AsyncOmniEngine initialized in 182.47 seconds +INFO 09-23 15:07:37 [omni_base.py:255] [Omni] Initialized with 3 stages for model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +WARNING 09-23 15:07:37 [input_processor.py:315] Passing raw prompts to InputProcessor is deprecated and will be removed in the future. You should instead pass the outputs of Renderer.render_cmpl() or Renderer.render_chat(). + Processed prompts: 0%| | 0/1 [00:00._kernel. This causes a latency spike; consider extending warmup to cover this shape/config. +(StageEngineCoreProc_stage2_replica0 pid=4164450) INFO 09-23 15:07:58 [cuda_graph_wrapper.py:98] Captured HiFT CUDA Graph for shape (1, 18, 3840) + Processed prompts: 100%|██████████| 1/1 [00:20<00:00, 20.53s/it] Processed prompts: 100%|██████████| 1/1 [00:20<00:00, 20.53s/it] +query type: text +use_tts (tts_bos): True +Request ID: 0_2c17288b-c543-4aaa-9a6a-e661ab14c97b, Text saved to /home/zhout/project/edge_infer/analysis/experiments/e2e_recovery_20260923/mini_output_fixed_e2e/0_2c17288b-c543-4aaa-9a6a-e661ab14c97b.txt +Request ID: 0_2c17288b-c543-4aaa-9a6a-e661ab14c97b, Saved audio to /home/zhout/project/edge_infer/analysis/experiments/e2e_recovery_20260923/mini_output_fixed_e2e/output_0_2c17288b-c543-4aaa-9a6a-e661ab14c97b.wav +INFO 09-23 15:07:58 [omni_base.py:781] [Omni] Shutting down +INFO 09-23 15:07:58 [async_omni_engine.py:1807] [AsyncOmniEngine] Shutting down Orchestrator +INFO 09-23 15:07:58 [orchestrator.py:705] [Orchestrator] Received shutdown signal +INFO 09-23 15:07:58 [orchestrator.py:3092] [Orchestrator] Shutting down all 3 client(s) +INFO 09-23 15:07:58 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 15:07:58 [core_client.py:691] [shutdown] MPClient: stopping engine manager +INFO 09-23 15:07:58 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage0_replica0 +WARNING 09-23 15:08:03 [utils.py:640] [shutdown] Process manager: force killing remaining processes count=1 +WARNING 09-23 15:08:03 [utils.py:645] [shutdown] Process manager: force killing remaining process StageEngineCoreProc_stage0_replica0 pid 4163945 +INFO 09-23 15:08:03 [core_client.py:693] [shutdown] MPClient: engine manager stopped +INFO 09-23 15:08:03 [core_client.py:694] [shutdown] MPClient: cleaning up background resources +INFO 09-23 15:08:03 [core_client.py:696] [shutdown] MPClient: complete +INFO 09-23 15:08:03 [stage_pool.py:1354] [StagePool] Stage 0 replica 0 shut down +INFO 09-23 15:08:03 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 15:08:03 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage1_replica0 +INFO 09-23 15:08:08 [stage_pool.py:1354] [StagePool] Stage 1 replica 0 shut down +INFO 09-23 15:08:08 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 15:08:08 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage2_replica0 +INFO 09-23 15:08:13 [stage_pool.py:1354] [StagePool] Stage 2 replica 0 shut down +/home/zhout/.local/share/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/python3.12/multiprocessing/resource_tracker.py:279: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown + warnings.warn('resource_tracker: There appear to be %d ' diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_stage0_only.log b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_stage0_only.log new file mode 100644 index 000000000..39ff1f3ec --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_stage0_only.log @@ -0,0 +1,196 @@ +INFO 09-23 14:41:50 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:41:51 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:41:51 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +==================== + vllm version: 0.29.0 + ==================== +INFO 09-23 14:41:52 [omni_base.py:216] [Omni] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:41:52 [async_omni_engine.py:172] [AsyncOmniEngine] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:41:52 [async_omni_engine.py:290] [AsyncOmniEngine] Launching Orchestrator thread with 3 stages +INFO 09-23 14:41:52 [stage_init_utils.py:768] [stage_init] Set VLLM_WORKER_MULTIPROC_METHOD=spawn +INFO 09-23 14:41:52 [initialization.py:356] Loaded OmniTransferConfig with 0 connector configurations +WARNING 09-23 14:41:52 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:41:52 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +WARNING 09-23 14:41:52 [envs.py:2248] Unknown vLLM environment variable detected: VLLM_OMNI_MINICPMO_LOGITS_PROBE +INFO 09-23 14:42:01 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:42:01 [model.py:2021] Using max model len 2048 +WARNING 09-23 14:42:01 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:42:02 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +INFO 09-23 14:42:02 [model.py:887] Disabled mm_prefix attention mode because multimodal inputs are configuration-disabled. Attention backends without mm_prefix support may now be selected. +INFO 09-23 14:42:02 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=2048. +WARNING 09-23 14:42:02 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +WARNING 09-23 14:42:02 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +INFO 09-23 14:42:02 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:42:02 [vllm.py:1585] Cudagraph is disabled under eager mode +INFO 09-23 14:42:02 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +WARNING 09-23 14:42:02 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:42:02 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +WARNING 09-23 14:42:02 [envs.py:2248] Unknown vLLM environment variable detected: VLLM_OMNI_MINICPMO_LOGITS_PROBE +INFO 09-23 14:42:02 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:42:02 [model.py:2021] Using max model len 40960 +WARNING 09-23 14:42:02 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:42:02 [model.py:2021] Using max model len 4096 +INFO 09-23 14:42:02 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=8192. +INFO 09-23 14:42:02 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']) +WARNING 09-23 14:42:03 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:42:03 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +WARNING 09-23 14:42:03 [envs.py:2248] Unknown vLLM environment variable detected: VLLM_OMNI_MINICPMO_LOGITS_PROBE +INFO 09-23 14:42:03 [model.py:684] Resolved architecture: MiniCPMO45Code2Wav +INFO 09-23 14:42:03 [model.py:2021] Using max model len 40960 +INFO 09-23 14:42:03 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']) +WARNING 09-23 14:42:03 [stage_runtime.py:778] [stage_init] Stage-1 replica 0 physical devices None are not integer GPU ids; all serial LLM replicas will share one init group +WARNING 09-23 14:42:03 [stage_runtime.py:778] [stage_init] Stage-2 replica 0 physical devices None are not integer GPU ids; all serial LLM replicas will share one init group +INFO 09-23 14:42:03 [stage_runtime.py:853] [stage_init] Stage-0 set runtime devices: 0 +INFO 09-23 14:42:09 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:42:09 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:42:09 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:10 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, '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': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:11 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:11 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_9682e9c24f084fc882f394d72103e18a backend=nccl +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:11 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:12 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:12 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:12 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:12 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:12 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:12 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:12 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:12 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:12 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:12 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:12 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:12 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:13 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:13 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:14 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 27.47 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:14 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage0_replica0 pid=4158127) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:27 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:27 [gpu_worker.py:860] Free memory on device (22.58/23.89 GiB) on startup. Desired GPU memory utilization is (0.85, 20.31 GiB). Actual usage is 16.04 GiB for consumed memory (weights + non-torch), 1.21 GiB for peak activation, and 0.0 GiB for CUDAGraph memory. Replace gpu_memory_utilization config with `--kv-cache-memory=3131941786` (2.92 GiB) to fit into requested memory, or `--kv-cache-memory=5570742784` (5.19 GiB) to fully utilize gpu memory. Current kv cache memory in use is 3.15 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:28 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:28 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:28 [core.py:368] init engine (profile, create kv cache, warmup model) took 4.52 s +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:28 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage0_replica0 pid=4158127) WARNING 09-23 14:42:28 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:28 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:28 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage0_replica0 pid=4158127) INFO 09-23 14:42:28 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:42:28 [stage_runtime.py:943] [StageRuntime] Stage 0 engine startup completed +INFO 09-23 14:42:28 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-0 [rep-0] initializing EngineCore +INFO 09-23 14:42:29 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-0 [rep-0] EngineCore running +INFO 09-23 14:42:29 [stage_runtime.py:958] [StageRuntime] Stage 0 initialized +INFO 09-23 14:42:36 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:42:36 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:42:36 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:37 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::qwen4_exp_compute_ple_ngram_ids', 'vllm::qwen4_exp_ple_short_conv', 'vllm::qwen4_exp_qsa_with_output', 'vllm::linear_attention', 'vllm::qwen_gdn_attention_core', 'vllm::qwen_gdn_attention_core_fused_norm_packed', 'vllm::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', 'vllm::hpc_rope_norm_forward', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [8192], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , '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, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:38 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_4a42f865c6a340b08adfa60702af11a6 backend=nccl +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:38 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:42:38 [memory_utils.py:39] Free memory on device cuda:0 (21.21/23.89 GiB) on startup is less than desired GPU memory utilization (0.92, 21.98 GiB). Capping requested memory to available free memory (21.21 GiB). This is expected when multiple Omni stages share a GPU; the per-process NVML accounting in determine_available_memory() will compute the correct KV cache budget. +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:42:38 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:38 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage1_replica0 pid=4158361) [transformers] `MiniCPMOProcessor` defines `image_processor_class = 'AutoImageProcessor'`, which is deprecated. Register the correct mapping in `AutoImageProcessor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4158361) [transformers] Requested torchvision backend is not available. Falling back to pil backend. +(StageEngineCoreProc_stage1_replica0 pid=4158361) [transformers] `MiniCPMOProcessor` defines `feature_extractor_class = 'WhisperFeatureExtractor'`, which is deprecated. Register the correct mapping in `AutoFeatureExtractor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4158361) [transformers] Image processor MiniCPMVImageProcessor: kwargs ['max_slice_nums'] were applied for backward compatibility. To avoid this warning, add them to valid_kwargs: create a custom TypedDict extending ImagesKwargs with these keys and set it as the `valid_kwargs` class attribute. +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:49 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:42:49 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:42:49 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:49 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:49 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']) +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:49 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'], fused_add_rms_norm=['native']) +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:50 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:50 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:50 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 25.45 GiB. +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:42:50 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage1_replica0 pid=4158361) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4158361) WARNING 09-23 14:43:09 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage1_replica0 pid=4158361) INFO 09-23 14:43:09 [gpu_model_runner.py:6955] Rank 0: Torch profiler disabled for CUDA graph capture +(StageEngineCoreProc_stage1_replica0 pid=4158361) Capturing CUDA graphs (mixed prefill-decode, PIECEWISE): 0%| | 0/51 [00:00, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, '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': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:25 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:25 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_028c7c75f37a4889a1dffc16bb0237b9 backend=nccl +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:25 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:33:25 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:25 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:25 [base.py:138] Offloader set to UVAOffloader +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:33:25 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:33:25 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:25 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:33:26 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:33:26 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:26 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:26 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:26 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:26 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:26 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:27 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:27 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:37 [uva.py:65] Total CPU offloaded parameters: 5.03 +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:37 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 20.71 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:33:37 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage0_replica0 pid=4155868) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:43 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:34:43 [gpu_worker.py:860] Free memory on device (22.58/23.89 GiB) on startup. Desired GPU memory utilization is (0.58, 13.86 GiB). Actual usage is 11.01 GiB for consumed memory (weights + non-torch), 0.22 GiB for peak activation, and 0.0 GiB for CUDAGraph memory. Replace gpu_memory_utilization config with `--kv-cache-memory=2667877499` (2.48 GiB) to fit into requested memory, or `--kv-cache-memory=12032409600` (11.21 GiB) to fully utilize gpu memory. Current kv cache memory in use is 2.72 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:34:44 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:34:44 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:34:44 [core.py:368] init engine (profile, create kv cache, warmup model) took 27.79 s +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:44 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage0_replica0 pid=4155868) WARNING 09-23 14:34:44 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:34:44 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:34:44 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage0_replica0 pid=4155868) INFO 09-23 14:34:44 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:34:44 [stage_runtime.py:943] [StageRuntime] Stage 0 engine startup completed +INFO 09-23 14:34:44 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-0 [rep-0] initializing EngineCore +INFO 09-23 14:34:44 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-0 [rep-0] EngineCore running +INFO 09-23 14:34:44 [stage_runtime.py:958] [StageRuntime] Stage 0 initialized +INFO 09-23 14:34:44 [stage_runtime.py:853] [stage_init] Stage-1 set runtime devices: 0 +INFO 09-23 14:34:54 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:34:54 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:34:54 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:34:55 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=512, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [512], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:34:57 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_47ce84a916794d5aaae4f1d8e8082eff backend=nccl +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:34:57 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:34:57 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:34:57 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage1_replica0 pid=4156145) [transformers] `MiniCPMOProcessor` defines `image_processor_class = 'AutoImageProcessor'`, which is deprecated. Register the correct mapping in `AutoImageProcessor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4156145) [transformers] Requested torchvision backend is not available. Falling back to pil backend. +(StageEngineCoreProc_stage1_replica0 pid=4156145) [transformers] `MiniCPMOProcessor` defines `feature_extractor_class = 'WhisperFeatureExtractor'`, which is deprecated. Register the correct mapping in `AutoFeatureExtractor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4156145) [transformers] Image processor MiniCPMVImageProcessor: kwargs ['max_slice_nums'] were applied for backward compatibility. To avoid this warning, add them to valid_kwargs: create a custom TypedDict extending ImagesKwargs with these keys and set it as the `valid_kwargs` class attribute. +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:08 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:08 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:08 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:08 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:08 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:08 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:08 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:08 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:08 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:08 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:09 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:09 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:09 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 19.14 GiB. +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:09 [weight_utils.py:893] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre) and the checkpoint size (17.46 GiB) exceeds 90% of available RAM (19.14 GiB). +(StageEngineCoreProc_stage1_replica0 pid=4156145) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:14 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:15 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:15 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:15 [core.py:368] init engine (profile, create kv cache, warmup model) took 2.74 s +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:15 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage1_replica0 pid=4156145) WARNING 09-23 14:35:15 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:15 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:15 [factory.py:46] Created connector: SharedMemoryConnector +INFO 09-23 14:35:15 [stage_runtime.py:943] [StageRuntime] Stage 1 engine startup completed +(StageEngineCoreProc_stage1_replica0 pid=4156145) INFO 09-23 14:35:15 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:35:15 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-1 [rep-0] initializing EngineCore +INFO 09-23 14:35:16 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-1 [rep-0] EngineCore running +INFO 09-23 14:35:16 [stage_runtime.py:958] [StageRuntime] Stage 1 initialized +INFO 09-23 14:35:16 [stage_runtime.py:853] [stage_init] Stage-2 set runtime devices: 0 +INFO 09-23 14:35:24 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:35:24 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:35:24 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:25 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=False, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [4096], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:25 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_0f97cdb270804b129ff4c6180e8d4b22 backend=nccl +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:25 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:26 [gpu_generation_worker.py:103] OMNI GPUGenerationWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:26 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:26 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:26 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:26 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:26 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:27 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 17.72 GiB. +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:27 [weight_utils.py:893] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre) and the checkpoint size (17.46 GiB) exceeds 90% of available RAM (17.72 GiB). +(StageEngineCoreProc_stage2_replica0 pid=4156415) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:39 [gpu_generation_model_runner.py:558] Dummy sampler run is not implemented for generation model +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:40 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:40 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:40 [core.py:368] init engine (profile, create kv cache, warmup model) took 2.39 s +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:41 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_generation_scheduler.OmniGenerationScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:41 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:41 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:41 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:41 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage2_replica0 pid=4156415) WARNING 09-23 14:35:41 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:41 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:35:41 [stage_runtime.py:943] [StageRuntime] Stage 2 engine startup completed +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:41 [vllm.py:1585] Cudagraph is disabled under eager mode +INFO 09-23 14:35:41 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-2 [rep-0] initializing EngineCore +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:35:41 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +INFO 09-23 14:35:41 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-2 [rep-0] EngineCore running +INFO 09-23 14:35:41 [stage_runtime.py:958] [StageRuntime] Stage 2 initialized +INFO 09-23 14:35:43 [orchestrator.py:604] [Orchestrator] Starting event loop +INFO 09-23 14:35:43 [async_omni_engine.py:323] [AsyncOmniEngine] Orchestrator ready with 3 stages +INFO 09-23 14:35:43 [omni_base.py:235] [Omni] AsyncOmniEngine initialized in 147.07 seconds +INFO 09-23 14:35:43 [omni_base.py:255] [Omni] Initialized with 3 stages for model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +WARNING 09-23 14:35:43 [input_processor.py:315] Passing raw prompts to InputProcessor is deprecated and will be removed in the future. You should instead pass the outputs of Renderer.render_cmpl() or Renderer.render_chat(). + Processed prompts: 0%| | 0/1 [00:00._kernel. This causes a latency spike; consider extending warmup to cover this shape/config. +(StageEngineCoreProc_stage2_replica0 pid=4156415) INFO 09-23 14:36:17 [cuda_graph_wrapper.py:98] Captured HiFT CUDA Graph for shape (1, 18, 3840) + Processed prompts: 100%|██████████| 1/1 [00:34<00:00, 34.81s/it] Processed prompts: 100%|██████████| 1/1 [00:34<00:00, 34.81s/it] +query type: text +use_tts (tts_bos): True +Request ID: 0_8a6e5016-03c2-4673-a2e5-c79b90f62ccc, Text saved to /home/zhout/project/edge_infer/analysis/experiments/e2e_recovery_20260923/mini_output_template/0_8a6e5016-03c2-4673-a2e5-c79b90f62ccc.txt +Request ID: 0_8a6e5016-03c2-4673-a2e5-c79b90f62ccc, Saved audio to /home/zhout/project/edge_infer/analysis/experiments/e2e_recovery_20260923/mini_output_template/output_0_8a6e5016-03c2-4673-a2e5-c79b90f62ccc.wav +INFO 09-23 14:36:17 [omni_base.py:781] [Omni] Shutting down +INFO 09-23 14:36:17 [async_omni_engine.py:1807] [AsyncOmniEngine] Shutting down Orchestrator +INFO 09-23 14:36:17 [orchestrator.py:705] [Orchestrator] Received shutdown signal +INFO 09-23 14:36:17 [orchestrator.py:3092] [Orchestrator] Shutting down all 3 client(s) +INFO 09-23 14:36:17 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 14:36:17 [core_client.py:691] [shutdown] MPClient: stopping engine manager +INFO 09-23 14:36:17 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage0_replica0 +WARNING 09-23 14:36:22 [utils.py:640] [shutdown] Process manager: force killing remaining processes count=1 +WARNING 09-23 14:36:22 [utils.py:645] [shutdown] Process manager: force killing remaining process StageEngineCoreProc_stage0_replica0 pid 4155868 +INFO 09-23 14:36:22 [core_client.py:693] [shutdown] MPClient: engine manager stopped +INFO 09-23 14:36:22 [core_client.py:694] [shutdown] MPClient: cleaning up background resources +INFO 09-23 14:36:22 [core_client.py:696] [shutdown] MPClient: complete +INFO 09-23 14:36:22 [stage_pool.py:1354] [StagePool] Stage 0 replica 0 shut down +INFO 09-23 14:36:22 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 14:36:22 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage1_replica0 +INFO 09-23 14:36:27 [stage_pool.py:1354] [StagePool] Stage 1 replica 0 shut down +INFO 09-23 14:36:27 [core_client.py:689] [shutdown] MPClient: start timeout=default +INFO 09-23 14:36:27 [utils.py:620] [shutdown] Process manager: send sigterm to process StageEngineCoreProc_stage2_replica0 +INFO 09-23 14:36:31 [stage_pool.py:1354] [StagePool] Stage 2 replica 0 shut down +/home/zhout/.local/share/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/python3.12/multiprocessing/resource_tracker.py:279: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown + warnings.warn('resource_tracker: There appear to be %d ' diff --git a/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_text_only.log b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_text_only.log new file mode 100644 index 000000000..f5b4a35c5 --- /dev/null +++ b/benchmarks/edge_harness/results/e2e_recovery_20260923/evidence/minicpmo/mini_text_only.log @@ -0,0 +1,279 @@ +INFO 09-23 14:37:51 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:37:51 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:37:51 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +==================== + vllm version: 0.29.0 + ==================== +INFO 09-23 14:37:52 [omni_base.py:216] [Omni] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:37:52 [async_omni_engine.py:172] [AsyncOmniEngine] Initializing with model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +INFO 09-23 14:37:52 [async_omni_engine.py:290] [AsyncOmniEngine] Launching Orchestrator thread with 3 stages +INFO 09-23 14:37:52 [stage_init_utils.py:768] [stage_init] Set VLLM_WORKER_MULTIPROC_METHOD=spawn +INFO 09-23 14:37:52 [initialization.py:356] Loaded OmniTransferConfig with 1 connector configurations +WARNING 09-23 14:37:52 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:37:52 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:37:52 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:37:52 [model.py:2021] Using max model len 2048 +WARNING 09-23 14:37:52 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:37:53 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +INFO 09-23 14:37:53 [model.py:887] Disabled mm_prefix attention mode because multimodal inputs are configuration-disabled. Attention backends without mm_prefix support may now be selected. +INFO 09-23 14:37:53 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=2048. +WARNING 09-23 14:37:53 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +WARNING 09-23 14:37:53 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +INFO 09-23 14:37:53 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:37:53 [vllm.py:1585] Cudagraph is disabled under eager mode +INFO 09-23 14:37:53 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +WARNING 09-23 14:37:53 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:37:53 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:37:53 [model.py:684] Resolved architecture: MiniCPMO45OmniForConditionalGeneration +INFO 09-23 14:37:53 [model.py:2021] Using max model len 512 +WARNING 09-23 14:37:53 [model.py:981] Model does not support mm_device_do_normalize, forcing mm_device_do_normalize = False. +INFO 09-23 14:37:53 [model.py:2021] Using max model len 512 +INFO 09-23 14:37:53 [scheduler.py:277] Chunked prefill is enabled with max_num_batched_tokens=512. +INFO 09-23 14:37:53 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +WARNING 09-23 14:37:53 [utils.py:501] Dropping unknown OmniEngineArgs field 'inline_diffusion' (not declared on the dataclass) +WARNING 09-23 14:37:53 [utils.py:501] Dropping unknown OmniEngineArgs field 'shm_threshold_bytes' (not declared on the dataclass) +INFO 09-23 14:37:53 [model.py:684] Resolved architecture: MiniCPMO45Code2Wav +INFO 09-23 14:37:53 [model.py:2021] Using max model len 4096 +WARNING 09-23 14:37:53 [arg_utils.py:2780] This model does not officially support disabling chunked prefill. Disabling this manually may cause the engine to crash or produce incorrect outputs. +INFO 09-23 14:37:53 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:37:53 [stage_runtime.py:853] [stage_init] Stage-0 set runtime devices: 0 +INFO 09-23 14:37:59 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:38:00 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:38:00 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:01 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, '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': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:02 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:02 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_f8ec0c16156044e3bae1107090805fb7 backend=nccl +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:02 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:02 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:02 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:02 [base.py:138] Offloader set to UVAOffloader +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:02 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:02 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:02 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:03 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:03 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:03 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:03 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:03 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:03 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:03 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:04 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:04 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:14 [uva.py:65] Total CPU offloaded parameters: 5.03 +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:14 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 20.78 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:14 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage0_replica0 pid=4156973) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:37 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:37 [gpu_worker.py:860] Free memory on device (22.58/23.89 GiB) on startup. Desired GPU memory utilization is (0.58, 13.86 GiB). Actual usage is 11.01 GiB for consumed memory (weights + non-torch), 0.22 GiB for peak activation, and 0.0 GiB for CUDAGraph memory. Replace gpu_memory_utilization config with `--kv-cache-memory=2667877499` (2.48 GiB) to fit into requested memory, or `--kv-cache-memory=12032409600` (11.21 GiB) to fully utilize gpu memory. Current kv cache memory in use is 2.72 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:38 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:38 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:38 [core.py:368] init engine (profile, create kv cache, warmup model) took 13.15 s +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:38 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage0_replica0 pid=4156973) WARNING 09-23 14:38:38 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:38 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:38 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage0_replica0 pid=4156973) INFO 09-23 14:38:38 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:38:38 [stage_runtime.py:943] [StageRuntime] Stage 0 engine startup completed +INFO 09-23 14:38:38 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-0 [rep-0] initializing EngineCore +INFO 09-23 14:38:38 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-0 [rep-0] EngineCore running +INFO 09-23 14:38:38 [stage_runtime.py:958] [StageRuntime] Stage 0 initialized +INFO 09-23 14:38:38 [stage_runtime.py:853] [stage_init] Stage-1 set runtime devices: 0 +INFO 09-23 14:38:45 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:38:46 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:38:46 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:38:47 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=512, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [512], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:38:48 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_7e1227f0df324162a62f71e91ee2fc27 backend=nccl +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:38:48 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:38:48 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:38:48 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage1_replica0 pid=4157223) [transformers] `MiniCPMOProcessor` defines `image_processor_class = 'AutoImageProcessor'`, which is deprecated. Register the correct mapping in `AutoImageProcessor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4157223) [transformers] Requested torchvision backend is not available. Falling back to pil backend. +(StageEngineCoreProc_stage1_replica0 pid=4157223) [transformers] `MiniCPMOProcessor` defines `feature_extractor_class = 'WhisperFeatureExtractor'`, which is deprecated. Register the correct mapping in `AutoFeatureExtractor` instead. +(StageEngineCoreProc_stage1_replica0 pid=4157223) [transformers] Image processor MiniCPMVImageProcessor: kwargs ['max_slice_nums'] were applied for backward compatibility. To avoid this warning, add them to valid_kwargs: create a custom TypedDict extending ImagesKwargs with these keys and set it as the `valid_kwargs` class attribute. +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:38:59 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:38:59 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:38:59 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:38:59 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:38:59 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:38:59 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:38:59 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:38:59 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:38:59 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:38:59 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:39:00 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:39:00 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:39:00 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 19.14 GiB. +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:39:00 [weight_utils.py:893] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre) and the checkpoint size (17.46 GiB) exceeds 90% of available RAM (19.14 GiB). +(StageEngineCoreProc_stage1_replica0 pid=4157223) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:03 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:39:04 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:39:04 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:39:04 [core.py:368] init engine (profile, create kv cache, warmup model) took 2.37 s +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:04 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage1_replica0 pid=4157223) WARNING 09-23 14:39:04 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:39:04 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:39:04 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage1_replica0 pid=4157223) INFO 09-23 14:39:04 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 14:39:04 [stage_runtime.py:943] [StageRuntime] Stage 1 engine startup completed +INFO 09-23 14:39:04 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-1 [rep-0] initializing EngineCore +INFO 09-23 14:39:04 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-1 [rep-0] EngineCore running +INFO 09-23 14:39:04 [stage_runtime.py:958] [StageRuntime] Stage 1 initialized +INFO 09-23 14:39:04 [stage_runtime.py:853] [stage_init] Stage-2 set runtime devices: 0 +INFO 09-23 14:39:11 [patch.py:259] NVFP4 W4A4 weight_scale NaN-clamp: installed. +INFO 09-23 14:39:11 [patch.py:510] inductor factorable-divisibility patch: installed. +INFO 09-23 14:39:11 [patch.py:583] [cumem-cuda] CuMemAllocator._python_free_callback patched: asleep guard extended to all platforms. +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:12 [core.py:123] Initializing a V1 LLM engine (v0.29.0) with config: model='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', speculative_config=None, tokenizer='/home/zhout/project/edge_infer/models/MiniCPM-o-4_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=1, 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, quantization_config=None, enforce_eager=True, 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, per_request_spec_decode_metrics='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, jit_monitor_mode='warn', jit_monitor_verbose=False), seed=0, served_model_name=/home/zhout/project/edge_infer/models/MiniCPM-o-4_5, enable_prefix_caching=False, enable_chunked_prefill=False, pooler_config=None, compilation_config={'mode': , 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [4096], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:12 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_a8132b1d955648dd9d02b133c7b1fe35 backend=nccl +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:12 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:13 [gpu_generation_worker.py:103] OMNI GPUGenerationWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:13 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:13 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:13 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:13 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:13 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:13 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 17.77 GiB. +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:13 [weight_utils.py:893] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre) and the checkpoint size (17.46 GiB) exceeds 90% of available RAM (17.77 GiB). +(StageEngineCoreProc_stage2_replica0 pid=4157481) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:26 [gpu_generation_model_runner.py:558] Dummy sampler run is not implemented for generation model +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:27 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:28 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:28 [core.py:368] init engine (profile, create kv cache, warmup model) took 2.58 s +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:28 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_generation_scheduler.OmniGenerationScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:28 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:28 [chunk_transfer_adapter.py:142] Bounded active-stream window enabled: K=1. Multi-replica deployments require sticky per-stream routing across Stage 1 replicas (each replica owns an independent active-set; without sticky routing, a stream can be active on one replica and non-active on another and both will race to evict it). +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:28 [factory.py:46] Created connector: SharedMemoryConnector +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:28 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage2_replica0 pid=4157481) WARNING 09-23 14:39:28 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:28 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:28 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage2_replica0 pid=4157481) INFO 09-23 14:39:28 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +INFO 09-23 14:39:28 [stage_runtime.py:943] [StageRuntime] Stage 2 engine startup completed +INFO 09-23 14:39:28 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-2 [rep-0] initializing EngineCore +INFO 09-23 14:39:29 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-2 [rep-0] EngineCore running +INFO 09-23 14:39:29 [stage_runtime.py:958] [StageRuntime] Stage 2 initialized +INFO 09-23 14:39:31 [orchestrator.py:604] [Orchestrator] Starting event loop +INFO 09-23 14:39:31 [async_omni_engine.py:323] [AsyncOmniEngine] Orchestrator ready with 3 stages +INFO 09-23 14:39:31 [omni_base.py:235] [Omni] AsyncOmniEngine initialized in 99.15 seconds +INFO 09-23 14:39:31 [omni_base.py:255] [Omni] Initialized with 3 stages for model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +WARNING 09-23 14:39:31 [input_processor.py:315] Passing raw prompts to InputProcessor is deprecated and will be removed in the future. You should instead pass the outputs of Renderer.render_cmpl() or Renderer.render_chat(). + Processed prompts: 0%| | 0/1 [00:00, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['all'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, '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': , 'cudagraph_num_of_warmups': 0, 'cudagraph_capture_sizes': [], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False, 'enable_qk_norm_rope_fusion': False, 'fuse_rope_kvcache_cat_mla': False, 'fuse_act_padding': False, 'fuse_qk_norm_rope_kvcache': False}, 'max_cudagraph_capture_size': 0, 'dynamic_shapes_config': {'type': , 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=True, enable_cutedsl_warmup=True, enable_jit_warmup=True, enable_bf16x3_router_gemm=False, moe_backend='auto', linear_backend='auto') +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:15 [registry.py:141] All limits of multimodal modalities supported by the model are set to 0, running in text-only mode. +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:15 [parallel_state.py:1775] world_size=1 rank=0 local_rank=0 distributed_init_method=file:///tmp/vllm_dist_96bb721bd42747ccbd1599c4212953bb backend=nccl +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:15 [parallel_state.py:2119] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:16 [gpu_ar_worker.py:120] OMNI GPUARWorker forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:16 [topk_topp_sampler.py:46] FlashInfer top-p/top-k sampling disabled via VLLM_USE_FLASHINFER_SAMPLER=0. +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:16 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:16 [base.py:173] [LLM Worker 0] Sleep Mode DISABLED. +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:16 [gpu_model_runner.py:5379] Starting to load model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5... +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:16 [vllm.py:1371] Enforce eager set, disabling torch.compile and CUDAGraphs. This is equivalent to setting -cc.mode=none -cc.cudagraph_mode=none +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:16 [vllm.py:1406] Inductor compilation was disabled by user settings, optimizations settings that are only active during inductor compilation will be ignored. +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:16 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:16 [vllm.py:1585] Cudagraph is disabled under eager mode +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:16 [compilation.py:329] Enabled custom fusions: norm_quant, act_quant +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:16 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:16 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:17 [cuda.py:492] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']. +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:17 [flash_attn.py:897] Using FlashAttention version 2 +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:17 [weight_utils.py:863] Filesystem type for checkpoints: EXT4. Checkpoint size: 17.46 GiB. Available RAM: 27.27 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:17 [weight_utils.py:886] Auto-prefetch is disabled because the filesystem (EXT4) is not a recognized network FS (NFS/Lustre). If you want to force prefetching, start vLLM with --safetensors-load-strategy=prefetch. +(StageEngineCoreProc_stage0_replica0 pid=4163207) Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00", line 1387, in _gcd_import +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] File "", line 1360, in _find_and_load +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] File "", line 1331, in _find_and_load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] File "", line 935, in _load_unlocked +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] File "", line 999, in exec_module +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] File "", line 488, in _call_with_frames_removed +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 126, in +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] _find_cuda_home() # CUDA home +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] ^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] File "/home/zhout/project/edge_infer/.venvs/omni-cuda-029/lib/python3.12/site-packages/vllm/third_party/deep_gemm/__init__.py", line 120, in _find_cuda_home +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] assert cuda_home is not None +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] ^^^^^^^^^^^^^^^^^^^^^ +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [import_utils.py:408] AssertionError +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:41 [gpu_worker.py:860] Free memory on device (22.58/23.89 GiB) on startup. Desired GPU memory utilization is (0.85, 20.31 GiB). Actual usage is 16.04 GiB for consumed memory (weights + non-torch), 1.21 GiB for peak activation, and 0.0 GiB for CUDAGraph memory. Replace gpu_memory_utilization config with `--kv-cache-memory=3131941786` (2.92 GiB) to fit into requested memory, or `--kv-cache-memory=5570742784` (5.19 GiB) to fully utilize gpu memory. Current kv cache memory in use is 3.15 GiB. +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:41 [minicpmo_4_5_omni.py:571] MiniCPM-o forward probe 2: ids_shape=(1,) ids_prefix=[0] embeds_shape=(1, 4096) embeds_abs_mean=0.0 hidden_abs_mean=0.0 positions=[0] +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:42 [minicpmo_4_5_omni.py:671] MiniCPM-o logits probe 2: shape=(1, 151748) finite=True top_ids=[6682, 14952, 1895, 8844, 47739] top_values=[7.90625, 7.875, 7.8125, 7.75, 7.71875] hidden_abs_mean=0.498046875 head_abs_mean=0.0286865234375 +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:42 [jit_monitor.py:85] Kernel JIT monitor activated; monitored JIT compilations during inference will use mode=warn. +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:43 [torch_utils.py:277] Reducing Torch threads from 12 to 1 for serving. Set OMP_NUM_THREADS in the external environment to override. +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:43 [core.py:368] init engine (profile, create kv cache, warmup model) took 6.21 s +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:43 [scheduler.py:213] Using custom scheduler class vllm_omni.core.sched.omni_ar_scheduler.OmniARAsyncScheduler. This scheduler interface is not public and compatibility may not be maintained. If you have subclassed Scheduler instead of AsyncScheduler, you will see degraded performance due to async scheduling being disabled. +(StageEngineCoreProc_stage0_replica0 pid=4163207) WARNING 09-23 15:02:43 [omni_scheduler_mixin.py:118] OMNI scheduler forces v1 model runner for omni hooks. +(StageEngineCoreProc_stage0_replica0 pid=4163207) INFO 09-23 15:02:43 [kernel.py:369] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['vllm_c', 'native'], fused_add_rms_norm=['vllm_c', 'native']) +INFO 09-23 15:02:43 [stage_runtime.py:943] [StageRuntime] Stage 0 engine startup completed +INFO 09-23 15:02:43 [stage_engine_core_client.py:159] [StageEngineCoreClient] stage-0 [rep-0] initializing EngineCore +INFO 09-23 15:02:43 [stage_engine_core_client.py:215] [StageEngineCoreClient] stage-0 [rep-0] EngineCore running +INFO 09-23 15:02:43 [stage_runtime.py:958] [StageRuntime] Stage 0 initialized +INFO 09-23 15:02:45 [orchestrator.py:604] [Orchestrator] Starting event loop +INFO 09-23 15:02:45 [async_omni_engine.py:323] [AsyncOmniEngine] Orchestrator ready with 1 stages +INFO 09-23 15:02:45 [omni_base.py:235] [Omni] AsyncOmniEngine initialized in 48.07 seconds +INFO 09-23 15:02:45 [omni_base.py:255] [Omni] Initialized with 1 stages for model /home/zhout/project/edge_infer/models/MiniCPM-o-4_5 +WARNING 09-23 15:02:45 [input_processor.py:315] Passing raw prompts to InputProcessor is deprecated and will be removed in the future. You should instead pass the outputs of Renderer.render_cmpl() or Renderer.render_chat(). + Processed prompts: 0%| | 0/1 [00:00 torch.Tensor: output = pipeline.forward( - OmniDiffusionRequest( - prompts=[""], - sampling_params=OmniDiffusionSamplingParams( - extra_args={ - "batch_inputs": batch_inputs, - "noise": noise, - "decode_image": False, - } - ), - request_id=request_id, + DiffusionRequestBatch( + requests=[ + OmniDiffusionRequest( + prompt="", + sampling_params=OmniDiffusionSamplingParams( + extra_args={ + "batch_inputs": batch_inputs, + "noise": noise, + "decode_image": False, + } + ), + request_id=request_id, + ) + ] ) ) if output.error: raise RuntimeError(output.error) - if output.output is None: - raise RuntimeError("InternVLAA1Pipeline.forward returned no output tensor.") - return output.output + payload = output.output + actions = payload.get("payload", {}).get("actions") if isinstance(payload, dict) else None + if not isinstance(actions, torch.Tensor): + raise RuntimeError("InternVLAA1Pipeline.forward returned no action tensor in output.payload.actions.") + return actions def _synchronize(device: str) -> None: diff --git a/examples/offline_inference/minicpmo/end2end.py b/examples/offline_inference/minicpmo/end2end.py index 8e536735d..3c1d9dd87 100644 --- a/examples/offline_inference/minicpmo/end2end.py +++ b/examples/offline_inference/minicpmo/end2end.py @@ -1,7 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 # SPDX-FileCopyrightText: Copyright contributors to the vLLM project """ -Offline end-to-end inference for MiniCPM-o 4.5 (thinker + talker/Token2Wav). +Offline end-to-end inference for MiniCPM-o 4.5 (thinker + talker + Code2Wav). MiniCPM-o uses placeholders ``(./)``, ``()``, and ``()``. Speech output requires a ``<|tts_bos|>`` suffix on @@ -16,7 +16,6 @@ import numpy as np import soundfile as sf import vllm from PIL import Image -from vllm import SamplingParams from vllm.assets.audio import AudioAsset from vllm.assets.image import ImageAsset from vllm.assets.video import VideoAsset, video_to_ndarrays @@ -26,8 +25,6 @@ from vllm.multimodal.media.audio import load_audio from vllm_omni.entrypoints.omni import Omni from vllm_omni.utils.tracking_parser import TrackingArgumentParser -SEED = 42 - default_system = ( "You are MiniCPM-o, a helpful multimodal assistant that can " "understand images, audio and video, and respond in text and speech." @@ -40,8 +37,8 @@ class QueryResult(NamedTuple): def _assistant_prefix(use_tts: bool) -> str: - # Matches HF chat_template: assistant header, optional empty , then TTS bos. - prefix = "<|im_start|>assistant\n" + # Match the checkpoint chat template with enable_thinking=False. + prefix = "<|im_start|>assistant\n\n\n\n\n" if use_tts: prefix += "<|tts_bos|>" return prefix @@ -285,27 +282,10 @@ def main(args): omni_kwargs["trust_remote_code"] = True omni = Omni(**omni_kwargs) - # Stage 0 (thinker): multimodal understanding → text (+ TTS span when enabled). - thinker_sampling_params = SamplingParams( - temperature=0.0, - top_p=1.0, - top_k=-1, - max_tokens=2048, - seed=SEED, - detokenize=True, - repetition_penalty=1.1, - ) - # Stage 1 (talker + Token2Wav): max_tokens=1 satisfies the scheduler; - # waveform is produced in-process by Token2Wav. - talker_sampling_params = SamplingParams( - temperature=0.0, - top_p=1.0, - top_k=-1, - max_tokens=1, - seed=SEED, - detokenize=False, - ) - sampling_params_list = [thinker_sampling_params, talker_sampling_params][: omni.num_stages] + # The deploy config owns all three stages' sampling parameters. In + # particular, the Talker requires min_tokens and the Code2Wav stage has + # its own output limit; a two-entry list cannot describe this pipeline. + sampling_params_list = None if args.txt_prompts is None: prompts = [query_result.inputs for _ in range(args.num_prompts)] @@ -345,6 +325,8 @@ def main(args): str(output.prompt) + "\n", "vllm_text_output:\n", str(text_output).strip() + "\n", + "vllm_token_ids:\n", + str(output.outputs[0].token_ids) + "\n", ] try: with open(out_txt, "w", encoding="utf-8") as f: diff --git a/tests/model_executor/models/minicpmo_4_5/test_preprocess_embeddings.py b/tests/model_executor/models/minicpmo_4_5/test_preprocess_embeddings.py new file mode 100644 index 000000000..0deb0f3f9 --- /dev/null +++ b/tests/model_executor/models/minicpmo_4_5/test_preprocess_embeddings.py @@ -0,0 +1,43 @@ +"""Regression for text requests sharing the Omni preprocess embedding buffer.""" + +from types import SimpleNamespace + +import torch + +from vllm_omni.model_executor.models.minicpmo_4_5.minicpmo_4_5_omni import ( + MiniCPMO45OmniForConditionalGeneration, +) + + +def test_text_preprocess_replaces_uninitialized_embedding_buffer() -> None: + ids = torch.tensor([4, 7]) + scratch = torch.zeros((2, 3)) + expected = torch.tensor([[4.0, 4.0, 4.0], [7.0, 7.0, 7.0]]) + model = SimpleNamespace(model_stage="llm", get_input_embeddings=lambda input_ids: input_ids[:, None].expand(-1, 3).float()) + + _, embeds, _ = MiniCPMO45OmniForConditionalGeneration.preprocess( + model, + ids, + input_embeds=scratch, + _omni_input_embeds_precomputed=False, + ) + + torch.testing.assert_close(embeds, expected) + + +def test_text_preprocess_preserves_precomputed_multimodal_embeddings() -> None: + ids = torch.tensor([4, 7]) + prepared = torch.tensor([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]) + model = SimpleNamespace( + model_stage="llm", + get_input_embeddings=lambda _input_ids: (_ for _ in ()).throw(AssertionError("must reuse embeddings")), + ) + + _, embeds, _ = MiniCPMO45OmniForConditionalGeneration.preprocess( + model, + ids, + input_embeds=prepared, + _omni_input_embeds_precomputed=True, + ) + + assert embeds is prepared diff --git a/tests/worker/test_gpu_ar_model_runner.py b/tests/worker/test_gpu_ar_model_runner.py index be282da81..794310c95 100644 --- a/tests/worker/test_gpu_ar_model_runner.py +++ b/tests/worker/test_gpu_ar_model_runner.py @@ -1756,6 +1756,7 @@ class TestPreferModelSamplerNoneFallback: runner._sampling_metadata_for_model_sampler = lambda smd: smd runner._resolve_duplex_sampling_hook = lambda: None runner.sampler = lambda logits, sampling_metadata: default_result + runner.device = torch.device("cpu") return runner def test_none_falls_back_to_default_sampler_and_warns_once(self): @@ -1801,6 +1802,27 @@ class TestPreferModelSamplerNoneFallback: assert out is model_out + def test_declining_model_cannot_mutate_default_sampler_logits(self): + runner = self._runner(model_sample_result=None, default_result=None) + original = torch.tensor([[0.1, 0.2, 0.3]]) + seen = [] + + def decline_after_mutation(logits, _metadata): + logits[:, :] = float("-inf") + logits[:, 0] = 0.0 + return None + + def default_sampler(*, logits, sampling_metadata): + seen.append(logits.clone()) + return torch.argmax(logits, dim=-1).item() + + runner.model.sample = decline_after_mutation + runner.sampler = default_sampler + runner.device = torch.device("cpu") + + assert GPUARModelRunner._sample(runner, original, None) == 2 + torch.testing.assert_close(seen[0], original) + def test_declaration_matcher_ignores_mentions_and_opt_outs(self): # Guards the guard: the inventory below is only meaningful if # "declares" means an actual opt-in assignment. @@ -1838,6 +1860,7 @@ class TestPreferModelSamplerNoneFallback: "minicpmo_4_5", "minimax_music3", "nemotron_voicechat", + "qwen3_tts", } assert declarers == expected, ( "The set of models declaring `prefer_model_sampler` changed:\n" diff --git a/vllm_omni/diffusion/models/internvla_a1/adapter_qwen3_vl.py b/vllm_omni/diffusion/models/internvla_a1/adapter_qwen3_vl.py index a820fb56a..23f929c4c 100644 --- a/vllm_omni/diffusion/models/internvla_a1/adapter_qwen3_vl.py +++ b/vllm_omni/diffusion/models/internvla_a1/adapter_qwen3_vl.py @@ -1,5 +1,7 @@ from __future__ import annotations +from inspect import signature + import torch import torch.nn as nn from transformers.models.qwen3_vl.modeling_qwen3_vl import ( @@ -15,7 +17,6 @@ from transformers.models.qwen3_vl.modeling_qwen3_vl import ( Qwen3VLVisionModel, Unpack, apply_rotary_pos_emb, - check_model_inputs, create_causal_mask, deprecate_kwarg, eager_attention_forward, @@ -39,6 +40,13 @@ from transformers.models.qwen3_vl.modeling_qwen3_vl import ( Qwen3VLTextRMSNorm as HFQwen3VLTextRMSNorm, ) +try: + from transformers.models.qwen3_vl.modeling_qwen3_vl import check_model_inputs +except ImportError: + # Transformers 5 moved this decorator out of the model module. The + # compatibility alias keeps the custom decoder's config-default behavior. + from transformers.utils.generic import merge_with_config_defaults as check_model_inputs + class Qwen3VLTextRMSNorm(HFQwen3VLTextRMSNorm): def forward(self, hidden_states: torch.Tensor) -> torch.Tensor: @@ -83,8 +91,13 @@ class Qwen3VLTextAttention(HFQwen3VLTextAttention): key_states, value_states, self.layer_idx, cache_kwargs ) else: - key_states = torch.cat([past_key_values[self.layer_idx][0], key_states], dim=2) - value_states = torch.cat([past_key_values[self.layer_idx][1], value_states], dim=2) + if hasattr(past_key_values, "layers"): + layer_cache = past_key_values.layers[self.layer_idx] + cached_keys, cached_values = layer_cache.keys, layer_cache.values + else: + cached_keys, cached_values = past_key_values[self.layer_idx] + key_states = torch.cat([cached_keys, key_states], dim=2) + value_states = torch.cat([cached_values, value_states], dim=2) attention_interface = eager_attention_forward if self.config._attn_implementation != "eager": @@ -174,14 +187,17 @@ class Qwen3VLTextModel(HFQwen3VLTextModel): else: text_position_ids = position_ids[0] - attention_mask = create_causal_mask( + mask_kwargs = dict( config=self.config, - input_embeds=inputs_embeds, attention_mask=attention_mask, - cache_position=cache_position, past_key_values=past_key_values, position_ids=text_position_ids, ) + mask_params = signature(create_causal_mask).parameters + mask_kwargs["inputs_embeds" if "inputs_embeds" in mask_params else "input_embeds"] = inputs_embeds + if "cache_position" in mask_params: + mask_kwargs["cache_position"] = cache_position + attention_mask = create_causal_mask(**mask_kwargs) hidden_states = inputs_embeds position_embeddings = self.rotary_emb(hidden_states, position_ids) @@ -230,7 +246,7 @@ class Qwen3VLModel(HFQwen3VLModel): class Qwen3VLForConditionalGeneration(HFQwen3VLForConditionalGeneration): _checkpoint_conversion_mapping = {} - _tied_weights_keys = ["lm_head.weight"] + _tied_weights_keys = {"lm_head.weight": "model.language_model.embed_tokens.weight"} accepts_loss_kwargs = False config: Qwen3VLConfig diff --git a/vllm_omni/diffusion/models/internvla_a1/model_internvla_a1.py b/vllm_omni/diffusion/models/internvla_a1/model_internvla_a1.py index 7cd064366..71b5125a6 100644 --- a/vllm_omni/diffusion/models/internvla_a1/model_internvla_a1.py +++ b/vllm_omni/diffusion/models/internvla_a1/model_internvla_a1.py @@ -3,6 +3,7 @@ from __future__ import annotations import math import os from dataclasses import dataclass +from inspect import signature from pathlib import Path from typing import Any, Literal @@ -163,7 +164,7 @@ def compute_layer_complete( gen_expert: nn.Module, act_expert: nn.Module, ) -> list[torch.Tensor]: - models = [und_expert.language_model, gen_expert, act_expert] + models = [und_expert.model.language_model, gen_expert, act_expert] query_states = [] key_states = [] value_states = [] @@ -199,9 +200,9 @@ def compute_layer_complete( sin, unsqueeze_dim=1, ) - scaling = und_expert.language_model.layers[layer_idx].self_attn.scaling + scaling = und_expert.model.language_model.layers[layer_idx].self_attn.scaling att_output, _ = eager_attention_forward( - und_expert.language_model.layers[layer_idx].self_attn, + und_expert.model.language_model.layers[layer_idx].self_attn, query_states, key_states, value_states, @@ -209,8 +210,8 @@ def compute_layer_complete( scaling, ) - head_dim = und_expert.language_model.layers[layer_idx].self_attn.head_dim - num_attention_heads = und_expert.language_model.layers[layer_idx].self_attn.config.num_attention_heads + head_dim = und_expert.model.language_model.layers[layer_idx].self_attn.head_dim + num_attention_heads = und_expert.model.language_model.layers[layer_idx].self_attn.config.num_attention_heads batch_size = query_states.shape[0] att_output = att_output.reshape(batch_size, -1, num_attention_heads * head_dim) @@ -313,7 +314,8 @@ class Qwen3VLWithExpertModel(nn.Module): vlm_config_hf.text_config.num_hidden_layers = vlm_config.num_hidden_layers vlm_config_hf.text_config.num_key_value_heads = vlm_config.num_key_value_heads vlm_config_hf.text_config.max_position_embeddings = 262144 - vlm_config_hf.text_config.rope_scaling = { + vlm_config_hf.text_config.rope_parameters = { + **vlm_config_hf.text_config.rope_parameters, "mrope_interleaved": True, "mrope_section": [24, 20, 20], "rope_type": "default", @@ -336,7 +338,7 @@ class Qwen3VLWithExpertModel(nn.Module): gen_expert_config_hf.num_hidden_layers = action_expert_config.num_hidden_layers gen_expert_config_hf.num_key_value_heads = action_expert_config.num_key_value_heads gen_expert_config_hf.max_position_embeddings = self.und_expert.config.text_config.max_position_embeddings - gen_expert_config_hf.rope_scaling = self.und_expert.config.text_config.rope_scaling + gen_expert_config_hf.rope_parameters = self.und_expert.config.text_config.rope_parameters.copy() self.gen_expert = Qwen3VLTextModel(config=gen_expert_config_hf) self.gen_expert.embed_tokens = None self.gen_expert.lm_head = None @@ -349,7 +351,7 @@ class Qwen3VLWithExpertModel(nn.Module): act_expert_config_hf.num_hidden_layers = action_expert_config.num_hidden_layers act_expert_config_hf.num_key_value_heads = action_expert_config.num_key_value_heads act_expert_config_hf.max_position_embeddings = self.und_expert.config.text_config.max_position_embeddings - act_expert_config_hf.rope_scaling = self.und_expert.config.text_config.rope_scaling + act_expert_config_hf.rope_parameters = self.und_expert.config.text_config.rope_parameters.copy() self.act_expert = Qwen3VLTextModel(config=act_expert_config_hf) self.act_expert.embed_tokens = None self.act_expert.lm_head = None @@ -383,7 +385,7 @@ class Qwen3VLWithExpertModel(nn.Module): use_cache: bool, ) -> tuple[list[torch.Tensor | None], Any]: if inputs_embeds[1] is None and inputs_embeds[2] is None: - prefix_output = self.und_expert.language_model.forward( + prefix_output = self.und_expert.model.language_model.forward( inputs_embeds=inputs_embeds[0], attention_mask=attention_mask, position_ids=position_ids, @@ -412,7 +414,7 @@ class Qwen3VLWithExpertModel(nn.Module): ) return [None, None, suffix_output.last_hidden_state], None - models = [self.und_expert.language_model, self.gen_expert, self.act_expert] + models = [self.und_expert.model.language_model, self.gen_expert, self.act_expert] stacked_inputs = [inputs_embeds[0], inputs_embeds[1], inputs_embeds[2]] for layer_idx in range(self.und_expert.config.text_config.num_hidden_layers): stacked_inputs = compute_layer_complete( @@ -481,7 +483,7 @@ class InternVLAA1(nn.Module): def set_attention_implementation(self, attn_implementation: str) -> None: self.config.attn_implementation = attn_implementation self.qwen3_vl_with_expert.und_expert.config.text_config._attn_implementation = attn_implementation - self.qwen3_vl_with_expert.und_expert.language_model.config._attn_implementation = attn_implementation + self.qwen3_vl_with_expert.und_expert.model.language_model.config._attn_implementation = attn_implementation self.qwen3_vl_with_expert.gen_expert.config._attn_implementation = attn_implementation self.qwen3_vl_with_expert.act_expert.config._attn_implementation = attn_implementation @@ -515,7 +517,12 @@ class InternVLAA1(nn.Module): image_token_id = self.qwen3_vl_with_expert.und_expert.config.image_token_id pixel_values = pixel_values.view(-1, pixel_values.shape[-1]) image_grid_thw = image_grid_thw.view(-1, 3) - image_embs, _ = self.qwen3_vl_with_expert.und_expert.visual(pixel_values, image_grid_thw) + vision_output = self.qwen3_vl_with_expert.und_expert.model.visual(pixel_values, image_grid_thw) + image_embs = ( + vision_output.pooler_output + if hasattr(vision_output, "pooler_output") + else vision_output[0] + ) embs = self.qwen3_vl_with_expert.und_expert.get_input_embeddings()(lang_tokens) batch_size, seq_len, hidden_dim = embs.shape @@ -642,11 +649,16 @@ class InternVLAA1(nn.Module): attention_mask = pad_masks.to(lang_tokens) if image_grid_thw is not None: image_grid_thw = image_grid_thw.view(-1, 3) - return self.qwen3_vl_with_expert.und_expert.model.get_rope_index( - padded_lang_tokens, - image_grid_thw, - attention_mask=attention_mask, - ) + get_rope_index = self.qwen3_vl_with_expert.und_expert.model.get_rope_index + if "mm_token_type_ids" in signature(get_rope_index).parameters: + token_types = (padded_lang_tokens == self.qwen3_vl_with_expert.und_expert.config.image_token_id).int() + return get_rope_index( + padded_lang_tokens, + mm_token_type_ids=token_types, + image_grid_thw=image_grid_thw, + attention_mask=attention_mask, + ) + return get_rope_index(padded_lang_tokens, image_grid_thw, attention_mask=attention_mask) @torch.no_grad() def sample_actions( @@ -860,12 +872,24 @@ class InternVLAA1Policy(nn.Module): loaded = loader.load_weights((name, f.get_tensor(name)) for name in file_keys) if strict: + state = instance.state_dict() expected = { name - for name, _ in instance.state_dict().items() + for name in state if not any(name.startswith(prefix) for prefix in cls._AUTO_WEIGHTS_IGNORE_PREFIXES) } - missing = sorted(expected - loaded) + # The checkpoint stores lm_head only; tied embed_tokens shares its + # storage after post_init. Loading either name initializes both. + loaded_storage = { + (state[name].data_ptr(), state[name].storage_offset()) + for name in loaded + if name in state + } + missing = sorted( + name + for name in expected - loaded + if (state[name].data_ptr(), state[name].storage_offset()) not in loaded_storage + ) if missing: preview = ", ".join(missing[:10]) suffix = " ..." if len(missing) > 10 else "" diff --git a/vllm_omni/model_executor/models/minicpmo_4_5/minicpmo_4_5_omni.py b/vllm_omni/model_executor/models/minicpmo_4_5/minicpmo_4_5_omni.py index e9ed05e75..87762a03a 100644 --- a/vllm_omni/model_executor/models/minicpmo_4_5/minicpmo_4_5_omni.py +++ b/vllm_omni/model_executor/models/minicpmo_4_5/minicpmo_4_5_omni.py @@ -301,12 +301,20 @@ class MiniCPMO45OmniForConditionalGeneration(nn.Module, SupportsMultiModal, Supp if self.model_stage == "tts": return self.talker.preprocess(input_ids=input_ids, input_embeds=input_embeds, **kwargs) if self.model_stage != "llm": - embeds = input_embeds if input_embeds is not None else self.get_input_embeddings(input_ids) + embeds = ( + input_embeds + if kwargs.get("_omni_input_embeds_precomputed") and input_embeds is not None + else self.get_input_embeddings(input_ids) + ) return input_ids, embeds, {} duplex = kwargs.get("duplex") if not isinstance(duplex, dict) or duplex.get("data_plane") is not True: - embeds = input_embeds if input_embeds is not None else self.get_input_embeddings(input_ids) + embeds = ( + input_embeds + if kwargs.get("_omni_input_embeds_precomputed") and input_embeds is not None + else self.get_input_embeddings(input_ids) + ) return input_ids, embeds, {} prompt_len_meta = kwargs.get("duplex_prompt_len") diff --git a/vllm_omni/model_executor/models/step_audio2/step_audio2_token2wav.py b/vllm_omni/model_executor/models/step_audio2/step_audio2_token2wav.py index 8e3c56b32..41db386f6 100644 --- a/vllm_omni/model_executor/models/step_audio2/step_audio2_token2wav.py +++ b/vllm_omni/model_executor/models/step_audio2/step_audio2_token2wav.py @@ -174,7 +174,13 @@ class StepAudio2Token2WavCore(nn.Module): ) with open(f"{self.model_path}/flow.yaml") as f: - configs = load_hyperpyyaml(f) + flow_yaml = f.read() + # MiniCPM-o's flow.yaml names the standalone ``cosyvoice2`` package, + # while the shared in-tree vocoder uses its implementation shipped in + # ``stepaudio2-minicpmo``. Resolve those YAML tags locally instead of + # relying on the external Token2wav constructor's sys.modules aliases. + flow_yaml = flow_yaml.replace("!new:cosyvoice2.", "!new:stepaudio2.cosyvoice2.") + configs = load_hyperpyyaml(io.StringIO(flow_yaml)) self._flow = configs["flow"] if self.float16: self._flow.half() diff --git a/vllm_omni/worker/gpu_ar_model_runner.py b/vllm_omni/worker/gpu_ar_model_runner.py index c43bd1330..5525dce08 100644 --- a/vllm_omni/worker/gpu_ar_model_runner.py +++ b/vllm_omni/worker/gpu_ar_model_runner.py @@ -1439,19 +1439,22 @@ class GPUARModelRunner(OmniGPUModelRunner, OmniConnectorModelRunnerMixin, Duplex with _stats.timed("model.sample_async_ids_ms"): self.input_batch.update_async_output_token_ids() if logits is not None and callable(model_sample) and getattr(self.model, "prefer_model_sampler", False): + # Custom samplers may decline a row. Keep the default sampler's + # logits intact: it applies its own bias and penalties below. + model_logits = logits.clone() # Apply logit bias (min_tokens, allowed_token_ids) before # the custom model sampler — the standard GPU sampler does # this internally, but prefer_model_sampler bypasses it. if hasattr(self.sampler, "logit_bias_state"): self.sampler.logit_bias_state.apply_logit_bias( - logits, + model_logits, self.input_batch.expanded_idx_mapping, self.input_batch.idx_mapping_np, self.input_batch.positions[self.input_batch.logits_indices], ) prepared_sampling_metadata = self._sampling_metadata_for_model_sampler(sampling_metadata) - self._apply_duplex_sampling(logits, prepared_sampling_metadata) - sampler_output = model_sample(logits, prepared_sampling_metadata) + self._apply_duplex_sampling(model_logits, prepared_sampling_metadata) + sampler_output = model_sample(model_logits, prepared_sampling_metadata) if sampler_output is not None: return sampler_output # Contract: None => fall back to the default sampler (see diff --git a/vllm_omni/worker/gpu_model_runner.py b/vllm_omni/worker/gpu_model_runner.py index 27e2ad1e4..96488fc5f 100644 --- a/vllm_omni/worker/gpu_model_runner.py +++ b/vllm_omni/worker/gpu_model_runner.py @@ -1790,6 +1790,16 @@ class OmniGPUModelRunner(GPUModelRunner): req_infos["_omni_prompt_len"] = prompt_len req_infos["_omni_num_computed_tokens"] = num_computed_tokens req_infos["_omni_is_prefill"] = is_prefill + # The has_preprocess branch offers a reusable embedding buffer + # that is not initialized for ordinary text requests. Models + # may reuse its contents only when this runner filled them. + req_infos["_omni_input_embeds_precomputed"] = bool( + is_first_rank + and ( + (self.supports_mm_inputs and not is_encoder_decoder) + or self.enable_prompt_embeds + ) + ) # Output-token cap, so a model that must ship a payload on the # request's final step can tell which step that is. A finished # request drops out of req_ids_output_copy, and downstream