DeepSeek-V4-Pro · Serving

S04 · SLO

Valid

Online SLO goodput 1dev · Implementation Optimization

1.07×PERFORMANCE RATIO
243TOOL 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 agentDeepSeek-V4-Pro · 243 visible calls

InspectEditValidateExecuteBuildProfileRollbackOther
133Inspect
2Build
10Validate
56Execute
1Profile
41Other

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 timeline170 groups · 243 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 file and log inspection related to task requirements.

    1 call · #0001–#0001

    echo <val>cat <path>echo <flag>
  2. Inspect · Source & workspace

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

    2 calls · #0002–#0003

    find <val> -maxdepth <n> -type <val>sortsed -n <val>echo <flag>ls -l -a <path>head
    3 more command sketches
    cd <val><command> <args>sed -n <val> <val>
  3. Inspect · Benchmark & validation setup

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

    1 call · #0004–#0004

    cd <val>wc -l <path> <path> <path>grep -n <val> <path>sed -n <val>
  4. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    2 calls · #0005–#0006

    cd <val>sed -n <val> <path>
  5. Validate · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0007–#0007

    cd <val>echo <flag>cat <path>head -c <n> <path>echosha256sum <path> <path> <path> <n> > <path>
  6. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    3 calls · #0008–#0010

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

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

    1 call · #0011–#0011

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

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

    6 calls · #0012–#0017

    cd <val>sed -n <val> <path>envsortgrep -E <val>true
    15 more command sketches
    echo <flag>bash <script> <n> >& <path>head -c <n>bash <script>echo <val>ls -l <val>grep <val>cat <val>ls -l -a <path>head -n <n>headfind <path> -maxdepth <n> -type <val>export <vars>bash <script> > <path> <n> > <path>cat <path>
  9. Inspect · Benchmark & validation setup

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

    1 call · #0018–#0018

    cd <val>grep -n <val> <path>tail -n <n>
  10. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0019–#0019

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

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

    4 calls · #0020–#0023

    cd <val>export <vars>nohup <val> <path> > <path> <n> > <path>echo <val> > <path>sleep <n>cat <path>
    14 more command sketches
    ls -l <val>tail -n <n> <path> <n> > <path>truetail -n <n> <path>ps <flag>grep -E <val>grep -v <val>ps -p <n> -fps <val>grep <val>ls -l -a <val>echo <flag>ls -l -a <path>cat <path> <n> > <path>
  12. Inspect · Source & workspace

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

    1 call · #0024–#0024

    cd <path>git status --shortgit log --oneline <flag>python3 - <script>
  13. Profile · Task requirements

    Requested script or workload execution related to task requirements.

    1 call · #0025–#0025

    cd <path>python3 - <script>
  14. Inspect · Benchmark & validation setup

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

    1 call · #0026–#0026

    cd <path>sed -n <val> <path>head -n <n>
  15. Other · Task requirements

    Requested script or workload execution related to task requirements.

    1 call · #0027–#0027

    cd <val>python3 - <script>
  16. Validate · Benchmark & validation setup

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

    1 call · #0028–#0028

    cd <val>cat <path>echoecho <val>cat <path> <n> > <path>tail -n <n> <path>
    8 more command sketches
    echo <flag>ls -l -a <val> <val>ps <val>grep -E <val>grep -v <val>true<command> <args>grep <n>
  17. Execute · Benchmark & validation setup

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

    1 call · #0029–#0029

    cd <val>export <vars>nohup <val> <path> > <path> <n> > <path>echo <val> > <path>sleep <n>echo <val> <val> <path>
    2 more command sketches
    cat <path>ls -l <val>
  18. Inspect · Benchmark & validation setup

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

    3 calls · #0030–#0032

    cd <path>ls <path>wc -l <path>grep -n <val> <path>sed -n <val>sed -n <val> <path>
  19. Inspect · Batching & scheduling

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

    1 call · #0033–#0033

    cd <path>find <path> -maxdepth <n> -type <val>grep -E <val>head -n <n>grep -R <val> <path>
  20. Inspect · Source & workspace

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

    2 calls · #0034–#0035

    cd <path>sed -n <val> <path>grep -n <val> -R <path>head -n <n>find <path> -path <val> -o -path <val>sort
    1 more command sketches
    echo <flag>
  21. Inspect · Runtime processes

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

    1 call · #0036–#0036

    cd <val>tail -n <n> <path> <n> > <path>cat <path> <n> > <path>tailps -p <n> -fps <val>
    3 more command sketches
    grep <val>grep -v <val>head
  22. Inspect · Source & workspace

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

    2 calls · #0037–#0038

    sleep <n>cd <val>tail -n <n> <path>echo <flag>ls -l <path> <n> > <path>head
    3 more command sketches
    ls -l <val><command> <args>tail -n <n> <val>
  23. Inspect · Batching & scheduling

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

    7 calls · #0039–#0045

    cd <path>grep -n <val> <path>head -n <n>sed -n <val> <path>sleep <n>cd <val>
    3 more command sketches
    tail -n <n> <path>echotail -n <n>
  24. Inspect · Source & workspace

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

    1 call · #0046–#0046

    sleep <n>cd <val>ls -l <path>tail -n <n> <path>cat <path> <n> > <path>head -c <n>
  25. Execute · Benchmark & validation setup

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

    1 call · #0047–#0047

    ps <val>grep -E <val>grep -v <val>ls -l -a <val>tail -n <n>grep -n <val> <path>
    1 more command sketches
    true
  26. Inspect · Source & workspace

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

    1 call · #0048–#0048

    ps <flag>grep -E <val>grep -v <val>head -n <n>tail -n <n> <path>cat <path>
  27. Execute · Benchmark & validation setup

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

    1 call · #0049–#0049

    sleep <n>cd <val>grep -n <val> <path>truetail -n <n> <path>head
    2 more command sketches
    ls -l -a <path> <n> > <path>cat <path>
  28. Inspect · Source & workspace

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

    1 call · #0050–#0050

    cd <val>sed -n <val> <path>python3 - <script>
  29. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0051–#0051

    cd <path>python3 - <script>
  30. Inspect · Source & workspace

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

    1 call · #0052–#0052

    sleep <n>cd <val>ls -l <val>tail -n <n>tail -n <n> <path> <n> > <path>cat <path>
    2 more command sketches
    grep -n <val> <path>tail
  31. Inspect · Attention kernels

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

    1 call · #0053–#0053

    cat <path>python3 - <script>
  32. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0054–#0054

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

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

    1 call · #0055–#0055

    sleep <n>cd <val>cat <path>ls -l <path> <n> > <path>tailtail -n <n> <path> <n> > <path>
  34. Other · Latency & request handling

    Requested execution waits and script or workload execution related to latency & request handling.

    2 calls · #0056–#0057

    sleep <n>cd <val>python3 - <script>
  35. Inspect · Runtime processes

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

    1 call · #0058–#0058

    cd <path>grep -R <val> <path>head -n <n>grep -n <val> <path> <path>
  36. Inspect · Source & workspace

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

    1 call · #0059–#0059

    cd <path>grep -R <val> -n <path>sed -n <val> <path>
  37. Inspect · Batching & scheduling

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

    1 call · #0060–#0060

    cd <path>sed -n <val> <path>grep -n <val> -R <path> <path>
  38. Execute · Benchmark & validation setup

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

    2 calls · #0061–#0062

    cd <val>cat <path> <n> > <path>python3 -m <module>head -n <n>ps <val>grep -E <val>
    6 more command sketches
    grep -v <val>truels -l -a <val>tail -n <n>head -c <n>cat <path>
  39. Execute · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0063–#0063

    python3 - <script>
  40. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0064–#0064

    python3 - <script>
  41. Inspect · Benchmark & validation setup

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

    1 call · #0065–#0065

    cd <path>grep -n <val> <path>head -n <n>grep -n <val> <path> <path>head
  42. Inspect · Precision & numerical checks

    Requested script or workload execution related to precision & numerical checks.

    1 call · #0066–#0066

    python3 - <script>
  43. Other · Runtime processes

    Requested script or workload execution related to runtime processes.

    1 call · #0067–#0067

    python3 - <script>
  44. Inspect · Runtime processes

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

    1 call · #0068–#0068

    cd <path>grep -R <val> <path> <path> <path>head -n <n>
  45. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0069–#0069

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

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

    2 calls · #0070–#0071

    cd <path>grep -R <val> -n <path> <path>head -n <n>sed -n <val> <path>grep -n <val> <path>
  47. Inspect · Runtime processes

    Requested file and log inspection related to runtime processes.

    1 call · #0072–#0072

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

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

    1 call · #0073–#0073

    cd <path>grep -R <val> -n <path>catgrep -R <val> -n <path> <path>
  49. Inspect · Source & workspace

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

    1 call · #0074–#0074

    cd <path>grep -R <val> -n <path>head -n <n>
  50. Inspect · Batching & scheduling

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

    1 call · #0075–#0075

    cd <path>cat <path>grep -R <val> -n <path>head -n <n>grep -n <val> -n <path> <path> <n> > <path>
  51. Inspect · Source & workspace

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

    1 call · #0076–#0076

    cd <path>grep -R <val> -n <path>head -n <n>
  52. Inspect · Batching & scheduling

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

    2 calls · #0077–#0078

    cd <path>sed -n <val> <path>grep -n <val> <path>head -n <n>
  53. Inspect · Runtime processes

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

    2 calls · #0079–#0080

    cd <path>grep -R <val> -n <path>head -n <n>grep -R <val> -n <path> <path> <path>sed -n <val> <path>
  54. Inspect · Source & workspace

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

    4 calls · #0081–#0084

    cd <path>grep -R <val> -n <path>head -n <n>sed -n <val> <path>grep -R <val> <path> <path>python3 - <script>
    1 more command sketches
    grep -R <val> -n <path> <n> > <path>
  55. Inspect · Attention kernels

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

    6 calls · #0085–#0090

    cd <path>sed -n <val> <path>grep -n <val> <path>head -n <n>grep -n <val> -R <path> <path>
  56. Other · Attention kernels

    Requested script or workload execution related to attention kernels.

    1 call · #0091–#0091

    python3 - <script>
  57. Execute · Batching & scheduling

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

    1 call · #0092–#0092

    cd <path>export <vars>nohup <path> -m <val> <flag> <args>echo <val> > <path>echo <val>sleep <n>
    1 more command sketches
    tail -n <n> <path>
  58. Execute · Runtime processes

    Requested execution waits, file and log inspection and service requests related to runtime processes.

    2 calls · #0093–#0094

    sleep <n>tail -n <n> <path>curl -s <url> <n> > <path>head -c <n>echops -p <val> <path> -f
    3 more command sketches
    true<command> <args>curl -s <url> <val>
  59. Inspect · Task requirements

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

    1 call · #0095–#0095

    cd <path>export <vars>python3 -m <module> <flag> <args>echo <val>tail -n <n> <path>
  60. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0096–#0096

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

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

    1 call · #0097–#0097

    cd <path>grep -R <val> -n <path> <path>head -n <n>grep -R <val> -n <path>
  62. Inspect · Runtime processes

    Requested file and log inspection related to runtime processes.

    1 call · #0098–#0098

    cd <path>sed -n <val> <path>
  63. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0099–#0099

    python3 - <script>
  64. Other · Batching & scheduling

    Requested script or workload execution related to batching & scheduling.

    1 call · #0100–#0100

    python3 - <script>
  65. Inspect · Batching & scheduling

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

    1 call · #0101–#0101

    grep <val> <path>sed -n <val>wc -l
  66. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0102–#0102

    date -udateecho <val> <val>python3 - <script>
  67. Other · Runtime processes

    Requested process termination, execution waits and runtime inspection related to runtime processes.

    2 calls · #0103–#0104

    pkill <flag> <args>truesleep <n>ps <val>grep <val>grep -v <val>
    3 more command sketches
    <command> <args>grep <n>kill <flag> <args>
  68. Inspect · Source & workspace

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

    10 calls · #0105–#0114

    python3 - <script>grep -R <val> -n <path> <n> > <path>headgrep -R <val> -n <path>head -n <n>sed -n <val> <path>
    4 more command sketches
    cd <path>grep -n <val> <path>grep -n <val> <path> <path>grep -R <val> -n <path> <path>
  69. Inspect · Batching & scheduling

    Requested script or workload execution and file and log inspection related to batching & scheduling.

    1 call · #0115–#0115

    python3 - <script>cat <path>head -c <n>echo
  70. Execute · Batching & scheduling

    Requested script or workload execution, execution waits and file and log inspection related to batching & scheduling.

    1 call · #0116–#0116

    cd <path>nohup <path> -m <val> <flag> <args>echo <val> > <path>sleep <n>tail -n <n> <path>
  71. Execute · Runtime processes

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

    2 calls · #0117–#0118

    sleep <n>grep -E <val> <path>tail -n <n>tail -n <n> <path><command> <args>grep -E <val>
  72. Execute · Task requirements

    Requested script or workload execution, source searches and file and log inspection related to task requirements.

    1 call · #0119–#0119

    cd <path>python3 -m <module> <flag> <args>echo <val>grep <flag> <args>tail -n <n>
  73. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0120–#0120

    python3 - <script>
  74. Other · Device memory

    Requested script or workload execution related to device memory.

    1 call · #0121–#0121

    python3 - <script>
  75. Inspect · Task requirements

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

    1 call · #0122–#0122

    cd <path>python3 -m <module> <flag> <args>echo <val>tail -n <n> <path>
  76. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0123–#0123

    python3 - <script>
  77. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    2 calls · #0124–#0125

    python3 - <script>
  78. Execute · Runtime processes

    Requested process termination, execution waits and runtime inspection related to runtime processes.

    1 call · #0126–#0126

    kill <flag> <args>pkill <flag> <args>truesleep <n>ps <val>grep <val>
    1 more command sketches
    grep -v <val>
  79. Other · Runtime processes

    Requested process termination, execution waits and runtime inspection related to runtime processes.

    1 call · #0127–#0127

    kill <flag> <args>sleep <n>ps <val>grep <val>grep -v <val>true
  80. Execute · Batching & scheduling

    Requested execution waits, script or workload execution and file and log inspection related to batching & scheduling.

    1 call · #0128–#0128

    sleep <n>cd <path>nohup <path> -m <val> <flag> <args>echo <val> > <path>echo <val> <val> <path>tail -n <n> <path>
  81. Execute · Runtime processes

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

    2 calls · #0129–#0130

    <command> <args>sleep <n>grep -E <val> <path>tail -n <n>tail -n <n> <path>ps <val>
    4 more command sketches
    grep -E <val>grep -v <val>truesed -n <val>
  82. Inspect · Source & workspace

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

    1 call · #0131–#0131

    grep -R <val> -n <path> <path> <n> > <path>head -n <n>python3 - <script>
  83. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0132–#0132

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

    Requested repository inspection related to source & workspace.

    1 call · #0133–#0133

    cd <path>git status --short
  85. Other · Optimizer & gradients

    Requested script or workload execution and repository inspection related to optimizer & gradients.

    1 call · #0134–#0134

    cd <path>python3 - <script>git diff <flag> <args>
  86. Execute · Batching & scheduling

    Requested runtime inspection, source searches and script or workload execution related to batching & scheduling.

    1 call · #0135–#0135

    ps <val>grep <val>grep -v <val>truecd <path>nohup <path> -m <val> <flag> <args>
    3 more command sketches
    echo <val> > <path>sleep <n>tail -n <n> <path>
  87. Execute · Runtime processes

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

    1 call · #0136–#0136

    <command> <args>sleep <n>grep -E <val> <path>tail -n <n>tail -n <n> <path>
  88. Execute · Source & workspace

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

    1 call · #0137–#0137

    curl -s <url> -H <path> -d <path>python3 -m <module>head -n <n>
  89. Execute · Runtime processes

    Requested service requests, file and log inspection and runtime inspection related to runtime processes.

    2 calls · #0138–#0139

    curl -sS -m <n> <url> -H <path> -d <path>head -c <n>echotail -n <n> <path>ps <val>grep <n>
    2 more command sketches
    grep -v <val>python3 - <script>
  90. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0140–#0140

    python3 - <script>
  91. Execute · Task requirements

    Requested script or workload execution, source searches and file and log inspection related to task requirements.

    1 call · #0141–#0141

    cd <path>python3 -m <module> <flag> <args>echo <val>grep <flag> <args>tail -n <n>
  92. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0142–#0142

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

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

    1 call · #0143–#0143

    cd <path>grep -R <val> -n <path> <path>head -n <n>grep -n <val> <path>
  94. Inspect · Batching & scheduling

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

    2 calls · #0144–#0145

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

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

    2 calls · #0146–#0147

    cd <path>grep -R <val> -n <path>head -n <n>sed -n <val> <path>
  96. Inspect · Batching & scheduling

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

    1 call · #0148–#0148

    cd <path>grep -n <val> <path>sed -n <val> <path>grep -n <val> <path> <path>head -n <n>
  97. Inspect · Runtime processes

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

    1 call · #0149–#0149

    cd <path>sed -n <val> <path>grep -R <val> -n <path>head
  98. Inspect · Batching & scheduling

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

    1 call · #0150–#0150

    cd <path>sed -n <val> <path>head -n <n>grep -R <val> -n <path> <path>
  99. Inspect · Source & workspace

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

    4 calls · #0151–#0154

    cd <path>sed -n <val> <path>grep -n <val> -n <path>grep -n <val> <path>
  100. Other · Speculative decoding

    Requested script or workload execution and repository inspection related to speculative decoding.

    1 call · #0155–#0155

    cd <path>python3 - <script>git diff <flag> <args>
  101. Execute · Runtime processes

    Requested process termination, execution waits and runtime inspection related to runtime processes.

    1 call · #0156–#0156

    date -ukill <flag> <args>truesleep <n>ps <val>grep <val>
    1 more command sketches
    grep -v <val>
  102. Execute · Batching & scheduling

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

    1 call · #0157–#0157

    cd <path>env <vars> nohup <path> -m <val> <flag> <args>echo <val> > <path>echo <val>sleep <n>tail -n <n> <path>
  103. Execute · Runtime processes

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

    1 call · #0158–#0158

    <command> <args>sleep <n>grep -E <val> <path>tail -n <n>
  104. Execute · Task requirements

    Requested script or workload execution, source searches and file and log inspection related to task requirements.

    1 call · #0159–#0159

    python3 - <script>cd <path>python3 -m <module> <flag> <args>echo <val>grep <flag> <args>tail -n <n>
  105. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0160–#0160

    python3 - <script>
  106. Execute · Task requirements

    Requested service requests, script or workload execution and source searches related to task requirements.

    1 call · #0161–#0161

    curl -s -X <val> <url> -H <path> -d <val> -o <path> -w <args>cd <path>python3 -m <module> <flag> <args>echo <val>grep <flag> <args>tail -n <n>
  107. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0162–#0162

    python3 - <script>
  108. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    2 calls · #0163–#0164

    python3 - <script>
  109. Execute · Batching & scheduling

    Requested process termination, execution waits and environment setup or inspection related to batching & scheduling.

    1 call · #0165–#0165

    kill <flag> <args>truesleep <n>cd <path>env <vars> nohup <path> -m <val> <flag> <args>echo <val> > <path>
    2 more command sketches
    echo <val>tail -n <n> <path>
  110. Execute · Runtime processes

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

    1 call · #0166–#0166

    <command> <args>sleep <n>grep -E <val> <path>tail -n <n>
  111. Execute · Task requirements

    Requested script or workload execution, source searches and file and log inspection related to task requirements.

    1 call · #0167–#0167

    cd <path>python3 -m <module> <flag> <args>echo <val>grep <flag> <args>tail -n <n>
  112. Inspect · Source & workspace

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

    1 call · #0168–#0168

    tail -n <n> <path>ls -l <path>
  113. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0169–#0169

    python3 - <script>
  114. Execute · Task requirements

    Requested service requests, script or workload execution and source searches related to task requirements.

    1 call · #0170–#0170

    curl -s -X <val> <url> -H <path> -d <val> -o <path> -w <args>cd <path>python3 -m <module> <flag> <args>echo <val>grep <flag> <args>tail -n <n>
  115. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0171–#0171

    python3 - <script>
  116. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0172–#0172

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

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

    1 call · #0173–#0173

    cd <path>grep -R <val> -n <path>head -n <n>
  118. Inspect · Attention kernels

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

    2 calls · #0174–#0175

    cd <path>grep -n <val> <path>head -n <n>sed -n <val> <path>
  119. Other · Attention kernels

    Requested script or workload execution related to attention kernels.

    2 calls · #0176–#0177

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

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

    2 calls · #0178–#0179

    grep -R <val> -n <path> <n> > <path>head -n <n>sed -n <val> <path>
  121. Inspect · Runtime processes

    Requested runtime inspection, source searches and repository inspection related to runtime processes.

    1 call · #0180–#0180

    date -ups <val>grep <val>grep -v <val>truegit diff --stat
    1 more command sketches
    git status --short
  122. Inspect · Parallelism & communication

    Requested script or workload execution and repository inspection related to parallelism & communication.

    1 call · #0181–#0181

    cd <path>python3 - <script>git diff <flag> <args>
  123. Inspect · Runtime processes

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

    1 call · #0182–#0182

    grep -E <val> <path> <path>tailgrep <val> <path>tail -n <n>
  124. Other · Source & workspace

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

    1 call · #0183–#0183

    cd <path>python3 - <script>git diff <flag> <args>
  125. Execute · Batching & scheduling

    Requested process termination, execution waits and environment setup or inspection related to batching & scheduling.

    1 call · #0184–#0184

    kill <flag> <args>truesleep <n>cd <path>env <vars> nohup <path> -m <val> <flag> <args>echo <val> > <path>
    2 more command sketches
    echo <val>tail -n <n> <path>
  126. Execute · Runtime processes

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

    1 call · #0185–#0185

    <command> <args>sleep <n>grep -E <val> <path>tail -n <n>
  127. Execute · Task requirements

    Requested script or workload execution, source searches and file and log inspection related to task requirements.

    1 call · #0186–#0186

    cd <path>python3 -m <module> <flag> <args>echo <val>grep <flag> <args>tail -n <n>
  128. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0187–#0187

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

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

    3 calls · #0188–#0190

    cd <path>ls <path>grep -i <val>grep -n <val> <path>head -n <n>sed -n <val> <path>
  130. Inspect · Attention kernels

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

    1 call · #0191–#0191

    find <path> -type <val>sed -n <val>grep -R <val> <path>head -n <n>
  131. Inspect · Source & workspace

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

    2 calls · #0192–#0193

    cd <path>grep -R <val> -n <path>head -n <n>sed -n <val> <path>grep -n <val> <path>
  132. Inspect · Precision & numerical checks

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

    1 call · #0194–#0194

    cd <path>grep -R <val> -n <path>head -n <n>grep -R <val> -n <path> <path>
  133. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0195–#0195

    cd <path>sed -n <val> <path>
  134. Inspect · Device memory

    Requested script or workload execution and repository inspection related to device memory.

    1 call · #0196–#0196

    cd <path>python3 - <script>git diff --statgit diff
  135. Validate · Benchmark & validation setup

    Requested process termination, execution waits and runtime inspection related to benchmark & validation setup.

    4 calls · #0197–#0200

    kill <flag> <args>truesleep <n>ps <val>grep <val>grep -v <val>
    15 more command sketches
    cd <val>export <vars>nohup <val> <path> > <path> <n> > <path>echo <val> > <path>echo <val>tail -n <n> <path>grep -E <val> <path> <n> > <path>tail -n <n>ps -p <val> <path> -f<command> <args>cat <path> <n> > <path>echotail -n <n> <path> <n> > <path>date -upython3 - <script>
  136. Execute · Benchmark & validation setup

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

    1 call · #0201–#0201

    cd <val>export <vars>nohup <val> <path> > <path> <n> > <path>echo <val> > <path>echo <val> <val> <flag>sleep <n>
    1 more command sketches
    cat <path>
  137. Inspect · Source & workspace

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

    1 call · #0202–#0202

    cd <val>grep -n <val> <path>tail -n <n>sed -n <val> <path>
  138. Execute · Benchmark & validation setup

    Requested execution waits, workspace inspection and source searches related to benchmark & validation setup.

    1 call · #0203–#0203

    sleep <n>cd <val>ls -l <path> <path> <n> > <path>grep -E <val> <path> <n> > <path>tail -n <n>ps -p <val> <path> -f
    1 more command sketches
    cat <path>
  139. Execute · Runtime processes

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

    1 call · #0204–#0204

    sleep <n>grep -E <val> <path>tail -n <n>ls -l <path> <n> > <path>headcat <path> <n> > <path>
  140. Execute · Benchmark & validation setup

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

    1 call · #0205–#0205

    ls -l -a <val>tail -n <n>ps <val>grep -E <val>grep -v <val>tail -n <n> <path>
    1 more command sketches
    tail -n <n> <path> <n> > <path>
  141. Inspect · Source & workspace

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

    1 call · #0206–#0206

    envgrep <val>trueecho <flag>cd <path>git diff --check
    1 more command sketches
    echo <val>
  142. Execute · Benchmark & validation setup

    Requested execution waits, file and log inspection and workspace inspection related to benchmark & validation setup.

    1 call · #0207–#0207

    sleep <n>cd <val>cat <path>ls -l <path> <n> > <path>tail -n <n>tail -n <n> <path>
  143. Inspect · Source & workspace

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

    1 call · #0208–#0208

    sleep <n>cd <val>cat <path>python3 - <script>
  144. Execute · Benchmark & validation setup

    Requested execution waits, file and log inspection and workspace inspection related to benchmark & validation setup.

    1 call · #0209–#0209

    sleep <n>cd <val>cat <path>ls -l <path> <n> > <path>tail -n <n> <path>
  145. Execute · Latency & request handling

    Requested script or workload execution and file and log inspection related to latency & request handling.

    1 call · #0210–#0210

    python3 - <script>cat <path>head -c <n>
  146. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0211–#0211

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

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

    1 call · #0212–#0212

    cd <path>grep -R <val> -n <path>head -n <n>
  148. Inspect · Batching & scheduling

    Requested file and log inspection related to batching & scheduling.

    1 call · #0213–#0213

    cd <path>cat <path>sed -n <val> <path>
  149. Inspect · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0214–#0214

    python3 - <script>
  150. Execute · Batching & scheduling

    Requested script or workload execution related to batching & scheduling.

    1 call · #0215–#0215

    date -ucd <path>nohup <path> -m <val> <flag> <args>echo <val> > <path>echo <val>
  151. Execute · Runtime processes

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

    1 call · #0216–#0216

    <command> <args>sleep <n>grep -E <val> <path>tail -n <n>
  152. Execute · Task requirements

    Requested script or workload execution, source searches and file and log inspection related to task requirements.

    1 call · #0217–#0217

    cd <path>python3 -m <module> <flag> <args>echo <val>grep <flag> <args>tail -n <n>
  153. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0218–#0218

    python3 - <script>
  154. Execute · Batching & scheduling

    Requested process termination, execution waits and script or workload execution related to batching & scheduling.

    1 call · #0219–#0219

    date -ukill <flag> <args>truesleep <n>cd <path>nohup <path> -m <val> <flag> <args>
    2 more command sketches
    echo <val> > <path>echo <val>
  155. Execute · Runtime processes

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

    1 call · #0220–#0220

    <command> <args>sleep <n>grep -E <val> <path>tail -n <n>
  156. Execute · Task requirements

    Requested script or workload execution, source searches and file and log inspection related to task requirements.

    1 call · #0221–#0221

    cd <path>python3 -m <module> <flag> <args>echo <val>grep <flag> <args>tail -n <n>
  157. Other · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0222–#0222

    python3 - <script>
  158. Other · Source & workspace

    Requested tool activity related to source & workspace.

    1 call · #0223–#0223

    date -u
  159. Inspect · Batching & scheduling

    Requested source searches, file and log inspection and script or workload execution related to batching & scheduling.

    4 calls · #0224–#0227

    cd <path>grep -n <val> <path>head -n <n>grep <val>headsed -n <val> <path>
    4 more command sketches
    python3 - <script>git diff <flag> <args>sed -n <val>git diff --check
  160. Execute · Benchmark & validation setup

    Requested process termination, execution waits and runtime inspection related to benchmark & validation setup.

    4 calls · #0228–#0231

    kill <flag> <args>truesleep <n>ps <val>grep <val>grep -v <val>
    12 more command sketches
    cd <val>export <vars>nohup <val> <path> > <path> <n> > <path>echo <val> > <path>echo <val> <val> <flag>tail -n <n> <path>grep -E <val> <path>tail -n <n>cat <path> <n> > <path>ps -p <val> <path> -fcat <path>python3 - <script>
  161. Inspect · Source & workspace

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

    1 call · #0232–#0232

    ls -l <path> <path> <path> <n> > <path>tail -n <n> <path>head -c <n>echops <val>grep <val>
    1 more command sketches
    grep -v <val>
  162. Execute · Benchmark & validation setup

    Requested execution waits, file and log inspection and workspace inspection related to benchmark & validation setup.

    2 calls · #0233–#0234

    sleep <n>cd <val>cat <path>ls -l <path> <n> > <path>tail -n <n> <path>ls -l <path>
  163. Execute · Latency & request handling

    Requested script or workload execution related to latency & request handling.

    1 call · #0235–#0235

    python3 - <script>
  164. Inspect · Runtime processes

    Requested runtime inspection, source searches and environment setup or inspection related to runtime processes.

    1 call · #0236–#0236

    ps <val>grep -E <val>grep -v <val>truecd <val>export <vars>
    4 more command sketches
    bash <script>echo <val>cat <path> <n> > <path>grep <val>
  165. Inspect · Source & workspace

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

    2 calls · #0237–#0238

    cd <path>git status --shortgit diff --checkgit diff --statecho <flag>find <path> -maxdepth <n> -name <val> -o -name <val>
    4 more command sketches
    headcd <val>sed -n <val> <path>head -n <n>
  166. Build · Batching & scheduling

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

    1 call · #0239–#0239

    cd <val>export <vars>unset <vars>bash <script>echo <val>ls -l <path> <n> > <path>
    1 more command sketches
    true
  167. Execute · Benchmark & validation setup

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

    1 call · #0240–#0240

    date -ups <val>grep -E <val>grep -v <val>truecd <path>
    4 more command sketches
    git diff --checkgit status --shortecho <flag>python3 - <script>
  168. Build · Source & workspace

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

    1 call · #0241–#0241

    ls -l -a <val>headfind <val> -maxdepth <n> -name <val> -o -name <val>ls -l -a <path> <n> > <path>
  169. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0242–#0242

    cd <path>git diff
  170. Other · Batching & scheduling

    Requested script or workload execution related to batching & scheduling.

    1 call · #0243–#0243

    cd <path>python3 -m <module> <script> <script> <script> <script>echo <val>

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 · 4 changed files

Base commit: 340db9201005fc64635bb25db1d2538f955761c3

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..b95a520700528ad46d953a0af6acc370cb3d4c8c 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@@ -123,6 +123,17 @@ class NPUCudaGraphBackend(BaseCudaGraphBackend):         ):             out = forward_fn() +        # Ascend exposes a native super-kernel optimization pass for captured+        # graphs.  For small decode-only models the captured graph contains+        # many tiny pointwise/kernel launches whose fixed replay cost dominates+        # the per-step time, so run the optimizer right after capture.  Keep it+        # best-effort: graph replay must remain available even if a future+        # CANN/torch_npu release rejects this optimization path.+        try:+            graph.super_kernel_optimize()+        except Exception:  # pragma: no cover - defensive fallback+            pass+         self._graphs[shape_key] = graph         self._outputs[shape_key] = out 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..5cba76a0875e1e11ff58c291008f9cee12b528b4 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@@ -239,11 +239,27 @@ class NPUGraphRunner(DecodeCudaGraphRunner):             is_deepseek_dsa(self.model_runner.model_config.hf_config)             or is_deepseek_v4(self.model_runner.model_config.hf_config)         ):+            # Prefer the scheduler-maintained CPU mirror of seq_lens.  The+            # previous implementation called forward_batch.seq_lens.cpu() at+            # every decode step, which forces a device-to-host sync on the+            # replay path even though ScheduleBatch.prepare_for_decode() has+            # already advanced seq_lens_cpu on the host.  The fallback keeps+            # the old behavior for callers that intentionally omit the CPU+            # mirror (speculative verify, custom batches, etc.).             if forward_batch.forward_mode.is_target_verify():-                seq_lens_cpu = forward_batch.seq_lens.cpu() + self.captured_req_width+                seq_lens_cpu = (+                    forward_batch.seq_lens_cpu+                    if forward_batch.seq_lens_cpu is not None+                    else forward_batch.seq_lens.cpu()+                ) + self.captured_req_width                 seq_lens = seq_lens_cpu.tolist() + [0] * (self.bs - self.raw_bs)             else:-                seq_lens = forward_batch.seq_lens.cpu().tolist() + [0] * (+                seq_lens_src = (+                    forward_batch.seq_lens_cpu+                    if forward_batch.seq_lens_cpu is not None+                    else forward_batch.seq_lens.cpu()+                )+                seq_lens = seq_lens_src.tolist() + [0] * (                     self.bs - self.raw_bs                 )             output = self.backend.replay_with_input_update(diff --git a/python/sglang/srt/hardware_backend/npu/utils.py b/python/sglang/srt/hardware_backend/npu/utils.pyindex 664bb2881873dcfad7859bba9b8900d58ed1cc52..dd2e081bdd7cf560865e0133a6cce22666487fcb 100644--- a/python/sglang/srt/hardware_backend/npu/utils.py+++ b/python/sglang/srt/hardware_backend/npu/utils.py@@ -74,6 +74,20 @@ def set_default_server_args(args: "ServerArgs"):             else:                 decode.max_bs = 256 +    # Small decode batches dominate interactive short-request workloads, but+    # the generic decode graph shape list pads raw batch sizes to coarse+    # buckets (e.g. 25 -> 32).  Capturing every batch size up to 64 costs a+    # fraction of a GB of extra graph memory on A2-class parts and removes+    # that padding, which directly lowers per-step decode latency for tail+    # batches.+    if (+        decode.backend == "full"+        and decode.bs is None+        and decode.max_bs is not None+        and decode.max_bs <= 64+    ):+        decode.bs = list(range(1, decode.max_bs + 1))+     # NPU does not support CustomAllReduce     args.disable_custom_all_reduce = True diff --git a/python/sglang/srt/managers/scheduler.py b/python/sglang/srt/managers/scheduler.pyindex a9615a14c512345b2d63323ff3ebd2fe3d9a0dca..23e50f617f8a3652f68d0a2365f8c8ca86acd1d3 100644--- a/python/sglang/srt/managers/scheduler.py+++ b/python/sglang/srt/managers/scheduler.py@@ -337,6 +337,13 @@ TEST_RETRACT_NO_PREFILL_BS = envs.SGLANG_TEST_RETRACT_NO_PREFILL_BS.get()  DECODE_STEP_MAX_US = 2_000_000 +# On Ascend NPUs, small dense models reach near-peak decode throughput well+# before the generic 64+-request batch limit.  Capping new prefill admissions+# at 40 running requests avoids the steep per-step latency growth of very+# large decode batches while leaving the public max-running-requests setting+# untouched; excess requests simply wait one scheduler iteration.+NPU_SMALL_DECODE_MAX_RUNNING_REQUESTS = 40+  def _accumulate_decode_moment(     totals: list[float],@@ -3062,8 +3069,28 @@ class Scheduler(     def get_num_allocatable_reqs(self, running_bs):         res = get_parallel().pp_max_micro_batch_size - running_bs         res = min(res, self.req_to_token_pool.available_size())+        if self.device == "npu" and self._is_small_npu_decode_model():+            # See NPU_SMALL_DECODE_MAX_RUNNING_REQUESTS above.  This is a+            # scheduler-level admission cap, not a mutation of the configured+            # public --max-running-requests value.+            res = min(+                res, NPU_SMALL_DECODE_MAX_RUNNING_REQUESTS - running_bs+            )         return res +    def _is_small_npu_decode_model(self) -> bool:+        hf_config = getattr(self.model_config, "hf_config", None)+        if hf_config is None:+            return False+        num_layers = getattr(hf_config, "num_hidden_layers", None)+        hidden_size = getattr(hf_config, "hidden_size", None)+        return (+            isinstance(num_layers, int)+            and num_layers <= 32+            and isinstance(hidden_size, int)+            and hidden_size <= 2048+        )+     def get_new_batch_prefill(self, running_batch: ScheduleBatch) -> NextBatchPlan:         prefill_delayer_single_pass = None         if self.prefill_delayer: