Kimi K3 · Serving

S11 · vLLM MoE

Valid

vLLM Ascend Qwen3-30B-A3B MoE system serving 2dev · Joint Optimization

1.00×PERFORMANCE RATIO
156TOOL EVENTS
1TEXT PATCHES
0BINARY NAMES

01 / PROCESS MAP

Agents over time

Compare agents on one time axis; overlapping spans line up vertically. Select an agent or bar to inspect its events.

Elapsed time · mm:ss

Agent / model
+06:54+10:03+13:12+16:21+19:29
Main agentKimi K3Main timeline · 91 calls
Subagent 1Kimi K3From Main agent · 65 calls

Time starts at the first recorded activity. Select a bar or agent to open its events. Bars span the first and last recorded observation, including gaps; colored ticks mark tool calls. A hollow diamond marks a delegation whose child timing is unavailable.

InspectEditValidateExecuteBuildProfileRollbackOther
108Inspect
7Edit
18Validate
11Execute
1Profile
11Other

02 / EVENT SEQUENCE

Event timeline

Requests are grouped by agent, activity and topic. Delegations open into child branches. Summaries describe visible requests; tool errors and missing responses are flagged. A recorded response does not establish command success or a performance improvement.

Show event timelineHide event timeline89 groups · 156 calls · 1 subagents

Scroll within this panel to view all events. Command sketches retain familiar programs and options. Values become <val> or <n>; paths, addresses and script bodies are hidden as <path>, <url> and <script>. Each branch belongs to its named agent. Expand a delegation to inspect its child; branches can run concurrently. Call numbers preserve source order, not a serial schedule. Times are relative to the first recorded activity.

Main agent

  1. Inspect · Source & workspace

    Requested workspace inspection related to source & workspace.

    1 call · #0066–#0066

    echo <val>ls -l -a <val> <n> > <path>
  2. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    2 calls · #0067–#0068

    Read <path>
  3. Inspect · Source & workspace

    Requested environment setup or inspection, workspace inspection and file and log inspection related to source & workspace.

    3 calls · #0069–#0071

    env <vars>find <val> -type <val>sortRead <path>
  4. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    3 calls · #0072–#0074

    Read <path>
  5. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    3 calls · #0075–#0077

    Read <path>
  6. Inspect · Runtime processes

    Requested file and log inspection related to runtime processes.

    1 call · #0078–#0078

    Read <path>
  7. Validate · Benchmark & validation setup

    Requested environment setup or inspection and file and log inspection related to benchmark & validation setup.

    1 call · #0079–#0079

    env <vars><command> <args>cat <path>
  8. Validate · Batching & scheduling

    Requested environment setup or inspection and script or workload execution related to batching & scheduling.

    1 call · #0080–#0080

    env <vars>python3 -c <script>
  9. Inspect · Source & workspace

    Requested file and log inspection, environment setup or inspection and source searches related to source & workspace.

    2 calls · #0081–#0082

    Read <path>envgrep -E <val>sortecho <flag>ls <path>
  10. Inspect · Device memory

    Requested file and log inspection and runtime inspection related to device memory.

    1 call · #0083–#0083

    cat <path> <n> > <path>head -n <n>echo <flag>npu-smi info <n> > <path>
  11. Inspect · Source & workspace

    1 tool error

    Requested workspace inspection and file and log inspection related to source & workspace.

    1 call · #0084–#0084

    ls <path>echo <flag>ls <path> <n> > <path>head -n <n>
  12. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0085–#0085

    Read <path>
  13. Inspect · Source & workspace

    Requested repository inspection, file and log inspection and workspace inspection related to source & workspace.

    2 calls · #0086–#0087

    cd <path>git log --oneline <flag>git status --shortheadecho <flag>date -u
    5 more command sketches
    ls -l -a <path> <path> <n> > <path>df -h <path>tail -n <n>free -ghead -n <n>
  14. Validate · Benchmark & validation setup

    Requested script or workload execution related to benchmark & validation setup.

    1 call · #0088–#0088

    bash <script>
  15. Inspect · Source & workspace

    Requested source searches, file and log inspection and repository inspection related to source & workspace.

    2 calls · #0089–#0090

    cd <path>grep -n <val> <path>head -n <n>cat <path> <n> > <path>git log <flag> <args>python3 -c <script> <n> > <path>
  16. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0091–#0091

    Delegate <task>
    Subagent 1· Kimi K3 · explore · 65 visible callsCompleted

    Delegated by Main agent at call #0091. Observed activity +08:02–+18:35.

    1. Inspect · Attention kernels

      Requested workspace inspection related to attention kernels.

      1 call · #0001–#0001

      ls <path>ls <path> <path> <path> <path> <path> <n> >& <path>
    2. Inspect · Source & workspace

      Requested workspace inspection, file and log inspection and source searches related to source & workspace.

      14 calls · #0002–#0015

      ls <path> <path> <n> >& <path>ls <path>head -n <n>Read <path>ls <path> <path> <path>grep -n <val> -r <path>
      4 more command sketches
      grep -n <val> <path>grep -r -n <val> <path>headgrep -n <val> -A <n> <path>
    3. Inspect · Speculative decoding

      Requested source searches and file and log inspection related to speculative decoding.

      1 call · #0016–#0016

      grep -n <val> -A <n> <path>head -n <n>
    4. Inspect · Source & workspace

      Requested source searches, file and log inspection and workspace inspection related to source & workspace.

      14 calls · #0017–#0030

      grep -n <val> <path> <path>head -n <n>grep -n <val> <path>Read <path>grep -r -n <val> <path> <path> --include <path> -i -lhead
      8 more command sketches
      sed -n <val> <path>grep -r -n <val> <path>grep -r -n <val> <path> <path> <n> > <path>echo <flag>grep -n <val> -A <n> <path>ls <path> <path>echo <val>grep -r -n <val> <path> <path>
    5. Inspect · Attention kernels

      Requested source searches and file and log inspection related to attention kernels.

      1 call · #0031–#0031

      grep -r -n <val> <path>head -n <n>grep -n <val> <path>
    6. Inspect · Source & workspace

      Requested file and log inspection, source searches and workspace inspection related to source & workspace.

      8 calls · #0032–#0039

      Read <path>grep -r -n <val> <path> <n> > <path>headls <path>head -n <n>grep -r -n <val> <path> --include <path> -l
      7 more command sketches
      grep -v <val>grep -n <val> <path>grep -r -n <val> <path>grep -r -n <val> <path> <path>grep -r -n <val> -A <n> <path> --include <path>grep -n <val> -A <n> <path>sed -n <val> <path>
    7. Inspect · Attention kernels

      Requested source searches and file and log inspection related to attention kernels.

      1 call · #0040–#0040

      grep -n <val> <path> <path> <path> <path> <path> <n> > <path>head -n <n>
    8. Inspect · Source & workspace

      Requested source searches and file and log inspection related to source & workspace.

      1 call · #0041–#0041

      grep -r -n <val> <path> --include <path>head -n <n>
    9. Inspect · Attention kernels

      Requested source searches and file and log inspection related to attention kernels.

      1 call · #0042–#0042

      grep -r -n <val> <path>headgrep -n <val> <path>
    10. Inspect · Source & workspace

      Requested file and log inspection and source searches related to source & workspace.

      3 calls · #0043–#0045

      sed -n <val> <path>grep -r -n <val> <path> <path> <n> > <path>headgrep -r -n <val> <path>head -n <n>grep -n <val> <path>
      1 more command sketches
      Read <path>
    11. Inspect · Attention kernels

      Requested source searches and file and log inspection related to attention kernels.

      2 calls · #0046–#0047

      grep -n <val> <path>head -n <n>grep -r -n <val> <path> <path> <n> > <path>grep -n <val> -A <n> <path>
    12. Inspect · Source & workspace

      Requested file and log inspection and source searches related to source & workspace.

      2 calls · #0048–#0049

      sed -n <val> <path>grep -n <val> <path>head -n <n>
    13. Inspect · Batching & scheduling

      Requested source searches and file and log inspection related to batching & scheduling.

      2 calls · #0050–#0051

      grep -n <val> <path>head -n <n>grep -r -n <val> <path> <path> <n> > <path>
    14. Inspect · Attention kernels

      Requested source searches, file and log inspection and workspace inspection related to attention kernels.

      1 call · #0052–#0052

      grep -r -n <val> <path>headls <path> <n> > <path>ls <path>
    15. Inspect · Batching & scheduling

      Requested source searches and file and log inspection related to batching & scheduling.

      1 call · #0053–#0053

      grep -r -n <val> <path> --include <path>grep <val>head -n <n>sed -n <val> <path>
    16. Inspect · Source & workspace

      Requested workspace inspection, file and log inspection and source searches related to source & workspace.

      2 calls · #0054–#0055

      ls <path>ls <path> <n> > <path>head -n <n>grep -n <val> <path>sed -n <val> <path>
    17. Inspect · Attention kernels

      Requested source searches and file and log inspection related to attention kernels.

      2 calls · #0056–#0057

      grep -n <val> <path>head -n <n>sed -n <val> <path>
    18. Inspect · Source & workspace

      Requested source searches and file and log inspection related to source & workspace.

      2 calls · #0058–#0059

      grep -n <val> <path>head -n <n>head -n <n> <path>grep -r -n <val> <path>
    19. Inspect · Batching & scheduling

      Requested source searches and file and log inspection related to batching & scheduling.

      1 call · #0060–#0060

      grep -n <val> <path>head -n <n>grep -r -n <val> <path> --include <path>grep -v <val>
    20. Inspect · Source & workspace

      Requested file and log inspection related to source & workspace.

      1 call · #0061–#0061

      sed -n <val> <path>
    21. Inspect · Batching & scheduling

      Requested source searches and file and log inspection related to batching & scheduling.

      1 call · #0062–#0062

      grep -r -n <val> <path> -r --include <path>head -n <n>grep -r -n <val> <path> <path> <n> > <path>
    22. Inspect · Attention kernels

      Requested source searches and file and log inspection related to attention kernels.

      1 call · #0063–#0063

      grep -n <val> <path>head -n <n>
    23. Inspect · Source & workspace

      Requested source searches and file and log inspection related to source & workspace.

      2 calls · #0064–#0065

      grep -n <val> <path>head -n <n>cat <path> <n> > <path>grep -r -n <val> <path> <n> > <path>
  17. Validate · Benchmark & validation setup

    Requested file and log inspection and script or workload execution related to benchmark & validation setup.

    1 call · #0092–#0092

    cat <path> <n> > <path>python3 -m <module>head -n <n>echo <val>tail -n <n> <path>
  18. Validate · Task requirements

    Requested environment setup or inspection and script or workload execution related to task requirements.

    1 call · #0093–#0093

    env <vars>python3 -c <script>
  19. Execute · Benchmark & validation setup

    Requested script or workload execution related to benchmark & validation setup.

    1 call · #0094–#0094

    bash <script>
  20. Other · Source & workspace

    Requested workspace file updates related to source & workspace.

    1 call · #0095–#0095

    mkdir -p <path>
  21. Edit · Source & workspace

    Requested code edits related to source & workspace.

    2 calls · #0096–#0097

    Write <path>
  22. Profile · Runtime processes

    Requested script or workload execution and file and log inspection related to runtime processes.

    1 call · #0098–#0098

    cd <path>python3 -c <script> <n> >& <path>tail -n <n>
  23. Execute · Runtime processes

    Requested script or workload execution, source searches and file and log inspection related to runtime processes.

    2 calls · #0099–#0100

    cd <path>python3 -m <module> <val> --help <n> > <path>grep -E <val>headtimeout <n> <val> -m <val> <val> --help <n> >& <path>grep <flag> <args>
    1 more command sketches
    head -n <n>
  24. Inspect · Batching & scheduling

    Requested source searches and file and log inspection related to batching & scheduling.

    1 call · #0101–#0101

    cd <path>grep -r -n <val> <path>head -n <n>
  25. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0102–#0102

    cd <path>sed -n <val> <path>
  26. Execute · Benchmark & validation setup

    Requested file and log inspection, workspace inspection and source searches related to benchmark & validation setup.

    2 calls · #0103–#0104

    tail -n <n> <path> <n> > <path>ls -l -a <path>grep -E <path> <path> <n> > <path>tail -n <n>grep -E <val> <path> <n> > <path>grep <flag> <args>
  27. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0105–#0105

    Wait for <task>
  28. Inspect · Source & workspace

    Requested workspace inspection related to source & workspace.

    1 call · #0106–#0106

    ls <path> <val> -rf <path> <path> <val> <path>
  29. Validate · Benchmark & validation setup

    Requested workspace file updates and script or workload execution related to benchmark & validation setup.

    2 calls · #0107–#0108

    cp <path> <path>echo <val>bash <script>
  30. Inspect · Source & workspace

    Requested file and log inspection and source searches related to source & workspace.

    3 calls · #0109–#0111

    cd <path>sed -n <val> <path>Search <pattern> <path>Read <path>
  31. Validate · Benchmark & validation setup

    Requested workspace file updates and script or workload execution related to benchmark & validation setup.

    2 calls · #0112–#0113

    rm -f <path> <path>rm -rf <path> <val> <path> <path>bash <script>
  32. Inspect · Source & workspace

    Requested source searches and file and log inspection related to source & workspace.

    2 calls · #0114–#0115

    cd <path>grep -n <val> <path> <path> <path>head -n <n>sed -n <val> <path>grep -n <val> <path>
  33. Validate · Benchmark & validation setup

    1 tool error

    Requested file and log inspection, source searches and script or workload execution related to benchmark & validation setup.

    2 calls · #0116–#0117

    head -n <n> <path> <n> > <path>grep -v -E <val>head -n <n>grep <flag> <args>cat <path> <n> > <path>python3 -c <script>
  34. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0118–#0118

    Wait for <task>
  35. Validate · Task requirements

    Requested workspace file updates and workspace inspection related to task requirements.

    1 call · #0119–#0119

    mkdir -p <path>cp <path> <path> <path>ls -l -a <path>rm -rf <path>rm -f <path>
  36. Validate · Benchmark & validation setup

    Requested environment setup or inspection related to benchmark & validation setup.

    1 call · #0120–#0120

    env <vars> bash <script>
  37. Validate · Device memory

    Requested source searches, file and log inspection and runtime inspection related to device memory.

    1 call · #0121–#0121

    grep <flag> <args>headnpu-smi info <n> > <path>grep -E <val>head -n <n>
  38. Inspect · Benchmark & validation setup

    Requested source searches and file and log inspection related to benchmark & validation setup.

    2 calls · #0122–#0123

    grep <flag> <args>grep -v <val>head -n <n>tail -n <n> <path>cut <flag>
  39. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0124–#0124

    Wait for <task>
  40. Validate · Benchmark & validation setup

    Requested workspace file updates and environment setup or inspection related to benchmark & validation setup.

    2 calls · #0125–#0126

    cp <path> <path>mv <path> <path>rm -rf <path>rm -f <path>echo <val>env <vars> bash <script>
  41. Inspect · Source & workspace

    Requested workspace file updates and workspace inspection related to source & workspace.

    1 call · #0127–#0127

    mv <path> <path>ls -l -a <path>
  42. Inspect · Runtime processes

    Requested source searches and file and log inspection related to runtime processes.

    1 call · #0128–#0128

    cd <path>grep -n <val> <path>headgrep -r -n <val> <path> --include <val> --include <val> -l <n> > <path>head -n <n>
  43. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0129–#0129

    Wait for <task>
  44. Execute · Benchmark & validation setup

    Requested workspace file updates and script or workload execution related to benchmark & validation setup.

    1 call · #0130–#0130

    rm -rf <path>rm -f <path>bash <script>
  45. Inspect · Source & workspace

    Requested source searches and file and log inspection related to source & workspace.

    2 calls · #0131–#0132

    cd <path>grep -r -n <val> <path> --include <path>grep -v <val>headsed -n <val> <path>
  46. Inspect · Attention kernels

    Requested source searches related to attention kernels.

    1 call · #0133–#0133

    grep -E <val> <path>
  47. Inspect · Source & workspace

    Requested source searches and file and log inspection related to source & workspace.

    1 call · #0134–#0134

    cd <path>grep -n <val> <path>head -n <n>grep -r -n <val> <path>
  48. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0135–#0135

    Wait for <task>
  49. Execute · Benchmark & validation setup

    Requested workspace file updates, environment setup or inspection and source searches related to benchmark & validation setup.

    1 call · #0136–#0136

    cp <path> <path>env <vars>grep <val> <val>awk <flag> <args>awk <val>sort -n
  50. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0137–#0137

    Read <path>
  51. Edit · Source & workspace

    Requested code edits related to source & workspace.

    2 calls · #0138–#0139

    Edit <path>
  52. Execute · Benchmark & validation setup

    1 tool error

    Requested workspace file updates, script or workload execution and environment setup or inspection related to benchmark & validation setup.

    3 calls · #0140–#0142

    rm -rf <path>rm -f <path>bash <script>env <vars>grep <val> <val> <n> > <path>tail -n <n>
    5 more command sketches
    head -n <n>sleep <n>tail -n <n> <path>cut <flag>grep -c <path> <path>
  53. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0143–#0143

    Wait for <task>
  54. Inspect · Source & workspace

    Requested source searches and file and log inspection related to source & workspace.

    1 call · #0144–#0144

    cd <path>grep -r -n <val> <path> --include <path>grep -v <val>head -n <n>
  55. Validate · Benchmark & validation setup

    Requested workspace file updates and environment setup or inspection related to benchmark & validation setup.

    1 call · #0145–#0145

    cp <path> <path>rm -rf <path>rm -f <path>env <vars> bash <script>
  56. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0146–#0146

    Read <path>
  57. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0147–#0147

    Edit <path>
  58. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0148–#0148

    Wait for <task>
  59. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0149–#0149

    Edit <path>
  60. Execute · Benchmark & validation setup

    Requested workspace file updates and script or workload execution related to benchmark & validation setup.

    1 call · #0150–#0150

    rm -rf <path>rm -f <path>bash <script>
  61. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0151–#0151

    cd <path>git status --shortecho <flag>
  62. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0152–#0152

    Wait for <task>
  63. Validate · Benchmark & validation setup

    Requested workspace file updates and environment setup or inspection related to benchmark & validation setup.

    1 call · #0153–#0153

    cp <path> <path>rm -rf <path>rm -f <path>env <vars> bash <script>
  64. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0154–#0154

    Edit <path>
  65. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0155–#0155

    Wait for <task>
  66. Inspect · Source & workspace

    Requested script or workload execution, file and log inspection and repository inspection related to source & workspace.

    1 call · #0156–#0156

    bash <script> <n> >& <path>tail -n <n>cd <path>git status --shortpython3 -c <script>

03 / CANDIDATE ARTIFACT

Text patches & binary names

Read code changes as Git diffs. Identifying strings are masked; binary files are listed by their full relative names.

vllm_ascend · 2 changed files

Base commit: 7c254c14e2f2db1185d739075ee3cdc1da3cfde2

diff --git a/vllm_ascend/deployment/__init__.py b/vllm_ascend/deployment/__init__.pynew file mode 100644index 0000000000000000000000000000000000000000..95c66e649b9f92f4e9ff566f574002ebc5dbdf6a--- /dev/null+++ b/vllm_ascend/deployment/__init__.py@@ -0,0 +1,2 @@+# SPDX-License-Identifier: Apache-2.0+"""Framework-owned deployment entrypoints for vLLM Ascend."""diff --git a/vllm_ascend/deployment/qwen3_30b_a3b.py b/vllm_ascend/deployment/qwen3_30b_a3b.pynew file mode 100644index 0000000000000000000000000000000000000000..2294752a0aa8ff88f46217e6b565d20ea129163a--- /dev/null+++ b/vllm_ascend/deployment/qwen3_30b_a3b.py@@ -0,0 +1,135 @@+# SPDX-License-Identifier: Apache-2.0+"""Framework-owned serving deployment for Qwen3-30B-A3B on Ascend 910B.++The host invokes this module as the outer service ABI:++    python -B -m vllm_ascend.deployment.qwen3_30b_a3b \+        --model-path PATH --tokenizer-path PATH \+        --served-model-name Qwen/Qwen3-30B-A3B \+        --host 127.0.0.1 --port PORT \+        --device-ids ID0,ID1 --runtime-dir PATH++The process stays in the foreground, exposes /v1/models and+/v1/completions, and shuts down cleanly on SIGTERM.  Internally it+launches the vLLM OpenAI-compatible server with a TP/EP plan and+scheduler configuration tuned for two Ascend 910B devices.++Tuning notes (all changes are numerically neutral with respect to the+reference deployment; per-token math, chunking at low concurrency, and+the decode graph capture sizes are unchanged):++* ``gpu_memory_utilization`` 0.60 -> 0.85: the reference leaves little+  headroom beyond weights and KV cache on the 64GB HBM.  The larger+  budget avoids allocation pressure for big chunked-prefill steps and+  the ACL graph memory pool.  Memory sizing does not alter math.+* ``max_num_batched_tokens`` 8192 -> 32768: the shifted-prefill profile+  submits 32 concurrent 2048-token prompts.  A 32K token budget packs+  up to 16 prompts per scheduler step, cutting the number of MoE+  allgather rounds per phase by 4x.  At the correctness-probe scale+  (concurrency <= 8, prompts <= 2048 tokens) every step fits in one+  chunk under both budgets, so low-concurrency numerics are identical.+* ``weight_prefetch_config.enabled``: prefetch the next layer's+  attention and MoE gate_up weights on a side stream during compute.+  Pure data movement; kernel numerics are unchanged.+* Async scheduling stays enabled (upstream default); it overlaps CPU+  scheduling with device execution without changing batch contents.+"""++from __future__ import annotations++import argparse+import json+import os+import sys++MODEL_ID = "Qwen/Qwen3-30B-A3B"++# Scheduler / memory plan for two 910B (64GB HBM) devices.+GPU_MEMORY_UTILIZATION = 0.85+MAX_MODEL_LEN = 4096+MAX_NUM_SEQS = 64+MAX_NUM_BATCHED_TOKENS = 32768++# Decode profile runs at concurrency 64 and the prefill profile at 32;+# capture exactly those uniform decode batch sizes plus the small sizes+# used by warmup and correctness traffic.+COMPILATION_CONFIG = {+    "cudagraph_mode": "FULL_DECODE_ONLY",+    "cudagraph_capture_sizes": [8, 16, 32, 64],+}++# Prefetch the next layer's attention and MoE gate_up weights on a side+# stream while the current layer computes.  Pure data movement, so the+# numerics of every kernel stay unchanged.+ADDITIONAL_CONFIG = {+    "weight_prefetch_config": {"enabled": True},+}+++def parse_args() -> argparse.Namespace:+    parser = argparse.ArgumentParser()+    parser.add_argument("--model-path", required=True)+    parser.add_argument("--tokenizer-path", required=True)+    parser.add_argument("--served-model-name", default=MODEL_ID)+    parser.add_argument("--host", default="127.0.0.1")+    parser.add_argument("--port", type=int, required=True)+    parser.add_argument("--device-ids", default="")+    parser.add_argument("--runtime-dir", default=None)+    return parser.parse_args()+++def build_serve_argv(args: argparse.Namespace) -> list[str]:+    device_ids = [item for item in args.device_ids.split(",") if item]+    tensor_parallel_size = max(1, len(device_ids))+    return [+        sys.executable,+        "-B",+        "-m",+        "vllm.entrypoints.cli.main",+        "serve",+        args.model_path,+        "--tokenizer",+        args.tokenizer_path,+        "--served-model-name",+        args.served_model_name,+        "--host",+        args.host,+        "--port",+        str(args.port),+        "--dtype",+        "bfloat16",+        "--max-model-len",+        str(MAX_MODEL_LEN),+        "--tensor-parallel-size",+        str(tensor_parallel_size),+        "--enable-expert-parallel",+        "--gpu-memory-utilization",+        str(GPU_MEMORY_UTILIZATION),+        "--max-num-seqs",+        str(MAX_NUM_SEQS),+        "--max-num-batched-tokens",+        str(MAX_NUM_BATCHED_TOKENS),+        "--enable-chunked-prefill",+        "--no-enable-prefix-caching",+        "--async-scheduling",+        "--generation-config",+        "vllm",+        "--compilation-config",+        json.dumps(COMPILATION_CONFIG),+        "--additional-config",+        json.dumps(ADDITIONAL_CONFIG),+    ]+++def main() -> None:+    args = parse_args()+    argv = build_serve_argv(args)+    # Replace this process with the OpenAI server.  The PID and process+    # group are preserved, so the host's SIGTERM/killpg lifecycle and+    # readiness probing apply unchanged, and engine-core children stay in+    # the same process group for cleanup.+    os.execvpe(argv[0], argv, os.environ)+++if __name__ == "__main__":+    main()