Kimi K3 · Serving

S07 · SGLang 8B

Valid

SGLang Qwen3-8B CodeOpt saturation 1dev · Implementation Optimization

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

01 / PROCESS MAP

Agents over time

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

Elapsed time · mm:ss

Agent / model
+05:17+10:40+16:03+21:26+26:48
Main agentKimi K3Main timeline · 130 calls
Subagent 1Kimi K3From Main agent · 100 calls

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

InspectEditValidateExecuteBuildProfileRollbackOther
199Inspect
4Edit
2Build
10Validate
9Execute
6Other

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 timeline141 groups · 230 calls · 1 subagents

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

Main agent

  1. Inspect · Source & workspace

    Requested workspace inspection related to source & workspace.

    1 call · #0101–#0101

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

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

    3 calls · #0102–#0104

    Read <path>cd <val>find <val> <val> <val> <val> <val> -type <val>head -n <n>
  3. Inspect · Runtime processes

    Requested file and log inspection related to runtime processes.

    1 call · #0105–#0105

    Read <path>
  4. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    2 calls · #0106–#0107

    Read <path>
  5. Inspect · Benchmark & validation setup

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

    3 calls · #0108–#0110

    Read <path>
  6. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    3 calls · #0111–#0113

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

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

    1 call · #0114–#0114

    Read <path>
  8. Inspect · Source & workspace

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

    7 calls · #0115–#0121

    Read <path>envgrep -E <val>sortecho <flag>echo <val>
    7 more command sketches
    cat <val> <n> > <path>head -c <n>cd <path>git log --oneline <flag> <args>git status --short <n> > <path>head -n <n>git rev-parse <val> <n> > <path>
  9. Inspect · Device memory

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

    1 call · #0122–#0122

    python3 -c <script> <n> >& <path>headecho <flag>npu-smi info <n> >& <path>head -n <n>
  10. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0123–#0123

    cd <val>echo <val>cat <path>echohead -c <n> <path>head -n <n> <path>
    1 more command sketches
    head -c <n>
  11. Inspect · Attention kernels

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

    2 calls · #0124–#0125

    cd <path>ls <path>grep -i -E <val>echo <flag>grep -i <val>find <path> -type <val> -iname <val> -o -type <val> -iname <val> <n> <args>
    4 more command sketches
    headls -R <path>head -n <n>echo <val>
  12. Inspect · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0126–#0126

    Update task list <tasks>
  13. Validate · Benchmark & validation setup

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

    1 call · #0127–#0127

    cd <val>mkdir -p <path>bash <script> > <path> <n> >& <path>echo <val>
  14. Inspect · Attention kernels

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

    4 calls · #0128–#0131

    cd <path>wc -l <path> <path> <path>Search <pattern> <path>Read <path>
  15. Validate · Benchmark & validation setup

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

    1 call · #0132–#0132

    tail -n <n> <path> <n> > <path>echo <flag>cat <path> <n> > <path>
  16. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    2 calls · #0133–#0134

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

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

    1 call · #0135–#0135

    tail -n <n> <path> <n> > <path>echo <val>cat <path> <n> > <path>python3 -c <script> <n> > <path>
  18. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0136–#0136

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

    Delegated by Main agent at call #0136. Observed activity +06:59–+25:16.

    1. Inspect · Attention kernels

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

      2 calls · #0001–#0002

      Search <pattern> <path>Read <path>
    2. Inspect · Source & workspace

      Requested workspace inspection related to source & workspace.

      1 call · #0003–#0003

      Find <pattern>
    3. Inspect · Runtime processes

      Requested file and log inspection related to runtime processes.

      1 call · #0004–#0004

      Read <path>
    4. Inspect · Attention kernels

      Requested source searches related to attention kernels.

      4 calls · #0005–#0008

      Search <pattern> <path>
    5. Inspect · Source & workspace

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

      6 calls · #0009–#0014

      Search <pattern> <path>ls <path>head -n <n>Read <path>
    6. Inspect · Attention kernels

      Requested source searches related to attention kernels.

      1 call · #0015–#0015

      Search <pattern> <path>
    7. Inspect · Source & workspace

      Requested source searches related to source & workspace.

      1 call · #0016–#0016

      Search <pattern> <path>
    8. Inspect · Attention kernels

      Requested source searches related to attention kernels.

      1 call · #0017–#0017

      Search <pattern> <path>
    9. Inspect · Source & workspace

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

      3 calls · #0018–#0020

      ls <path>grep -r -n <val> <path> <n> > <path>headls <val>Read <path>head -n <n>
    10. Inspect · Runtime processes

      Requested source searches related to runtime processes.

      1 call · #0021–#0021

      Search <pattern> <path>
    11. Build · Dependencies & build setup

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

      1 call · #0022–#0022

      grep -n <val> <path> <n> > <path>headls <path>head -n <n>
    12. Inspect · Runtime processes

      Requested file and log inspection related to runtime processes.

      1 call · #0023–#0023

      Read <path>
    13. Inspect · Source & workspace

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

      4 calls · #0024–#0027

      Search <pattern> <path>Read <path>
    14. Inspect · Batching & scheduling

      Requested source searches related to batching & scheduling.

      2 calls · #0028–#0029

      Search <pattern> <path>
    15. Inspect · Source & workspace

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

      2 calls · #0030–#0031

      Read <path>Search <pattern> <path>
    16. Inspect · Runtime processes

      Requested file and log inspection related to runtime processes.

      1 call · #0032–#0032

      Read <path>
    17. Inspect · Source & workspace

      Requested file and log inspection related to source & workspace.

      1 call · #0033–#0033

      Read <path>
    18. Inspect · Runtime processes

      Requested file and log inspection related to runtime processes.

      1 call · #0034–#0034

      Read <path>
    19. Inspect · Source & workspace

      Requested file and log inspection related to source & workspace.

      1 call · #0035–#0035

      Read <path>
    20. Inspect · Attention kernels

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

      6 calls · #0036–#0041

      Read <path>Search <pattern> <path>
    21. Inspect · Source & workspace

      Requested file and log inspection related to source & workspace.

      1 call · #0042–#0042

      Read <path>
    22. Inspect · Batching & scheduling

      Requested source searches related to batching & scheduling.

      2 calls · #0043–#0044

      Search <pattern> <path>
    23. Inspect · Runtime processes

      Requested file and log inspection related to runtime processes.

      2 calls · #0045–#0046

      Read <path>
    24. Inspect · Precision & numerical checks

      Requested source searches related to precision & numerical checks.

      1 call · #0047–#0047

      Search <pattern> <path>
    25. Inspect · Source & workspace

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

      3 calls · #0048–#0050

      Search <pattern> <path>Read <path>
    26. Inspect · Batching & scheduling

      1 tool error

      Requested source searches related to batching & scheduling.

      1 call · #0051–#0051

      Search <pattern> <path>
    27. Inspect · Source & workspace

      Requested source searches related to source & workspace.

      1 call · #0052–#0052

      Search <pattern> <path>
    28. Inspect · Batching & scheduling

      Requested workspace inspection related to batching & scheduling.

      1 call · #0053–#0053

      Find <pattern>
    29. Inspect · Source & workspace

      Requested file and log inspection related to source & workspace.

      1 call · #0054–#0054

      Read <path>
    30. Inspect · Runtime processes

      Requested source searches related to runtime processes.

      1 call · #0055–#0055

      Search <pattern> <path>
    31. Inspect · Batching & scheduling

      Requested file and log inspection related to batching & scheduling.

      2 calls · #0056–#0057

      Read <path>
    32. Inspect · Source & workspace

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

      3 calls · #0058–#0060

      Read <path>Search <pattern> <path>
    33. Inspect · Attention kernels

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

      2 calls · #0061–#0062

      Search <pattern> <path>Read <path>
    34. Inspect · Source & workspace

      Requested source searches related to source & workspace.

      1 call · #0063–#0063

      Search <pattern> <path>
    35. Inspect · Attention kernels

      Requested file and log inspection related to attention kernels.

      1 call · #0064–#0064

      Read <path>
    36. Inspect · Source & workspace

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

      4 calls · #0065–#0068

      Search <pattern> <path>Read <path>
    37. Inspect · Runtime processes

      Requested source searches related to runtime processes.

      1 call · #0069–#0069

      Search <pattern> <path>
    38. Inspect · Source & workspace

      Requested source searches related to source & workspace.

      1 call · #0070–#0070

      Search <pattern> <path>
    39. Inspect · Runtime processes

      Requested file and log inspection related to runtime processes.

      1 call · #0071–#0071

      Read <path>
    40. Inspect · Source & workspace

      Requested file and log inspection related to source & workspace.

      2 calls · #0072–#0073

      Read <path>
    41. Inspect · Runtime processes

      Requested source searches related to runtime processes.

      1 call · #0074–#0074

      Search <pattern> <path>
    42. Inspect · Source & workspace

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

      2 calls · #0075–#0076

      Read <path>Search <pattern> <path>
    43. Inspect · Batching & scheduling

      Requested file and log inspection related to batching & scheduling.

      1 call · #0077–#0077

      Read <path>
    44. Inspect · Source & workspace

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

      2 calls · #0078–#0079

      Read <path>Search <pattern> <path>
    45. Inspect · Runtime processes

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

      3 calls · #0080–#0082

      Search <pattern> <path>Read <path>
    46. Inspect · Source & workspace

      Requested source searches related to source & workspace.

      1 call · #0083–#0083

      Search <pattern> <path>
    47. Inspect · Attention kernels

      Requested file and log inspection related to attention kernels.

      1 call · #0084–#0084

      Read <path>
    48. Inspect · Source & workspace

      Requested file and log inspection related to source & workspace.

      1 call · #0085–#0085

      Read <path>
    49. Inspect · Attention kernels

      Requested source searches related to attention kernels.

      1 call · #0086–#0086

      Search <pattern> <path>
    50. Inspect · Batching & scheduling

      Requested source searches related to batching & scheduling.

      1 call · #0087–#0087

      Search <pattern> <path>
    51. Inspect · Source & workspace

      Requested source searches related to source & workspace.

      2 calls · #0088–#0089

      Search <pattern> <path>
    52. Inspect · Attention kernels

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

      3 calls · #0090–#0092

      Search <pattern> <path>Read <path>
    53. Inspect · Source & workspace

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

      4 calls · #0093–#0096

      Search <pattern> <path>Read <path>
    54. Inspect · Batching & scheduling

      Requested source searches related to batching & scheduling.

      1 call · #0097–#0097

      Search <pattern> <path>
    55. Inspect · Device memory

      Requested file and log inspection related to device memory.

      1 call · #0098–#0098

      Read <path>
    56. Inspect · Source & workspace

      Requested source searches related to source & workspace.

      1 call · #0099–#0099

      Search <pattern> <path>
    57. Inspect · Batching & scheduling

      Requested file and log inspection related to batching & scheduling.

      1 call · #0100–#0100

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

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

    1 call · #0137–#0137

    cat <path>echo <val>cat <path> <n> > <path>python3 -m <module> <n> > <path>head -n <n>
  20. Inspect · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0138–#0138

    Update task list <tasks>
  21. Execute · Benchmark & validation setup

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

    1 call · #0139–#0139

    cd <val>bash <script> > <path> <n> >& <path>echo <val>cp -f <path> <path> <n> > <path>
  22. Inspect · Source & workspace

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

    6 calls · #0140–#0145

    Read <path>Search <pattern> <path>
  23. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    2 calls · #0146–#0147

    Read <path>
  24. Inspect · Source & workspace

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

    7 calls · #0148–#0154

    tail -n <n> <path> <n> > <path>cut <flag>echo <val>ls -t <path> <n> > <path>head<command> <args>
    7 more command sketches
    head <flag>Read <path>cd <path>grep -r -n <val> <path>head -n <n>echo <flag>python3 -c <script> <n> > <path>
  25. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0155–#0155

    Edit <path>
  26. Inspect · Source & workspace

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

    3 calls · #0156–#0158

    Read <path>cd <path>grep -n <val> <path> <path>
  27. Edit · Attention kernels

    Requested code edits related to attention kernels.

    2 calls · #0159–#0160

    Edit <path>
  28. Other · Attention kernels

    Requested script or workload execution related to attention kernels.

    1 call · #0161–#0161

    cd <path>python3 -c <script>
  29. Execute · Benchmark & validation setup

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

    1 call · #0162–#0162

    <command> <args>python3 -c <script> <n> > <path>echo <path>ls <path> <n> > <path>wc -lecho <val>
    1 more command sketches
    ls -l -a <path> <n> > <path>
  30. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0163–#0163

    Read <path>
  31. Execute · Runtime processes

    Requested script or workload execution, workspace inspection and runtime inspection related to runtime processes.

    1 call · #0164–#0164

    <command> <args>python3 -c <script> <n> > <path>echo <val>ls <path> <n> > <path>pgrep -f <val> > <path>
  32. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0165–#0165

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

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

    1 call · #0166–#0166

    python3 -c <script>
  34. Execute · Runtime processes

    Requested runtime inspection, script or workload execution and repository inspection related to runtime processes.

    1 call · #0167–#0167

    pgrep -f <val> > <path>echo <val>cd <val>bash <script> > <path> <n> >& <path>git -C <path> <val> --shorthead
  35. Execute · Device memory

    Requested execution waits, runtime inspection and source searches related to device memory.

    1 call · #0168–#0168

    sleep <n>pgrep -f <val> > <path>echo <val>npu-smi info <n> > <path>grep <flag> <args>head -n <n>
    2 more command sketches
    <command> <args>grep <val>
  36. Inspect · Runtime processes

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

    1 call · #0169–#0169

    ps <flag> <args>grep -E <val>grep -v <val>head
  37. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    1 call · #0170–#0170

    Read <path>
  38. Inspect · Batching & scheduling

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

    1 call · #0171–#0171

    cd <path>grep -r -n <val> <path> <path> <path> <n> > <path>grep -v -i -E <val>head -n <n>
  39. Validate · Benchmark & validation setup

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

    1 call · #0172–#0172

    cd <val>bash <script> > <path> <n> >& <path>echo <val>python3 -c <script> <n> > <path>
  40. Inspect · Batching & scheduling

    Requested file and log inspection related to batching & scheduling.

    1 call · #0173–#0173

    Read <path>
  41. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0174–#0174

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

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

    1 call · #0175–#0175

    cat <path>echo <val>python3 -c <script> <n> > <path>
  43. Validate · Precision & numerical checks

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

    1 call · #0176–#0176

    grep -i -E <val> <path> <n> > <path>head -n <n>echo <val>tail -n <n> <path> <n> > <path>cut <flag>
  44. Inspect · Source & workspace

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

    2 calls · #0177–#0178

    cd <path>grep -r -n <val> <path>Read <path>
  45. Inspect · Batching & scheduling

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

    1 call · #0179–#0179

    cd <path>grep -r -n <val> <path>grep -i -E <val>headecho <val>grep -r -n <val> <path> <n> > <path>
  46. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0180–#0180

    Read <path>
  47. Inspect · Data movement

    Requested source searches related to data movement.

    1 call · #0181–#0181

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

    Requested file and log inspection related to source & workspace.

    1 call · #0182–#0182

    Read <path>
  49. Validate · Batching & scheduling

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

    1 call · #0183–#0183

    grep -n -E <val> <path> <n> > <path>sed -n <val>cut <flag>
  50. Inspect · Benchmark & validation setup

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

    1 call · #0184–#0184

    Read <path>
  51. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0185–#0185

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

    Requested repository inspection related to benchmark & validation setup.

    1 call · #0186–#0186

    cd <path>git diff --statecho <val>
  53. Validate · Benchmark & validation setup

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

    1 call · #0187–#0187

    cd <val>bash <script> > <path> <n> >& <path>echo <val>
  54. Inspect · Source & workspace

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

    2 calls · #0188–#0189

    cd <path>grep -n <val> <path>head -n <n>Read <path>
  55. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0190–#0190

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

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

    1 call · #0191–#0191

    cat <path>echo <val>python3 -c <script> <n> > <path>
  57. Inspect · Source & workspace

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

    3 calls · #0192–#0194

    Read <path>Update task list <tasks>
  58. Inspect · Batching & scheduling

    Requested file and log inspection related to batching & scheduling.

    1 call · #0195–#0195

    Read <path>
  59. Inspect · Source & workspace

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

    2 calls · #0196–#0197

    cd <path>grep -r -n <val> <path> <path>head -n <n>Read <path>
  60. Inspect · Attention kernels

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

    1 call · #0198–#0198

    cd <path>grep -n -E <val> <path>grep -i -E <val>head -n <n>
  61. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0199–#0199

    Read <path>
  62. Inspect · Attention kernels

    Requested source searches related to attention kernels.

    1 call · #0200–#0200

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

    Requested file and log inspection related to source & workspace.

    1 call · #0201–#0201

    Read <path>
  64. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    1 call · #0202–#0202

    Read <path>
  65. Inspect · Source & workspace

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

    1 call · #0203–#0203

    cd <path>grep -r -n <val> <path>grep -i -E <val>headecho <val>
  66. Execute · Benchmark & validation setup

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

    1 call · #0204–#0204

    cd <val>bash <script> > <path> <n> >& <path>echo <val>cp -f <path> <path> <n> > <path>
  67. Build · Attention kernels

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

    1 call · #0205–#0205

    cd <path>find <val> -path <val> -o -path <val> <n> > <path>grep -v <val>headecho <val>find <val> -name <path> <n> > <path>
  68. Inspect · Benchmark & validation setup

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

    1 call · #0206–#0206

    grep -i -E <val> <path> <path> <n> > <path>grep -i -E <val>head -n <n>echo <val>grep -i -E <val> <path> <n> > <path>tail -n <n>
    1 more command sketches
    cut <flag>
  69. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    1 call · #0207–#0207

    Read <path>
  70. Inspect · Source & workspace

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

    2 calls · #0208–#0209

    Update task list <tasks><command> <args>python3 -c <script> <n> > <path>echo <val>tail -n <n> <path> <n> > <path>cut <flag>
  71. Other · Source & workspace

    Requested execution waits related to source & workspace.

    1 call · #0210–#0210

    Wait for <task>
  72. Other · Benchmark & validation setup

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

    1 call · #0211–#0211

    python3 -c <script>
  73. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    1 call · #0212–#0212

    Read <path>
  74. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0213–#0213

    cd <path>git diff
  75. Inspect · Attention kernels

    Requested environment setup or inspection and file and log inspection related to attention kernels.

    1 call · #0214–#0214

    cd <val>env <vars> bash <script> <n> >& <path>tail -n <n>
  76. Execute · Benchmark & validation setup

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

    1 call · #0215–#0215

    cd <path>echo <val>git status --shortpgrep -f <val> > <path><command> <args>grep <val>
    1 more command sketches
    python3 -c <script> <n> > <path>
  77. Inspect · Device memory

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

    1 call · #0216–#0216

    ps <flag> <args>grep -i -E <val>grep -v <val>headecho <val>npu-smi info <n> > <path>
    2 more command sketches
    grep <flag> <args>head -n <n>
  78. Inspect · Runtime processes

    Requested execution waits, runtime inspection and workspace inspection related to runtime processes.

    1 call · #0217–#0217

    sleep <n>pgrep -f <val> > <path>echo <val>ls <path> <n> > <path>cd <path>git status --short
  79. Inspect · Source & workspace

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

    1 call · #0218–#0218

    ps <flag> <args>grep -i <val>grep -v <val>head -n <n>
  80. Inspect · Attention kernels

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

    1 call · #0219–#0219

    cd <path>echo <val>grep -r -n <val> <path> <path> <path> <path> <n> > <path>head -n <n>ls <path> <n> > <path>
  81. Inspect · Batching & scheduling

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

    2 calls · #0220–#0221

    cd <path>grep -r -n <val> <path> <path> <path> <n> > <path>grep -i -E <val>head -n <n>Read <path>
  82. Inspect · Source & workspace

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

    5 calls · #0222–#0226

    Update task list <tasks>cd <path>grep -n <val> <path>head -n <n>headecho <val>
    4 more command sketches
    grep -i -E <val>wc -l <path>tail -n <n>Read <path>
  83. Inspect · Benchmark & validation setup

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

    1 call · #0227–#0227

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

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

    3 calls · #0228–#0230

    cd <path>echo <path>grep -r -n <val> <path> <n> > <path>grep -i -E <val>headgrep -r -n <val> <path> <path> <n> > <path>
    1 more command sketches
    Read <path>

03 / CANDIDATE ARTIFACT

Text patches & binary names

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

sglang · 1 changed files

Base commit: 340db9201005fc64635bb25db1d2538f955761c3

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..4a1a33ac2331fbfc063e8cfd27bfb99602b007ac 100644--- a/python/sglang/srt/hardware_backend/npu/attention/ascend_backend.py+++ b/python/sglang/srt/hardware_backend/npu/attention/ascend_backend.py@@ -430,7 +430,12 @@ class AscendAttnBackend(AttentionBackend):     def init_forward_metadata(self, forward_batch: ForwardBatch):         """Init the metadata for a forward pass."""         self.forward_metadata = ForwardMetadata()-        seq_lens_max = forward_batch.seq_lens.max()+        # Prefer the host-side seq_lens mirror to avoid a hidden device->host+        # sync when the max is later used as a (host) slice bound below.+        if forward_batch.seq_lens_cpu is not None:+            seq_lens_max = int(forward_batch.seq_lens_cpu.max().item())+        else:+            seq_lens_max = int(forward_batch.seq_lens.max().item())         if forward_batch.forward_mode.is_target_verify():             seq_lens_max += self.speculative_num_draft_tokens         elif (@@ -459,9 +464,15 @@ class AscendAttnBackend(AttentionBackend):             )         if forward_batch.extend_seq_lens is not None:             self.forward_metadata.extend_seq_lens = forward_batch.extend_seq_lens-            self.forward_metadata.extend_seq_lens_cpu_int = (-                forward_batch.extend_seq_lens.cpu().int()-            )+            if forward_batch.extend_seq_lens_cpu is not None:+                # Build from the host mirror list; avoid a device->host copy.+                self.forward_metadata.extend_seq_lens_cpu_int = torch.tensor(+                    forward_batch.extend_seq_lens_cpu, dtype=torch.int32+                )+            else:+                self.forward_metadata.extend_seq_lens_cpu_int = (+                    forward_batch.extend_seq_lens.cpu().int()+                )         if forward_batch.seq_lens is not None:             self.forward_metadata.seq_lens = forward_batch.seq_lens.int()         else: