GPT-5.6 Sol · Serving

S10 · SGLang 14B

Valid

SGLang Qwen3-14B system serving 2dev · Joint Optimization

2.26×PERFORMANCE RATIO
182TOOL 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 · 182 visible calls

InspectEditValidateExecuteBuildProfileRollbackOther
114Inspect
7Edit
8Validate
14Execute
39Other

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 timeline139 groups · 182 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 source searches related to task requirements.

    2 calls · #0001–#0002

    pwdprintenv <vars>rg --files -g <val> -g <path> -g <path>sortsed -n <val> <path>jq <path> <path>
  2. Inspect · Source & workspace

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

    1 call · #0003–#0003

    git status --shortfind <val> -maxdepth <n> -type <val> <flag> <args>sortrg --files <path> <val> <n> > <path>sed -n <val>
  3. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0004–#0004

    wc -l <path> <path> <path> <path> <path> <path>
  4. Execute · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0005–#0005

    jq <path> <path><command> <args>jq <path> <val>sed -n <val> <val>
  5. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0006–#0006

    bash <script>
  6. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0007–#0007

    sed -n <val> <path>
  7. Inspect · Runtime processes

    Requested file and log inspection related to runtime processes.

    1 call · #0008–#0008

    sed -n <val> <path>
  8. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0009–#0009

    sed -n <val> <path>
  9. Inspect · Rollout generation

    1 tool error

    Requested file and log inspection related to rollout generation.

    1 call · #0010–#0010

    jq <val> <path>
  10. Inspect · Task requirements

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

    3 calls · #0011–#0013

    jq <val> <path>sha256sum <path> <path>sed -n <val> <path>rg -n <val> <val> --glob <path> --glob <path>
  11. Validate · Device memory

    Requested runtime inspection, file and log inspection and script or workload execution related to device memory.

    1 call · #0014–#0014

    printf <val> <val> <val> <val> <val>npu-smi infosed -n <val>bash <script>
  12. Validate · Benchmark & validation setup

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

    1 call · #0015–#0015

    test -f <path>jq <path> <path>trueps <flag> <args>rg <path>
  13. Inspect · Device memory

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

    1 call · #0016–#0016

    tail -n <n> <path> <n> > <path>truenpu-smi infosed -n <val>
  14. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    2 calls · #0017–#0018

    tail -n <n> <path> <n> > <path>true
  15. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0019–#0019

    bash <script>
  16. Execute · Task requirements

    Requested file and log inspection and service requests related to task requirements.

    1 call · #0020–#0020

    jq -c <path> <path>curl <flag> <args>tee <path>jq <path>
  17. Inspect · Device memory

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

    1 call · #0021–#0021

    tail -n <n> <path>rg <val>tail -n <n>npu-smi infosed -n <val>
  18. Inspect · Attention kernels

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

    2 calls · #0022–#0023

    rg --files <path>rg <val>sed -n <val>rg -n <val> <path> --glob <path>rg -n <val> <path> <path> <path>
  19. Inspect · Parallelism & communication

    Requested file and log inspection related to parallelism & communication.

    1 call · #0024–#0024

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

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

    1 call · #0025–#0025

    sed -n <val> <path>rg -n <val> <path> --glob <path>sed -n <val>
  21. Inspect · Dependencies & build setup

    Requested source searches and file and log inspection related to dependencies & build setup.

    1 call · #0026–#0026

    rg -n <val> <path> <path> --glob <path> <path>sed -n <val>sed -n <val> <path> <n> > <path>truesed -n <val> <path>
  22. Inspect · Runtime processes

    Requested file and log inspection related to runtime processes.

    1 call · #0027–#0027

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

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

    1 call · #0028–#0028

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

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

    5 calls · #0029–#0033

    sed -n <val> <path>rg -n <val> <path> <path> <val> --glob <path> --glob <path> --glob <val> <args>sed -n <val>rg -n <val> <path>rg -n <val> <path> --glob <path> --glob <path>
  25. Inspect · Speculative decoding

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

    2 calls · #0034–#0035

    rg -n <val> <path> <path> <path> --glob <path>sed -n <val>sed -n <val> <path>rg -n <val> <path> --glob <path>
  26. Inspect · Attention kernels

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

    1 call · #0036–#0036

    rg -n <val> <path>sed -n <val>sed -n <val> <path>
  27. Inspect · Speculative decoding

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

    4 calls · #0037–#0040

    sed -n <val> <path>rg -n <val> <val> <path> <path> --glob <path> --glob <val> --glob <val>sed -n <val>sed -n <val> <path> <n> > <path>truerg -n <val> <path> --glob <path>
    2 more command sketches
    rg -n <val> <path> <val> --glob <path>rg -n <val> <path>
  28. Inspect · Parallelism & communication

    Requested source searches and file and log inspection related to parallelism & communication.

    1 call · #0041–#0041

    rg -n <val> <path> <val> --glob <path> --glob <path> --glob <val> --glob <val>sed -n <val>
  29. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    1 call · #0042–#0042

    sed -n <val> <path>
  30. Inspect · Parallelism & communication

    Requested file and log inspection and source searches related to parallelism & communication.

    1 call · #0043–#0043

    sed -n <val> <path>rg -n <val> <path>sed -n <val>
  31. Inspect · Task requirements

    1 tool error

    Requested file and log inspection related to task requirements.

    2 calls · #0044–#0045

    jq -r <path> <path>awk <val>
  32. Inspect · Runtime processes

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

    1 call · #0046–#0046

    sed -n <val> <path>rg -n <val> <path> <path>tail -n <n>find <path> -maxdepth <n> -type <val> -name <val> <flag>
  33. Inspect · Batching & scheduling

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

    1 call · #0047–#0047

    rg -c <path> <path>tail -n <n> <path>rg <val>
  34. Inspect · Speculative decoding

    Requested file and log inspection and repository inspection related to speculative decoding.

    1 call · #0048–#0048

    jq <val> <path>git log -n <n> --oneline <flag> <args>
  35. Inspect · Attention kernels

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

    4 calls · #0049–#0052

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

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

    1 call · #0053–#0053

    rg -c <path> <path>tail -n <n> <path>rg <val>
  37. Other · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0054–#0054

    <command> <args>env <vars> python3 -c <script>tee <path>
  38. Inspect · Batching & scheduling

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

    1 call · #0055–#0055

    tail -n <n> <path>rg <val>tail -n <n>
  39. Other · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0056–#0056

    env <vars> python3 -c <script>tee <path>
  40. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0057–#0057

    bash <script>
  41. Inspect · Parallelism & communication

    Requested environment setup or inspection and source searches related to parallelism & communication.

    1 call · #0058–#0058

    printenvrg <val>sort
  42. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0059–#0059

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

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

    2 calls · #0060–#0061

    git status --shortsed -n <val> <path>python3 -m <module> <script> <script>find <path> -maxdepth <n> -type <val> <flag> <args>sort
  44. Validate · Benchmark & validation setup

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

    1 call · #0062–#0062

    bash <script>
  45. Other · Source & workspace

    Requested tool activity related to source & workspace.

    1 call · #0063–#0063

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

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

    3 calls · #0064–#0066

    tail -n <n> <path>ps -o <val> -p <n>
  47. Inspect · Task requirements

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

    1 call · #0067–#0067

    ps <flag> <args>rg <val>head -n <n>ls -l <val>tail -n <n>
  48. Inspect · Runtime processes

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

    2 calls · #0068–#0069

    rg -n <path> <path> <path>sed -n <val> <path>
  49. Other · Source & workspace

    Requested workspace file updates and script or workload execution related to source & workspace.

    1 call · #0070–#0070

    <command> <args>mv <path> <path>bash <script>
  50. Inspect · Task requirements

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

    2 calls · #0071–#0072

    jq -r <val> <path> <n> > <path>head -n <n>truerg --files <path>jq <path> <path>
  51. Execute · Task requirements

    Requested file and log inspection and service requests related to task requirements.

    1 call · #0073–#0073

    <command> <args>jq -c <path> <path>curl <flag> <args>jq <val> <path>printf <val>echo <val>
  52. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    2 calls · #0074–#0075

    sed -n <val> <path>tail -n <n>
  53. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0076–#0076

    python3 - <script>
  54. Inspect · Source & workspace

    1 tool error

    Requested file and log inspection related to source & workspace.

    2 calls · #0077–#0078

    jq <path> <path>sed -n <val> <path>cat <flag>
  55. Other · Task requirements

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

    1 call · #0079–#0079

    <command> <args>env <vars> python3 - <script>head -n <n> <path> > <path>jq <val> <path>
  56. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    2 calls · #0080–#0081

    sed -n <val> <path>printf <val>jq <path> <path>printf <path>jq <val> <path>
  57. Inspect · Rollout generation

    Requested file and log inspection related to rollout generation.

    1 call · #0082–#0082

    jq <val> <path>
  58. Inspect · Task requirements

    2 tool errors

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

    2 calls · #0083–#0084

    <command> <args>env <vars> python3 - <script>head -n <n> <path> > <path>jq <val> <path>head -n <n>
  59. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0085–#0085

    bash <script>
  60. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0086–#0086

    tail -n <n> <path>
  61. Other · Runtime processes

    Requested workspace file updates and environment setup or inspection related to runtime processes.

    1 call · #0087–#0087

    <command> <args>mv <path> <path>env <vars> python3 - <script>
  62. Inspect · Task requirements

    1 tool error

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

    1 call · #0088–#0088

    <command> <args>env <vars> python3 - <script>head -n <n> <path> > <path>echo <val>sed -n <val> <path>
  63. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0089–#0089

    bash <script>
  64. Inspect · Source & workspace

    1 tool error

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

    1 call · #0090–#0090

    rg -n <val> <path>head -n <n>rg -n <val> <path> <path> -g <val> <n> > <path>
  65. Inspect · Dependencies & build setup

    Requested file and log inspection related to dependencies & build setup.

    1 call · #0091–#0091

    sed -n <val> <path>
  66. Inspect · Attention kernels

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

    1 call · #0092–#0092

    rg -n <val> <path> -g <path>rg -n <val> <path> <path> -g <path>head -n <n>rg -n <val> <path>
  67. Inspect · Runtime processes

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

    1 call · #0093–#0093

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

    Requested file and log inspection related to source & workspace.

    1 call · #0094–#0094

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

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

    1 call · #0095–#0095

    rg -n <val> <path> <path> -g <path>head -n <n>rg -n <val> <path> -g <path>
  70. Inspect · Runtime processes

    Requested file and log inspection related to runtime processes.

    1 call · #0096–#0096

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

    Requested file and log inspection related to source & workspace.

    1 call · #0097–#0097

    tail -n <n> <path>
  72. Execute · Device memory

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

    1 call · #0098–#0098

    tail -n <n> <path>rg <val>true
  73. Other · Prefix caching

    Requested workspace file updates and environment setup or inspection related to prefix caching.

    1 call · #0099–#0099

    <command> <args>mv <path> <path>env <vars> python3 - <script>
  74. Execute · Task requirements

    Requested file and log inspection and service requests related to task requirements.

    1 call · #0100–#0100

    <command> <args>jq -c <path> <path>curl <flag> <args>echo <val>jq <val> <path>
  75. Other · Task requirements

    1 tool error

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

    2 calls · #0101–#0102

    <command> <args>env <vars> python3 - <script>head -n <n> <path> > <path>jq <val> <path>echo <val>python3 - <script>
  76. Inspect · Attention kernels

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

    4 calls · #0103–#0106

    sed -n <val> <path>rg -n <val> <path>
  77. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0107–#0107

    bash <script>
  78. Other · Prefix caching

    Requested workspace file updates and environment setup or inspection related to prefix caching.

    1 call · #0108–#0108

    <command> <args>mv <path> <path>env <vars> python3 - <script>
  79. Execute · Task requirements

    Requested file and log inspection and service requests related to task requirements.

    1 call · #0109–#0109

    <command> <args>jq -c <path> <path>curl <flag> <args>diff -u < <path> -S <val> <path> < <path> -S <val> <path>echo <val>
  80. Other · Task requirements

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

    1 call · #0110–#0110

    <command> <args>env <vars> python3 - <script>head -n <n> <path> > <path>jq <val> <path>
  81. Inspect · Batching & scheduling

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

    2 calls · #0111–#0112

    echo <flag>rg <val> <path>tail -n <n>rg -n <val> <path>head -n <n>sed -n <val> <path>
    1 more command sketches
    rg -n <val> <path> -g <path>
  82. Inspect · Runtime processes

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

    1 call · #0113–#0113

    rg -n <val> <path>head -n <n>sed -n <val> <path>
  83. Inspect · Batching & scheduling

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

    1 call · #0114–#0114

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

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

    1 call · #0115–#0115

    git log <flag> <args>head -n <n>
  85. Inspect · Attention kernels

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

    3 calls · #0116–#0118

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

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

    1 call · #0119–#0119

    rg -n <val> <path> <path> -g <path>head -n <n>truesed -n <val> <path>
  87. Inspect · Attention kernels

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

    1 call · #0120–#0120

    rg -n <val> <flag> <args>sed -n <val> <path>
  88. Other · Attention kernels

    Requested script or workload execution related to attention kernels.

    2 calls · #0121–#0122

    python3 - <script>
  89. Edit · Attention kernels

    Requested code edits related to attention kernels.

    1 call · #0123–#0123

    Apply patch <patch>
  90. Inspect · Attention kernels

    Requested repository inspection and script or workload execution related to attention kernels.

    1 call · #0124–#0124

    git diff --checkgit diff --statgit diff <flag> <args>python3 -m <module> <script> <script> <script>
  91. Execute · Device memory

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

    1 call · #0125–#0125

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

    Requested file and log inspection related to source & workspace.

    1 call · #0126–#0126

    tail -n <n> <path>
  93. Execute · Device memory

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

    1 call · #0127–#0127

    tail -n <n> <path>rg <val>true
  94. Other · Source & workspace

    Requested script or workload execution and workspace file updates related to source & workspace.

    1 call · #0128–#0128

    bash <script><command> <args>mv <path> <path>
  95. Execute · Task requirements

    Requested file and log inspection and service requests related to task requirements.

    1 call · #0129–#0129

    <command> <args>jq -c <path> <path>curl <flag> <args>diff -u < <path> -S <val> <path> < <path> -S <val> <path>echo <val>
  96. Other · Task requirements

    1 tool error

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

    2 calls · #0130–#0131

    <command> <args>env <vars> python3 - <script>head -n <n> <path> > <path>echo <val>python3 - <script>
  97. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0132–#0132

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

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

    1 call · #0133–#0133

    git diff --checkrg -n <flag> <args>sed -n <val> <path>
  99. Inspect · Device memory

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

    1 call · #0134–#0134

    tail -n <n> <path>rg <val>true
  100. Other · Source & workspace

    Requested script or workload execution and workspace file updates related to source & workspace.

    1 call · #0135–#0135

    bash <script><command> <args>mv <path> <path>
  101. Execute · Task requirements

    Requested file and log inspection and service requests related to task requirements.

    1 call · #0136–#0136

    <command> <args>jq -c <path> <path>curl <flag> <args>diff -u < <path> -S <val> <path> < <path> -S <val> <path>echo <val>
  102. Other · Task requirements

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

    2 calls · #0137–#0138

    <command> <args>env <vars> python3 - <script>head -n <n> <path> > <path>echo <val>python3 - <script>jq <val> <path>
  103. Inspect · Device memory

    Requested source searches related to device memory.

    1 call · #0139–#0139

    rg <val> <path>
  104. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0140–#0140

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

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

    1 call · #0141–#0141

    rg <val> <path>tail -n <n>
  106. Other · Source & workspace

    Requested script or workload execution and workspace file updates related to source & workspace.

    1 call · #0142–#0142

    bash <script><command> <args>mv <path> <path>
  107. Execute · Task requirements

    Requested file and log inspection and service requests related to task requirements.

    1 call · #0143–#0143

    <command> <args>jq -c <path> <path>curl <flag> <args>diff -u < <path> -S <val> <path> < <path> -S <val> <path>echo <val>
  108. Other · Task requirements

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

    2 calls · #0144–#0145

    <command> <args>env <vars> python3 - <script>head -n <n> <path> > <path>jq <val> <path>
  109. Inspect · Source & workspace

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

    1 call · #0146–#0146

    sed -n <val> <path>rg -n <val> <val> -g <path> -g <val>head -n <n>
  110. Inspect · Benchmark & validation setup

    1 tool error

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

    1 call · #0147–#0147

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

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

    2 calls · #0148–#0149

    rg -n <val> <val> -g <val> -g <val> -g <path>head -n <n>rg -n <val> <path> <path>
  112. Inspect · Batching & scheduling

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

    1 call · #0150–#0150

    rg <val> <path>tail -n <n>
  113. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0151–#0151

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

    Requested script or workload execution and workspace file updates related to source & workspace.

    1 call · #0152–#0152

    bash <script><command> <args>mv <path> <path>
  115. Execute · Batching & scheduling

    Requested file and log inspection and service requests related to batching & scheduling.

    1 call · #0153–#0153

    <command> <args>jq -c <path> <path>curl <flag> <args>diff -u < <path> -S <val> <path> < <path> -S <val> <path>echo <val>
  116. Other · Batching & scheduling

    Requested environment setup or inspection and file and log inspection related to batching & scheduling.

    1 call · #0154–#0154

    <command> <args>env <vars> python3 - <script>head -n <n> <path> > <path>jq <val> <path>
  117. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0155–#0155

    Apply patch <patch>
  118. Other · Batching & scheduling

    Requested script or workload execution and workspace file updates related to batching & scheduling.

    1 call · #0156–#0156

    bash <script><command> <args>mv <path> <path>
  119. Inspect · Attention kernels

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

    2 calls · #0157–#0158

    git status --shortfind <path> <path> <path> -type <val> -name <val> -o -type <val> -name <val>sortgit diff --checkgit diff --statsed -n <val> <path>
  120. Other · Attention kernels

    1 tool error

    Requested tool activity related to attention kernels.

    1 call · #0159–#0159

    command -v <val>true<command> <args>
  121. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0160–#0160

    command -v <val>truepython3 - <script>
  122. Inspect · Attention kernels

    Requested repository inspection and file and log inspection related to attention kernels.

    1 call · #0161–#0161

    git show <path>sed -n <val>
  123. Edit · Attention kernels

    Requested code edits related to attention kernels.

    1 call · #0162–#0162

    Apply patch <patch>
  124. Validate · Attention kernels

    Requested repository inspection and script or workload execution related to attention kernels.

    1 call · #0163–#0163

    <command> <args>git diff --checkpython3 -B - <script>bash <script>
  125. Other · Source & workspace

    1 tool error

    Requested script or workload execution related to source & workspace.

    1 call · #0164–#0164

    bash <script>
  126. Inspect · Source & workspace

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

    2 calls · #0165–#0166

    sed -n <val> <path>envrg <val>true
  127. Other · Attention kernels

    Requested environment setup or inspection related to attention kernels.

    1 call · #0167–#0167

    env <vars> bash <script>
  128. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0168–#0168

    bash <script>
  129. Execute · Task requirements

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

    1 call · #0169–#0169

    <command> <args>jq -c <path> <path>curl <flag> <args>diff -u < <path> -S <val> <path> < <path> -S <val> <path>echo <val>env <vars> python3 - <script>
    2 more command sketches
    head -n <n> <path> > <path>diff -u <path> <path>
  130. Validate · Benchmark & validation setup

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

    1 call · #0170–#0170

    bash <script>
  131. Execute · Benchmark & validation setup

    Requested workspace inspection related to benchmark & validation setup.

    1 call · #0171–#0171

    <command> <args>readlink -f <path>echo <val>
  132. Inspect · Batching & scheduling

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

    2 calls · #0172–#0173

    tail -n <n> <path>rg <val>tail -n <n>
  133. Other · Benchmark & validation setup

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

    1 call · #0174–#0174

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

    1 tool error

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

    2 calls · #0175–#0176

    <command> <args>jq -n <flag> <args>python3 -B - <script>rg --files <path>rg <val>head -n <n>
    1 more command sketches
    true
  135. Inspect · Runtime processes

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

    1 call · #0177–#0177

    rg --filesrg <val>head -n <n>rg -n <val> <path> <val> <n> > <path>true
  136. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0178–#0178

    sed -n <val> <path>
  137. Validate · Benchmark & validation setup

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

    1 call · #0179–#0179

    python3 -B -m <module> -q <script>
  138. Other · Attention kernels

    Requested script or workload execution, repository inspection and workspace inspection related to attention kernels.

    1 call · #0180–#0180

    bash <script>printf <val>git status --shortfind <path> <path> <path> <val> -type <val> -name <val> -o -type <val> <args>sortprintf <path>
    3 more command sketches
    git diff --checkgit diff --statgit status --short <flag> <args>
  139. Inspect · Attention kernels

    Requested repository inspection and file and log inspection related to attention kernels.

    2 calls · #0181–#0182

    git diff <flag> <args>printf <val><command> <args>sed -n <val>git diff --checkgit status --short

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.

sglang · 5 changed files

Base commit: 340db9201005fc64635bb25db1d2538f955761c3

diff --git a/python/sglang/srt/deployment/__init__.py b/python/sglang/srt/deployment/__init__.pynew file mode 100644index 0000000000000000000000000000000000000000..524645ebcbf3ef4f2bff4f02839a0e7d1750db8b--- /dev/null+++ b/python/sglang/srt/deployment/__init__.py@@ -0,0 +1 @@+"""Task-oriented SGLang deployment entrypoints."""diff --git a/python/sglang/srt/deployment/qwen3_14b.py b/python/sglang/srt/deployment/qwen3_14b.pynew file mode 100644index 0000000000000000000000000000000000000000..72c1d0883ad8b357644763ed453bb33531074f95--- /dev/null+++ b/python/sglang/srt/deployment/qwen3_14b.py@@ -0,0 +1,136 @@+"""Two-device serving plan for the BF16 Qwen3-14B benchmark.++The public benchmark invokes this module with only the outer service ABI.  The+plan retains the reference tensor-parallel arithmetic while using the available+HBM to admit the complete 32-request mixed batch and capturing every supported+decode batch size without numerical padding.+"""++from __future__ import annotations++import argparse+import os+import sys+from pathlib import Path+++MODEL_ID = "Qwen/Qwen3-14B"+DEVICE_COUNT = 2+++def _device_ids(value: str) -> tuple[int, ...]:+    try:+        devices = tuple(int(item) for item in value.split(","))+    except ValueError as exc:+        raise argparse.ArgumentTypeError("device IDs must be integers") from exc+    if (+        len(devices) != DEVICE_COUNT+        or len(set(devices)) != DEVICE_COUNT+        or any(item < 0 for item in devices)+    ):+        raise argparse.ArgumentTypeError(+            "exactly two distinct device IDs are required"+        )+    return devices+++def parse_args(argv: list[str] | None = None) -> argparse.Namespace:+    parser = argparse.ArgumentParser(+        description="Serve Qwen3-14B on exactly two Ascend devices",+        allow_abbrev=False,+    )+    parser.add_argument("--model-path", required=True)+    parser.add_argument("--tokenizer-path", required=True)+    parser.add_argument("--served-model-name", required=True)+    parser.add_argument("--host", required=True)+    parser.add_argument("--port", required=True, type=int)+    parser.add_argument("--device-ids", required=True, type=_device_ids)+    parser.add_argument("--runtime-dir", required=True, type=Path)+    args = parser.parse_args(argv)++    if args.served_model_name != MODEL_ID:+        parser.error(f"--served-model-name must be {MODEL_ID}")+    if args.host != "127.0.0.1":+        parser.error("--host must be 127.0.0.1")+    if not 1 <= args.port <= 65535:+        parser.error("--port must be between 1 and 65535")+    if not args.runtime_dir.is_dir():+        parser.error("--runtime-dir must be an existing directory")+    return args+++def build_server_argv(args: argparse.Namespace) -> list[str]:+    """Build the internal server command without changing the public ABI."""+    return [+        sys.executable,+        "-B",+        "-m",+        "sglang.launch_server",+        "--model-path",+        args.model_path,+        "--tokenizer-path",+        args.tokenizer_path,+        "--served-model-name",+        args.served_model_name,+        "--host",+        args.host,+        "--port",+        str(args.port),+        "--dtype",+        "bfloat16",+        "--context-length",+        "4096",+        "--random-seed",+        "20260819",+        "--tp-size",+        "2",+        "--dp-size",+        "1",+        "--pp-size",+        "1",+        "--schedule-policy",+        "fcfs",+        "--chunked-prefill-size",+        "8192",+        "--max-running-requests",+        "32",+        "--max-total-tokens",+        "65536",+        "--mem-fraction-static",+        "0.8",+        "--disable-radix-cache",+        "--cuda-graph-backend-decode",+        "full",+        "--cuda-graph-max-bs-decode",+        "32",+        "--disable-cuda-graph-padding",+        "--cuda-graph-backend-prefill",+        "disabled",+        "--cuda-graph-max-bs-prefill",+        "32",+        "--attention-backend",+        "ascend",+        "--device",+        "npu",+    ]+++def main(argv: list[str] | None = None) -> None:+    args = parse_args(argv)++    # The host reference launch supplies these settings.  Framework-owned+    # plans receive a deliberately smaller environment, so restore the same+    # stable Ascend runtime baseline before importing torch/sglang.+    os.environ["HCCL_OP_EXPANSION_MODE"] = "AIV"+    os.environ["HCCL_BUFFSIZE"] = "200"+    os.environ["SGLANG_ENABLE_OVERLAP_PLAN_STREAM"] = "1"+    os.environ["PYTORCH_NPU_ALLOC_CONF"] = "expandable_segments:True"++    # exec keeps the supervisor PID/process group intact, which lets the+    # task-owned cleanup contract terminate every descendant reliably.+    server_argv = build_server_argv(args)+    os.execv(server_argv[0], server_argv)+++if __name__ == "__main__":+    main()diff --git a/python/sglang/srt/hardware_backend/npu/attention/ascend_backend.py b/python/sglang/srt/hardware_backend/npu/attention/ascend_backend.pyindex 89e9de06db1cb0350cb55b83dbaffc15c100fff9..92059bd2d4ac33c6c055431bb972b95801e1b439 100644--- a/python/sglang/srt/hardware_backend/npu/attention/ascend_backend.py+++ b/python/sglang/srt/hardware_backend/npu/attention/ascend_backend.py@@ -614,6 +614,13 @@ class AscendAttnBackend(AttentionBackend):             num_tokens = out_cache_loc.shape[0]             metadata.swa_out_cache_loc = self.swa_out_cache_loc_buf[:num_tokens]         metadata.seq_lens_cpu_list = seq_lens.cpu().int().tolist()+        # MHA decode uses the same host-tensor input as eager paged attention.+        # NPUGraph.update refreshes every captured ``context_lens`` input before+        # replay, so retain a tensor here instead of changing graph mode to a+        # different attention operator with list-valued sequence lengths.+        metadata.seq_lens_cpu_int = torch.tensor(+            metadata.seq_lens_cpu_list, dtype=torch.int32+        )         metadata.seq_lens = seq_lens         if forward_mode.is_target_verify() or forward_mode.is_draft_extend_v2():             metadata.actual_seq_lengths_q = torch.arange(@@ -2326,65 +2333,32 @@ class AscendAttnBackend(AttentionBackend):                 return attn_out          if not self.use_mla:-            seq_lens_cpu_int = self.forward_metadata.seq_lens_cpu_int-            seq_lens_cpu_list = self.forward_metadata.seq_lens_cpu_list             if self._is_swa_layer(layer):                 # CUDA/NPU graph capture uses seq_len fill value 0 on Ascend.                 # Avoid dynamic window block-table construction during capture,                 # because it can create a zero-width block table and break tiling.                 block_tables = self.forward_metadata.block_tables_swa-                attn_mask = self.forward_metadata.swa_mask             else:                 block_tables = self.forward_metadata.block_tables-                attn_mask = None-            k_cache = self.token_to_kv_pool.get_key_buffer(layer.layer_id).view(-                -1, self.page_size, layer.tp_k_head_num * layer.qk_head_dim-            )-            v_cache = self.token_to_kv_pool.get_value_buffer(layer.layer_id).view(-                -1, self.page_size, layer.tp_v_head_num * layer.v_head_dim-            )-            query = q.reshape(-1, 1, layer.tp_q_head_num * layer.qk_head_dim)-            if seq_lens_cpu_int is None:-                actual_seq_len_kv = seq_lens_cpu_list-            else:-                actual_seq_len_kv = seq_lens_cpu_int.cpu().int().tolist()-+            k_cache = self.token_to_kv_pool.get_key_buffer(layer.layer_id)+            v_cache = self.token_to_kv_pool.get_value_buffer(layer.layer_id)+            query = q.reshape(-1, layer.tp_q_head_num, layer.qk_head_dim)             num_tokens = query.shape[0]-            workspace = torch_npu._npu_fused_infer_attention_score_get_max_workspace(-                query,-                k_cache,-                v_cache,-                block_table=block_tables,-                block_size=self.page_size,-                num_heads=layer.tp_q_head_num,-                num_key_value_heads=layer.tp_k_head_num,-                input_layout="BSH",-                scale=layer.scaling,-                actual_seq_lengths_kv=actual_seq_len_kv,-                atten_mask=attn_mask,-                sparse_mode=0,-            )             output = torch.empty(-                (num_tokens, 1, layer.tp_q_head_num * layer.v_head_dim),+                (num_tokens, layer.tp_q_head_num, layer.v_head_dim),                 dtype=q.dtype,                 device=q.device,             )-            softmax_lse = torch.empty(1, dtype=q.dtype, device=q.device)-            torch_npu.npu_fused_infer_attention_score.out(-                query,-                k_cache,-                v_cache,-                block_table=block_tables,-                block_size=self.page_size,+            torch_npu._npu_paged_attention(+                query=query,+                key_cache=k_cache,+                value_cache=v_cache,                 num_heads=layer.tp_q_head_num,-                num_key_value_heads=layer.tp_k_head_num,-                input_layout="BSH",-                scale=layer.scaling,-                actual_seq_lengths_kv=actual_seq_len_kv,-                atten_mask=attn_mask,-                sparse_mode=0,-                workspace=workspace,-                out=[output, softmax_lse],+                num_kv_heads=layer.tp_k_head_num,+                scale_value=layer.scaling,+                block_table=block_tables,+                context_lens=self.forward_metadata.seq_lens_cpu_int,+                out=output,             )             return output.view(num_tokens, layer.tp_q_head_num * layer.v_head_dim)         else:diff --git a/python/sglang/srt/hardware_backend/npu/graph_runner/npu_cudagraph_backend.py b/python/sglang/srt/hardware_backend/npu/graph_runner/npu_cudagraph_backend.pyindex 105034c03c0fb36d35254f822b63908f5bd0a2a0..ce68626e9e096f8e37d29429fef6b5032253bff3 100644--- a/python/sglang/srt/hardware_backend/npu/graph_runner/npu_cudagraph_backend.py+++ b/python/sglang/srt/hardware_backend/npu/graph_runner/npu_cudagraph_backend.py@@ -172,8 +172,8 @@ class NPUCudaGraphBackend(BaseCudaGraphBackend):          thread = threading.Thread(target=_update)         thread.start()-        graph.replay()         thread.join()+        graph.replay()         return self._outputs[shape_key]      def cleanup(self) -> None:diff --git a/python/sglang/srt/hardware_backend/npu/graph_runner/npu_graph_runner.py b/python/sglang/srt/hardware_backend/npu/graph_runner/npu_graph_runner.pyindex b82c973bc340c072ea79877ef4a0d183bd6af32d..bb873849fa727dd10bcca4c57b4dcfb1be395f6d 100644--- a/python/sglang/srt/hardware_backend/npu/graph_runner/npu_graph_runner.py+++ b/python/sglang/srt/hardware_backend/npu/graph_runner/npu_graph_runner.py@@ -160,12 +160,12 @@ class NPUGraphRunner(DecodeCudaGraphRunner):     def _get_update_attr_name(self):         if self.if_use_v2:             return self.attr_name["TARGET_VERIFY"]-        return self.attr_name[AttentionArch.MLA]+        return self.attr_name[self.model_runner.model_config.attention_arch]      def _get_update_attr_type(self):         if self.if_use_v2:             return self.attr_type["TARGET_VERIFY"]-        return self.attr_type[AttentionArch.MLA]+        return self.attr_type[self.model_runner.model_config.attention_arch]      def _update_inputs(self, seq_lens):         if isinstance(self.update_attr_type, torch.Tensor):