GPT-5.6 Sol · Serving

S08 · vLLM 8B

Valid

vLLM Ascend Qwen3-8B CodeOpt saturation 1dev · Implementation Optimization

1.12×PERFORMANCE RATIO
206TOOL EVENTS
1TEXT PATCHES
0BINARY NAMES

01 / PROCESS MAP

Tool activity

Each row shows one agent’s tool events in its own recorded order. Colors show broad activities; bar widths do not represent duration.

Main agentGPT-5.6 Sol · 206 visible calls

InspectEditValidateExecuteBuildProfileRollbackOther
115Inspect
7Edit
19Validate
5Execute
60Other

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 timeline94 groups · 206 calls

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>.

Main agent

  1. Inspect · Task requirements

    Requested workspace inspection, environment setup or inspection and file and log inspection related to task requirements.

    1 call · #0001–#0001

    pwdprintenv <vars>sed -n <val> <path>git status --short
  2. Inspect · Source & workspace

    Requested source searches related to source & workspace.

    1 call · #0002–#0002

    rg --files <val>sort
  3. Inspect · Task requirements

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

    3 calls · #0003–#0005

    wc -l <path> <path> <path> <path> <path> <path> <path> <path>ls -l -h <path> <path> <path> <path>sed -n <val> <path>
  4. Other · Source & workspace

    1 tool error

    Requested script or workload execution related to source & workspace.

    1 call · #0006–#0006

    bash <script>
  5. Inspect · Source & workspace

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

    2 calls · #0007–#0008

    envrg <val>sortsed -n <val> <path>
  6. Validate · Task requirements

    Requested source searches and file and log inspection related to task requirements.

    1 call · #0009–#0009

    rg --files -g <val> -g <path> <path> <path>jq <val> <path><command> <args>sha256sum <path> <path>
  7. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    2 calls · #0010–#0011

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

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

    3 calls · #0012–#0014

    sed -n <val> <path>find <val> -maxdepth <n> -type <val> <flag> <args>sortenv <vars> bash <script>
  9. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0015–#0015

    jq <path> <val>jq <path> <path>printf <val> <val>
  10. Inspect · Benchmark & validation setup

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

    1 call · #0016–#0016

    tail -n <n> <path>
  11. Validate · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0017–#0017

    env <vars> bash <script>
  12. Validate · Benchmark & validation setup

    Requested workspace file updates, workspace inspection and repository inspection related to benchmark & validation setup.

    1 call · #0018–#0018

    cp <path> <path>find <path> -maxdepth <n> <val> -name <val> -o -name <val> -o -name <val> <args>sortgit -C <path> <val> --short
  13. Inspect · Source & workspace

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

    3 calls · #0019–#0021

    sed -n <val> <path>git -C <path> <val> --oneline <flag> <args>git -C <path> <val> <flag> <args>rg -n <val> <path> <path>head -n <n>tail -n <n> <path>
  14. Inspect · Attention kernels

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

    4 calls · #0022–#0025

    sed -n <val> <path>rg -n <val> <path> <path>jq <val> <path>rg -n <val> <path> <path> <path>head -n <n>
  15. Inspect · Source & workspace

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

    1 call · #0026–#0026

    ls -l <path> <path> <n> > <path>truecommand -v <val>tail -n <n> <path>
  16. Inspect · Attention kernels

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

    3 calls · #0027–#0029

    rg -n <val> <path>head -n <n>sed -n <val> <path>rg -n <val> <path> <path> -g <path>rg -n <val> <path> <path> <path>
  17. Inspect · Source & workspace

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

    11 calls · #0030–#0040

    sed -n <val> <path>rg -n <val> <path> -g <path> -g <path>head -n <n>rg --files <path>rg <val>rg -n <val> <path> <path>
    7 more command sketches
    rg -n <val> <path> <path> <path>rg -n <val> <path> <path> -g <path>rg -n <val> <path>find <val> -maxdepth <n> -type <val> <flag> <args>sorttail -n <n> <path>sed -n <path>
  18. Inspect · Batching & scheduling

    Requested file and log inspection related to batching & scheduling.

    1 call · #0041–#0041

    jq <val> <path>tail -n <n> <path>
  19. Inspect · Source & workspace

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

    2 calls · #0042–#0043

    sed -n <val> <path>rg -n <val> <path> <path> <path> -g <path>head -n <n>rg -n <val> <path> <path> -g <path>
  20. Inspect · Precision & numerical checks

    Requested source searches and file and log inspection related to precision & numerical checks.

    1 call · #0044–#0044

    rg -n <val> <path> <path> <path> <n> > <path>head -n <n>
  21. Inspect · Source & workspace

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

    2 calls · #0045–#0046

    rg -n <val> <path> <path> -g <val>head -n <n>sed -n <val> <path>
  22. Inspect · Device memory

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

    1 call · #0047–#0047

    npu-smi info <n> > <path>head -n <n>find <val> -maxdepth <n> -name <val> <flag> <args>sort
  23. Inspect · Source & workspace

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

    3 calls · #0048–#0050

    sed -n <val> <path> <n> > <path>truerg -n <val> <path> <path> <path>head -n <n>rg -n <val> <path> <path> -g <path>sed -n <val> <path>
  24. Inspect · Device memory

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

    1 call · #0051–#0051

    find <val> -maxdepth <n> -name <val> <flag> <args>sortnpu-smi info <n> > <path>sed -n <val>
  25. Inspect · Source & workspace

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

    5 calls · #0052–#0056

    rg -n <val> <path>sed -n <val> <path>sed -n <val> <path> <n> > <path>truerg -n <val> <path> -g <path>head -n <n>
    6 more command sketches
    rg -n <val> <path> <path> <path> -g <path> -g <val>rg -n <val> <path> <path> -g <path>find <val> -maxdepth <n> -name <val> <flag> <args>sorttail -n <n> <path>jq <val> <path>
  26. Other · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0057–#0057

    env <vars> bash <script>
  27. Inspect · Source & workspace

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

    5 calls · #0058–#0062

    sed -n <val> <path>git status --shortrg -n <val> <path> <path> <val> -g <path>head -n <n>rg -n <val> <path>rg -n <val> <val> <val> <val> -g <val>
  28. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0063–#0063

    Apply patch <patch>
  29. Inspect · Source & workspace

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

    1 call · #0064–#0064

    rg -n <val> <path>head -n <n>sed -n <val> <path>git diff <flag> <args>
  30. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0065–#0065

    Apply patch <patch>
  31. Other · Source & workspace

    Requested workspace inspection and repository inspection related to source & workspace.

    1 call · #0066–#0066

    command -v <val>truels <flag> <args>git diff --checkgit diff --statgit status --short
  32. Validate · Task requirements

    1 tool error

    Requested environment setup or inspection related to task requirements.

    1 call · #0067–#0067

    env <vars> bash <script>
  33. Inspect · Benchmark & validation setup

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

    1 call · #0068–#0068

    find <val> -maxdepth <n> -type <val> <flag> <args>sortrg -n <val> <path> <path>head -n <n>
  34. Validate · Benchmark & validation setup

    Requested tool activity related to benchmark & validation setup.

    3 calls · #0069–#0071

    <command> <args>
  35. Inspect · Benchmark & validation setup

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

    2 calls · #0072–#0073

    tail -n <n> <path>
  36. Validate · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0074–#0074

    env <vars> bash <script>
  37. Execute · Benchmark & validation setup

    Requested workspace file updates related to benchmark & validation setup.

    1 call · #0075–#0075

    mv <path> <path>
  38. Other · Source & workspace

    Requested workspace file updates related to source & workspace.

    1 call · #0076–#0076

    mv <path> <path>
  39. Other · Batching & scheduling

    Requested workspace file updates related to batching & scheduling.

    4 calls · #0077–#0080

    mv <path> <path>
  40. Other · Source & workspace

    Requested workspace file updates related to source & workspace.

    8 calls · #0081–#0088

    mv <path> <path>
  41. Inspect · Source & workspace

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

    3 calls · #0089–#0091

    tail -n <n> <path>find <val> -maxdepth <n> -type <val> -name <val> <flag> <args>sort
  42. Inspect · Batching & scheduling

    Requested file and log inspection and workspace inspection related to batching & scheduling.

    4 calls · #0092–#0095

    sed -n <val> <path>tail -n <n> <path>ls -l <path> <n> > <path>true<command> <args>find <val> -maxdepth <n> -type <val> -name <val> <flag> <args>
    1 more command sketches
    sort
  43. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    5 calls · #0096–#0100

    <command> <args>sed -n <val> <path>
  44. Other · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0101–#0101

    env <vars> bash <script>
  45. Inspect · Attention kernels

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

    2 calls · #0102–#0103

    sed -n <val> <path>rg -n <val> <path> <val>head -n <n>rg -n <val> <path> -g <val>
  46. Inspect · Source & workspace

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

    5 calls · #0104–#0108

    rg -n <val> <path>head -n <n>sed -n <val> <path>rg -n <val> <path> <path>
  47. Edit · Attention kernels

    Requested code edits related to attention kernels.

    1 call · #0109–#0109

    Apply patch <patch>
  48. Inspect · Attention kernels

    Requested repository inspection related to attention kernels.

    1 call · #0110–#0110

    git diff --checkgit diff --statgit diff <flag> <args>
  49. Validate · Benchmark & validation setup

    Requested workspace file updates related to benchmark & validation setup.

    3 calls · #0111–#0113

    mv <path> <path>
  50. Validate · Task requirements

    1 tool error

    Requested environment setup or inspection related to task requirements.

    1 call · #0114–#0114

    env <vars> bash <script>
  51. Inspect · Benchmark & validation setup

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

    1 call · #0115–#0115

    tail -n <n> <path>
  52. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0116–#0116

    Apply patch <patch>
  53. Inspect · Benchmark & validation setup

    Requested workspace inspection and repository inspection related to benchmark & validation setup.

    1 call · #0117–#0117

    find <val> -maxdepth <n> -type <val> <val> -name <val> -o -name <val> <args>sortgit diff --check
  54. Validate · Benchmark & validation setup

    Requested workspace file updates related to benchmark & validation setup.

    2 calls · #0118–#0119

    mv <path> <path>
  55. Inspect · Attention kernels

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

    1 call · #0120–#0120

    rg -n <val> <path>tail -n <n>
  56. Inspect · Benchmark & validation setup

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

    1 call · #0121–#0121

    tail -n <n> <path>
  57. Validate · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0122–#0122

    env <vars> bash <script>
  58. Execute · Benchmark & validation setup

    Requested workspace file updates related to benchmark & validation setup.

    1 call · #0123–#0123

    mv <path> <path>
  59. Other · Source & workspace

    Requested workspace file updates related to source & workspace.

    1 call · #0124–#0124

    mv <path> <path>
  60. Other · Batching & scheduling

    Requested workspace file updates related to batching & scheduling.

    4 calls · #0125–#0128

    mv <path> <path>
  61. Other · Source & workspace

    Requested workspace file updates related to source & workspace.

    8 calls · #0129–#0136

    mv <path> <path>
  62. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    2 calls · #0137–#0138

    tail -n <n> <path>
  63. Inspect · Batching & scheduling

    Requested workspace inspection related to batching & scheduling.

    3 calls · #0139–#0141

    find <val> -maxdepth <n> -type <val> -name <val> <flag> <args>sort<command> <args>
  64. Inspect · Source & workspace

    Requested tool activity related to source & workspace.

    4 calls · #0142–#0145

    <command> <args>
  65. Other · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0146–#0146

    env <vars> bash <script>
  66. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0147–#0147

    Apply patch <patch>
  67. Execute · Benchmark & validation setup

    Requested workspace file updates related to benchmark & validation setup.

    1 call · #0148–#0148

    mv <path> <path>
  68. Other · Source & workspace

    Requested workspace file updates related to source & workspace.

    1 call · #0149–#0149

    mv <path> <path>
  69. Other · Batching & scheduling

    Requested workspace file updates related to batching & scheduling.

    4 calls · #0150–#0153

    mv <path> <path>
  70. Other · Source & workspace

    Requested workspace file updates related to source & workspace.

    8 calls · #0154–#0161

    mv <path> <path>
  71. Inspect · Attention kernels

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

    1 call · #0162–#0162

    rg -n <val> <path>tail -n <n>
  72. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0163–#0163

    tail -n <n> <path>
  73. Inspect · Batching & scheduling

    Requested tool activity related to batching & scheduling.

    3 calls · #0164–#0166

    <command> <args>
  74. Inspect · Source & workspace

    Requested tool activity related to source & workspace.

    4 calls · #0167–#0170

    <command> <args>
  75. Other · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0171–#0171

    env <vars> bash <script>
  76. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0172–#0172

    Apply patch <patch>
  77. Execute · Benchmark & validation setup

    Requested workspace file updates related to benchmark & validation setup.

    1 call · #0173–#0173

    mv <path> <path>
  78. Other · Source & workspace

    Requested workspace file updates related to source & workspace.

    1 call · #0174–#0174

    mv <path> <path>
  79. Other · Batching & scheduling

    Requested workspace file updates related to batching & scheduling.

    4 calls · #0175–#0178

    mv <path> <path>
  80. Other · Source & workspace

    Requested workspace file updates related to source & workspace.

    8 calls · #0179–#0186

    mv <path> <path>
  81. Inspect · Attention kernels

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

    1 call · #0187–#0187

    rg -n <val> <path>tail -n <n>
  82. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0188–#0188

    tail -n <n> <path>
  83. Inspect · Batching & scheduling

    Requested tool activity related to batching & scheduling.

    3 calls · #0189–#0191

    <command> <args>
  84. Inspect · Source & workspace

    Requested tool activity related to source & workspace.

    3 calls · #0192–#0194

    <command> <args>
  85. Other · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0195–#0195

    env <vars> bash <script>
  86. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0196–#0196

    Apply patch <patch>
  87. Inspect · Attention kernels

    Requested repository inspection related to attention kernels.

    1 call · #0197–#0197

    git diff --checkgit status --shortgit diff --statgit diff <flag> <args>cd <path>
  88. Inspect · Benchmark & validation setup

    Requested workspace inspection related to benchmark & validation setup.

    1 call · #0198–#0198

    find <val> -maxdepth <n> -type <val> <val> -name <val> -o -name <val> <args>sort
  89. Validate · Benchmark & validation setup

    Requested workspace file updates related to benchmark & validation setup.

    3 calls · #0199–#0201

    mv <path> <path>
  90. Inspect · Attention kernels

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

    1 call · #0202–#0202

    rg -n <val> <path>tail -n <n>
  91. Inspect · Benchmark & validation setup

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

    1 call · #0203–#0203

    tail -n <n> <path>
  92. Validate · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0204–#0204

    env <vars> bash <script>
  93. Execute · Benchmark & validation setup

    Requested environment setup or inspection, repository inspection and source searches related to benchmark & validation setup.

    1 call · #0205–#0205

    env <vars> bash <script>git diff --checkgit status --shortgit diff <flag>cd <path><command> <args>
    2 more command sketches
    rg <val>true
  94. Other · Batching & scheduling

    Requested file and log inspection related to batching & scheduling.

    1 call · #0206–#0206

    awk <path>

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/ascend_config.py b/vllm_ascend/ascend_config.pyindex dda80f68c8cb22813215eb883951c2e50d8cd325..6305f3912990d87d137fcce53e172db04cf8b953 100644--- a/vllm_ascend/ascend_config.py+++ b/vllm_ascend/ascend_config.py@@ -23,6 +23,9 @@ from vllm.utils.math_utils import cdiv if TYPE_CHECKING:     from vllm.config import VllmConfig +# Decode shapes where PA is known to outperform FIA for dense Qwen3.+_DENSE_QWEN3_PA_SHAPES = (48, 64, 72, 80)+  class AscendConfig:     """@@ -50,6 +53,14 @@ class AscendConfig:         self.eplb_config = EplbConfig(eplb_config)          weight_prefetch_config = additional_config.get("weight_prefetch_config", {})+        if (+            "weight_prefetch_config" not in additional_config+            and self._is_high_throughput_dense_qwen3(vllm_config)+        ):+            weight_prefetch_config = {"enabled": True}+            logger.info_once(+                "Enabling weight prefetch for high-throughput dense Qwen3 inference."+            )         self.weight_prefetch_config = WeightPrefetchConfig(weight_prefetch_config)          profiling_chunk_config = additional_config.get("profiling_chunk_config", {})@@ -244,6 +255,24 @@ class AscendConfig:         # _npu_paged_attention in this cases. This should be removed once         # npu_fused_infer_attention_score performs better on all scenarios.         self.pa_shape_list = additional_config.get("pa_shape_list", [])+        if (+            "pa_shape_list" not in additional_config+            and self._is_high_throughput_dense_qwen3(vllm_config)+            and vllm_config.compilation_config.cudagraph_mode.has_full_cudagraphs()+        ):+            capture_sizes = set(+                vllm_config.compilation_config.cudagraph_capture_sizes or ()+            )+            self.pa_shape_list = [+                shape+                for shape in _DENSE_QWEN3_PA_SHAPES+                if shape in capture_sizes+            ]+            if self.pa_shape_list:+                logger.info_once(+                    "Using paged attention for dense Qwen3 decode graph shapes %s.",+                    tuple(self.pa_shape_list),+                )         # Weight NZ mode configuration.         # 0: disabled, 1: only quant case enable nz (default), 2: BF16/FP16 also enable nz         self.weight_nz_mode = self._get_config_value(@@ -350,6 +379,25 @@ class AscendConfig:         rejection_sampler_config = additional_config.get("rejection_sampler_config", {})         self.rejection_sampler_config = RejectionSamplerConfig(rejection_sampler_config) +    @staticmethod+    def _is_high_throughput_dense_qwen3(vllm_config: "VllmConfig") -> bool:+        """Identify dense Qwen3 throughput deployments for kernel tuning.++        Explicit operator configurations are handled by callers and always+        take precedence over automatic tuning.+        """+        model_config = vllm_config.model_config+        scheduler_config = vllm_config.scheduler_config+        if model_config is None or scheduler_config is None:+            return False++        hf_text_config = getattr(model_config, "hf_text_config", None)+        return (+            getattr(hf_text_config, "model_type", None) == "qwen3"+            and not getattr(model_config, "is_moe", False)+            and getattr(scheduler_config, "max_num_seqs", 0) >= 32+        )+     @staticmethod     def _get_config_value(additional_config: dict[str, Any], config_key: str, env_key: str, env_value: Any) -> Any:         if config_key in additional_config:diff --git a/vllm_ascend/attention/utils.py b/vllm_ascend/attention/utils.pyindex b8b0b1e414206d2a69acc360a31d3940a2ecc212..80a7e6980f2ccd8c720855e9fc57d86e8a3b1b07 100644--- a/vllm_ascend/attention/utils.py+++ b/vllm_ascend/attention/utils.py@@ -111,10 +111,8 @@ def using_paged_attention(runtime_shape: int, vllm_config: VllmConfig, head_size     # handled by the device adaptor.     if head_size == FIA_TND_LARGE_HEAD_FALLBACK_HEAD_SIZE:         return True-    from vllm.config.compilation import CUDAGraphMode-     cudagraph_mode = vllm_config.compilation_config.cudagraph_mode-    if cudagraph_mode != CUDAGraphMode.FULL_DECODE_ONLY:+    if not cudagraph_mode.has_full_cudagraphs():         return False      return runtime_shape in get_ascend_config().pa_shape_list