Gemini 3.7 Flash · Serving

S03 · TTFT

Source review rejected

Online TTFT 1dev · Implementation Optimization

—PERFORMANCE RATIO
458TOOL 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 agentGemini 3.7 Flash · 458 visible calls

InspectEditValidateExecuteBuildProfileRollbackOther
353Inspect
6Edit
16Validate
20Execute
63Other

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 timeline222 groups · 458 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 · Source & workspace

    Requested workspace inspection related to source & workspace.

    1 call · #0001–#0001

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

    Requested file and log inspection related to task requirements.

    2 calls · #0002–#0003

    Read <path>
  3. Inspect · Runtime processes

    Requested file and log inspection related to runtime processes.

    1 call · #0004–#0004

    Read <path>
  4. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    3 calls · #0005–#0007

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

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

    1 call · #0008–#0008

    Read <path>
  6. Other · Source & workspace

    Requested environment setup or inspection, source searches and script or workload execution related to source & workspace.

    2 calls · #0009–#0010

    envgrep <val>bash <script>
  7. Inspect · Source & workspace

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

    4 calls · #0011–#0014

    Search <pattern> <path>Read <path>
  8. Other · Source & workspace

    Requested environment setup or inspection related to source & workspace.

    1 call · #0015–#0015

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

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

    1 call · #0016–#0016

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

    Requested task coordination related to source & workspace.

    1 call · #0017–#0017

    Manage task <task>
  11. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    2 calls · #0018–#0019

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

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

    2 calls · #0020–#0021

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

    Requested file and log inspection related to source & workspace.

    1 call · #0022–#0022

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

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

    1 call · #0023–#0023

    env <vars> bash <script>
  15. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    2 calls · #0024–#0025

    Read <path>
  16. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0026–#0026

    Manage task <task>
  17. Other · Benchmark & validation setup

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

    1 call · #0027–#0027

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

    Requested workspace inspection related to source & workspace.

    1 call · #0028–#0028

    List <path>
  19. Inspect · Benchmark & validation setup

    Requested source searches related to benchmark & validation setup.

    1 call · #0029–#0029

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

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

    9 calls · #0030–#0038

    Read <path>Search <pattern> <path>List <path>
  21. Inspect · Benchmark & validation setup

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

    1 call · #0039–#0039

    Read <path>
  22. Inspect · Source & workspace

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

    5 calls · #0040–#0044

    Read <path>Search <pattern> <path>
  23. Inspect · Benchmark & validation setup

    Requested source searches related to benchmark & validation setup.

    1 call · #0045–#0045

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

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

    5 calls · #0046–#0050

    Read <path>Search <pattern> <path>
  25. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    2 calls · #0051–#0052

    python3 -c <script>
  26. Inspect · Source & workspace

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

    5 calls · #0053–#0057

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

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

    3 calls · #0058–#0060

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

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

    17 calls · #0061–#0077

    List <path>Read <path>Search <pattern> <path>
  29. Inspect · Attention kernels

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

    9 calls · #0078–#0086

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

    Requested workspace inspection related to source & workspace.

    1 call · #0087–#0087

    List <path>
  31. Inspect · Attention kernels

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

    4 calls · #0088–#0091

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

    Requested workspace inspection related to source & workspace.

    1 call · #0092–#0092

    List <path>
  33. Inspect · Runtime processes

    Requested file and log inspection related to runtime processes.

    1 call · #0093–#0093

    Read <path>
  34. Inspect · Source & workspace

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

    2 calls · #0094–#0095

    Search <pattern> <path>Read <path>
  35. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0096–#0096

    Manage task <task>
  36. Other · Benchmark & validation setup

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

    1 call · #0097–#0097

    env <vars> bash <script>
  37. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0098–#0098

    Read <path>
  38. Inspect · Runtime processes

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

    2 calls · #0099–#0100

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

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

    5 calls · #0101–#0105

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

    Requested source searches related to batching & scheduling.

    1 call · #0106–#0106

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

    Requested file and log inspection related to source & workspace.

    1 call · #0107–#0107

    Read <path>
  42. Inspect · Batching & scheduling

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

    7 calls · #0108–#0114

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

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

    3 calls · #0115–#0117

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

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

    6 calls · #0118–#0123

    Search <pattern> <path>Read <path>
  45. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0124–#0124

    Manage task <task>
  46. Inspect · Source & workspace

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

    6 calls · #0125–#0130

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

    Requested source searches related to attention kernels.

    1 call · #0131–#0131

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

    1 tool error

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

    7 calls · #0132–#0138

    Search <pattern> <path>Read <path>
  49. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0139–#0139

    Manage task <task>
  50. Inspect · Attention kernels

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

    3 calls · #0140–#0142

    Search <pattern> <path>Read <path>
  51. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0143–#0143

    Manage task <task>
  52. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    3 calls · #0144–#0146

    Read <path>
  53. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0147–#0147

    Manage task <task>
  54. Inspect · Source & workspace

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

    3 calls · #0148–#0150

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

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

    3 calls · #0151–#0153

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

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

    2 calls · #0154–#0155

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

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

    2 calls · #0156–#0157

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

    Requested source searches related to source & workspace.

    2 calls · #0158–#0159

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

    Requested file and log inspection related to device memory.

    1 call · #0160–#0160

    Read <path>
  60. Inspect · Attention kernels

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

    2 calls · #0161–#0162

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

    Requested source searches related to batching & scheduling.

    1 call · #0163–#0163

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

    Requested file and log inspection related to source & workspace.

    2 calls · #0164–#0165

    Read <path>
  63. Inspect · Batching & scheduling

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

    4 calls · #0166–#0169

    Search <pattern> <path>Read <path>
  64. Inspect · Dependencies & build setup

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

    1 call · #0170–#0170

    Read <path>
  65. Inspect · Batching & scheduling

    Requested source searches related to batching & scheduling.

    2 calls · #0171–#0172

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

    Requested file and log inspection related to runtime processes.

    2 calls · #0173–#0174

    Read <path>
  67. Inspect · Source & workspace

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

    3 calls · #0175–#0177

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

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

    3 calls · #0178–#0180

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

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

    9 calls · #0181–#0189

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

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

    6 calls · #0190–#0195

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

    Requested file and log inspection related to batching & scheduling.

    1 call · #0196–#0196

    Read <path>
  72. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    3 calls · #0197–#0199

    Read <path>
  73. Inspect · Batching & scheduling

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

    7 calls · #0200–#0206

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

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

    6 calls · #0207–#0212

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

    1 tool error

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

    5 calls · #0213–#0217

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

    Requested file and log inspection related to runtime processes.

    1 call · #0218–#0218

    Read <path>
  77. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    2 calls · #0219–#0220

    Read <path>
  78. Inspect · Attention kernels

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

    2 calls · #0221–#0222

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

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

    29 calls · #0223–#0251

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

    Requested source searches related to attention kernels.

    1 call · #0252–#0252

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

    Requested file and log inspection related to batching & scheduling.

    2 calls · #0253–#0254

    Read <path>
  82. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    2 calls · #0255–#0256

    Read <path>
  83. Edit · Attention kernels

    Requested code edits related to attention kernels.

    1 call · #0257–#0257

    Edit <path>
  84. Inspect · Batching & scheduling

    Requested file and log inspection related to batching & scheduling.

    2 calls · #0258–#0259

    Read <path>
  85. Edit · Batching & scheduling

    Requested code edits related to batching & scheduling.

    1 call · #0260–#0260

    Edit <path>
  86. Validate · Benchmark & validation setup

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

    1 call · #0261–#0261

    env <vars> bash <script>
  87. Validate · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0262–#0262

    Schedule <task>
  88. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0263–#0263

    Manage task <task>
  89. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0264–#0264

    Read <path>
  90. Validate · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0265–#0265

    Schedule <task>
  91. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0266–#0266

    Manage task <task>
  92. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0267–#0267

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

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

    1 call · #0268–#0268

    ps <val>grep -E <val>
  94. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    2 calls · #0269–#0270

    Read <path>
  95. Inspect · Runtime processes

    Requested source searches related to runtime processes.

    1 call · #0271–#0271

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

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

    2 calls · #0272–#0273

    Read <path>Search <pattern> <path>
  97. Inspect · Benchmark & validation setup

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

    1 call · #0274–#0274

    Read <path>
  98. Inspect · Source & workspace

    Requested source searches related to source & workspace.

    1 call · #0275–#0275

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

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

    2 calls · #0276–#0277

    Search <pattern> <path>Read <path>
  100. Edit · Attention kernels

    Requested code edits related to attention kernels.

    1 call · #0278–#0278

    Edit <path>
  101. Validate · Benchmark & validation setup

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

    1 call · #0279–#0279

    env <vars> bash <script>
  102. Validate · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0280–#0280

    Schedule <task>
  103. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0281–#0281

    Manage task <task>
  104. Inspect · Benchmark & validation setup

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

    1 call · #0282–#0282

    Read <path>
  105. Other · Source & workspace

    Requested task coordination related to source & workspace.

    2 calls · #0283–#0284

    Schedule <task>Manage task <task>
  106. Inspect · Benchmark & validation setup

    1 tool error

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

    3 calls · #0285–#0287

    Read <path>
  107. Validate · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0288–#0288

    Schedule <task>
  108. Other · Benchmark & validation setup

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

    1 call · #0289–#0289

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

    Requested task coordination related to source & workspace.

    2 calls · #0290–#0291

    Schedule <task>Manage task <task>
  110. Inspect · Source & workspace

    Requested workspace inspection related to source & workspace.

    1 call · #0292–#0292

    List <path>
  111. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0293–#0293

    Schedule <task>
  112. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0294–#0294

    Manage task <task>
  113. Inspect · Source & workspace

    Requested workspace inspection related to source & workspace.

    1 call · #0295–#0295

    List <path>
  114. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0296–#0296

    Schedule <task>
  115. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0297–#0297

    Manage task <task>
  116. Inspect · Benchmark & validation setup

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

    1 call · #0298–#0298

    ps <val>grep -E <val>
  117. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0299–#0299

    Schedule <task>
  118. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0300–#0300

    Manage task <task>
  119. Inspect · Benchmark & validation setup

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

    1 call · #0301–#0301

    ps <val>grep -E <val>
  120. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0302–#0302

    Schedule <task>
  121. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0303–#0303

    Manage task <task>
  122. Inspect · Benchmark & validation setup

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

    1 call · #0304–#0304

    ps <val>grep -E <val>
  123. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0305–#0305

    Schedule <task>
  124. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0306–#0306

    Manage task <task>
  125. Inspect · Benchmark & validation setup

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

    1 call · #0307–#0307

    ps <val>grep -E <val>
  126. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0308–#0308

    Schedule <task>
  127. Inspect · Latency & request handling

    Requested source searches related to latency & request handling.

    3 calls · #0309–#0311

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

    Requested file and log inspection related to source & workspace.

    3 calls · #0312–#0314

    Read <path>
  129. Inspect · Attention kernels

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

    3 calls · #0315–#0317

    Read <path>Search <pattern> <path>
  130. Inspect · Device memory

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

    2 calls · #0318–#0319

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

    Requested source searches related to attention kernels.

    1 call · #0320–#0320

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

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

    2 calls · #0321–#0322

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

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

    11 calls · #0323–#0333

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

    Requested source searches related to source & workspace.

    2 calls · #0334–#0335

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

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

    6 calls · #0336–#0341

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

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

    5 calls · #0342–#0346

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

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

    3 calls · #0347–#0349

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

    Requested file and log inspection related to source & workspace.

    1 call · #0350–#0350

    Read <path>
  139. Other · Source & workspace

    Requested script or workload execution and task coordination related to source & workspace.

    2 calls · #0351–#0352

    python3 -c <script>Schedule <task>
  140. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0353–#0353

    Read <path>
  141. Other · Source & workspace

    Requested task coordination related to source & workspace.

    2 calls · #0354–#0355

    Manage task <task>Schedule <task>
  142. Inspect · Batching & scheduling

    Requested file and log inspection related to batching & scheduling.

    1 call · #0356–#0356

    Read <path>
  143. Edit · Batching & scheduling

    Requested code edits related to batching & scheduling.

    1 call · #0357–#0357

    Edit <path>
  144. Inspect · Batching & scheduling

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

    8 calls · #0358–#0365

    Read <path>Search <pattern> <path>
  145. Validate · Benchmark & validation setup

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

    1 call · #0366–#0366

    env <vars> bash <script>
  146. Validate · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0367–#0367

    Schedule <task>
  147. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0368–#0368

    Manage task <task>
  148. Inspect · Benchmark & validation setup

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

    1 call · #0369–#0369

    wc -l <path>
  149. Other · Source & workspace

    Requested task coordination related to source & workspace.

    2 calls · #0370–#0371

    Schedule <task>Manage task <task>
  150. Inspect · Benchmark & validation setup

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

    1 call · #0372–#0372

    wc -l <path>
  151. Other · Source & workspace

    Requested task coordination related to source & workspace.

    2 calls · #0373–#0374

    Schedule <task>Manage task <task>
  152. Inspect · Benchmark & validation setup

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

    1 call · #0375–#0375

    wc -l <path>
  153. Other · Source & workspace

    Requested task coordination related to source & workspace.

    2 calls · #0376–#0377

    Schedule <task>Manage task <task>
  154. Inspect · Benchmark & validation setup

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

    1 call · #0378–#0378

    ps <val>grep -E <val>
  155. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0379–#0379

    Schedule <task>
  156. Inspect · Source & workspace

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

    2 calls · #0380–#0381

    Read <path>List <path>
  157. Inspect · Benchmark & validation setup

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

    2 calls · #0382–#0383

    Read <path>
  158. Inspect · Source & workspace

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

    3 calls · #0384–#0386

    Read <path>Search <pattern> <path>
  159. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0387–#0387

    Edit <path>
  160. Validate · Benchmark & validation setup

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

    1 call · #0388–#0388

    env <vars> bash <script>
  161. Validate · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0389–#0389

    Schedule <task>
  162. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0390–#0390

    Manage task <task>
  163. Inspect · Benchmark & validation setup

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

    1 call · #0391–#0391

    wc -l <path>
  164. Other · Source & workspace

    Requested task coordination related to source & workspace.

    2 calls · #0392–#0393

    Schedule <task>Manage task <task>
  165. Inspect · Benchmark & validation setup

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

    1 call · #0394–#0394

    wc -l <path>
  166. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0395–#0395

    Schedule <task>
  167. Other · Benchmark & validation setup

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

    1 call · #0396–#0396

    env <vars> bash <script>
  168. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0397–#0397

    Schedule <task>
  169. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0398–#0398

    Manage task <task>
  170. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0399–#0399

    wc -l <path>
  171. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0400–#0400

    Schedule <task>
  172. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0401–#0401

    Manage task <task>
  173. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0402–#0402

    wc -l <path>
  174. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0403–#0403

    Schedule <task>
  175. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0404–#0404

    Manage task <task>
  176. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0405–#0405

    wc -l <path>
  177. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0406–#0406

    Schedule <task>
  178. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0407–#0407

    Manage task <task>
  179. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0408–#0408

    wc -l <path>
  180. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0409–#0409

    Schedule <task>
  181. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0410–#0410

    Manage task <task>
  182. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0411–#0411

    wc -l <path>
  183. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0412–#0412

    Schedule <task>
  184. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0413–#0413

    Manage task <task>
  185. Inspect · Benchmark & validation setup

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

    1 call · #0414–#0414

    ps <val>grep -E <val>
  186. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0415–#0415

    Schedule <task>
  187. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0416–#0416

    Read <path>
  188. Inspect · Batching & scheduling

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

    5 calls · #0417–#0421

    Search <pattern> <path>Read <path>
  189. Edit · Batching & scheduling

    Requested code edits related to batching & scheduling.

    1 call · #0422–#0422

    Edit <path>
  190. Validate · Benchmark & validation setup

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

    1 call · #0423–#0423

    env <vars> bash <script>
  191. Validate · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0424–#0424

    Schedule <task>
  192. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0425–#0425

    Manage task <task>
  193. Inspect · Benchmark & validation setup

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

    1 call · #0426–#0426

    wc -l <path>
  194. Other · Source & workspace

    Requested task coordination related to source & workspace.

    2 calls · #0427–#0428

    Schedule <task>Manage task <task>
  195. Inspect · Benchmark & validation setup

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

    1 call · #0429–#0429

    wc -l <path>
  196. Other · Benchmark & validation setup

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

    1 call · #0430–#0430

    env <vars> bash <script>
  197. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0431–#0431

    Schedule <task>
  198. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0432–#0432

    Manage task <task>
  199. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0433–#0433

    wc -l <path>
  200. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0434–#0434

    Schedule <task>
  201. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0435–#0435

    Manage task <task>
  202. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0436–#0436

    wc -l <path>
  203. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0437–#0437

    Schedule <task>
  204. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0438–#0438

    Manage task <task>
  205. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0439–#0439

    wc -l <path>
  206. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0440–#0440

    Schedule <task>
  207. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0441–#0441

    Manage task <task>
  208. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0442–#0442

    wc -l <path>
  209. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0443–#0443

    Schedule <task>
  210. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0444–#0444

    Manage task <task>
  211. Inspect · Benchmark & validation setup

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

    1 call · #0445–#0445

    ps <val>grep -E <val>
  212. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0446–#0446

    Schedule <task>
  213. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0447–#0447

    Manage task <task>
  214. Inspect · Benchmark & validation setup

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

    1 call · #0448–#0448

    ps <val>grep -E <val>
  215. Execute · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0449–#0449

    Schedule <task>
  216. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    2 calls · #0450–#0451

    git statusgit diff
  217. Validate · Benchmark & validation setup

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

    1 call · #0452–#0452

    env <vars> bash <script>
  218. Validate · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0453–#0453

    Schedule <task>
  219. Other · Source & workspace

    Requested task coordination related to source & workspace.

    1 call · #0454–#0454

    Manage task <task>
  220. Inspect · Benchmark & validation setup

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

    1 call · #0455–#0455

    wc -l <path>
  221. Other · Source & workspace

    Requested task coordination related to source & workspace.

    2 calls · #0456–#0457

    Schedule <task>Manage task <task>
  222. Inspect · Benchmark & validation setup

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

    1 call · #0458–#0458

    wc -l <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 · 3 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..9b26c543eaf1aa91f0348fcc2ad0d6ce14caaa6e 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,13 @@ 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()+        if forward_batch.seq_lens_cpu is not None:+            if isinstance(forward_batch.seq_lens_cpu, torch.Tensor):+                seq_lens_max = int(forward_batch.seq_lens_cpu.max().item())+            else:+                seq_lens_max = int(max(forward_batch.seq_lens_cpu))+        else:+            seq_lens_max = int(forward_batch.seq_lens.max())         if forward_batch.forward_mode.is_target_verify():             seq_lens_max += self.speculative_num_draft_tokens         elif (@@ -459,9 +465,21 @@ 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:+                if isinstance(forward_batch.extend_seq_lens_cpu, torch.Tensor):+                    self.forward_metadata.extend_seq_lens_cpu_int = (+                        forward_batch.extend_seq_lens_cpu.int()+                    )+                else:+                    self.forward_metadata.extend_seq_lens_cpu_int = torch.tensor(+                        forward_batch.extend_seq_lens_cpu,+                        dtype=torch.int32,+                        device="cpu",+                    )+            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:@@ -474,8 +492,9 @@ class AscendAttnBackend(AttentionBackend):             not forward_batch.forward_mode.is_draft_extend_v2()             and not forward_batch.forward_mode.is_target_verify()         ):-            seq_lens_list_cumsum = np.cumsum(forward_batch.extend_seq_lens_cpu)-            self.forward_metadata.seq_lens_list_cumsum = seq_lens_list_cumsum+            if forward_batch.extend_seq_lens_cpu is not None:+                seq_lens_list_cumsum = np.cumsum(forward_batch.extend_seq_lens_cpu)+                self.forward_metadata.seq_lens_list_cumsum = seq_lens_list_cumsum          if forward_batch.forward_mode.is_target_verify() and not _is_dflash_verify(             forward_batch.spec_infodiff --git a/python/sglang/srt/managers/scheduler.py b/python/sglang/srt/managers/scheduler.pyindex a9615a14c512345b2d63323ff3ebd2fe3d9a0dca..ab17472fbdfb67f16c41c71a08d4189bd9cb1de2 100644--- a/python/sglang/srt/managers/scheduler.py+++ b/python/sglang/srt/managers/scheduler.py@@ -1803,9 +1803,12 @@ class Scheduler(         last_batch_is_extend = is_extend(last_batch)          disable_overlap_for_batch = (-            envs.SGLANG_DISABLE_CONSECUTIVE_PREFILL_OVERLAP.get()-            and batch_is_extend-            and last_batch_is_extend+            (_is_npu and last_batch_is_extend)+            or (+                envs.SGLANG_DISABLE_CONSECUTIVE_PREFILL_OVERLAP.get()+                and batch_is_extend+                and last_batch_is_extend+            )         )          # Sync so the FSM advance lands before the next batch's bitmask. Permanent@@ -3617,18 +3620,18 @@ class Scheduler(                                 forward_done,                                 batch.out_cache_loc,                             )-                        # FIXME(lsyin): maybe move this to forward_batch_generation-                        batch_result.copy_done = self.device_module.Event()                         if batch_result.delay_sample_func is None:                             self._relay_forward_payload(future_indices, batch_result)-                            if _is_hip:+                            if _is_hip or _is_npu:                                 # Cross-stream sync costs more than the tiny D2H it                                 # overlaps.+                                batch_result.copy_done = None                                 batch_result.copy_to_cpu(                                     return_logprob=batch.return_logprob,                                     return_hidden_states=batch.return_hidden_states,                                 )                             else:+                                batch_result.copy_done = self.device_module.Event()                                 # Result D2H on copy_stream overlaps the next forward                                 # instead of serializing on forward_stream; it's a leaf                                 # gated by copy_done, so nothing on forward_stream waits.@@ -3638,7 +3641,9 @@ class Scheduler(                                         return_logprob=batch.return_logprob,                                         return_hidden_states=batch.return_hidden_states,                                     )+                                batch_result.copy_done.record(self.copy_stream)                         else:+                            batch_result.copy_done = self.device_module.Event()                             batch_result.future_indices = future_indices                  # Next-iter input_ids relayed via future_map.diff --git a/python/sglang/srt/managers/utils.py b/python/sglang/srt/managers/utils.pyindex fe883c264d28d9589771bc86fb65e900db96539b..9ba9b72ee8a19fe0fc04838b9ccd7e7e93b8017a 100644--- a/python/sglang/srt/managers/utils.py+++ b/python/sglang/srt/managers/utils.py@@ -170,7 +170,8 @@ class GenerationBatchResult:             if holder is not None:                 holder.map_device_tensors(_async_d2h) -        self.copy_done.record()+        if self.copy_done is not None:+            self.copy_done.record()      @classmethod     def from_pp_proxy(