GPT-5.6 Sol · Serving

S12 · Serving adapt

Valid

SGLang LFM2-1.2B model adapt serving 1dev · Model Adaptation

1.29×PERFORMANCE RATIO
219TOOL EVENTS
1TEXT PATCHES
0BINARY NAMES

01 / PROCESS MAP

Tool activity

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

Main agentGPT-5.6 Sol · 219 visible calls

InspectEditValidateExecuteBuildProfileRollbackOther
138Inspect
20Edit
3Build
30Validate
5Execute
23Other

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 timeline165 groups · 219 calls

Scroll within this panel to view all events. Command sketches retain familiar programs and options. Values become <val> or <n>; paths, addresses and script bodies are hidden as <path>, <url> and <script>.

Main agent

  1. Inspect · Task requirements

    Requested workspace inspection, environment setup or inspection and source searches related to task requirements.

    3 calls · #0001–#0003

    pwdprintenv <vars>rg --files -g <val> -g <path>sed -n <val> <path>git status --shortprintf <val> <flag>
    3 more command sketches
    find <val> -maxdepth <n> -type <val> <flag> <args>sortfind <path> -type <val> <flag> <args>
  2. Validate · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0004–#0004

    <command> <args>sed -n <val> <path>
  3. Validate · Batching & scheduling

    Requested file and log inspection related to batching & scheduling.

    1 call · #0005–#0005

    printf <val> <flag>sed -n <val> <path>wc -l <path>jq -c <val> <path>sortuniq -c
    3 more command sketches
    <command> <args>jq <val> <val>sed -n <val>
  4. Other · Source & workspace

    1 tool error

    Requested script or workload execution related to source & workspace.

    1 call · #0006–#0006

    bash <script>
  5. Inspect · Source & workspace

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

    2 calls · #0007–#0008

    <command> <args>sed -n <val> <path>printf <val> <val> <val> <val> <val> <val> <val> <val>jq <val> <val>env <vars> bash <script>
  6. Other · Benchmark & validation setup

    1 tool error

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

    1 call · #0009–#0009

    bash <script>
  7. Inspect · Task requirements

    Requested workspace inspection related to task requirements.

    1 call · #0010–#0010

    sha256sum <path> <path>find <val> -maxdepth <n> -type <val> <flag> <args>sort
  8. Inspect · Source & workspace

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

    1 call · #0011–#0011

    rg -n -i <val> <path> <val> --glob <path> --glob <path> --glob <path>head -n <n>
  9. Inspect · Convolution & sequence boundaries

    Requested file and log inspection and repository inspection related to convolution & sequence boundaries.

    1 call · #0012–#0012

    sed -n <val> <path>printf <val>git log --oneline <flag> <args>
  10. Inspect · Benchmark & validation setup

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

    1 call · #0013–#0013

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

    Requested file and log inspection related to source & workspace.

    1 call · #0014–#0014

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

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

    2 calls · #0015–#0016

    env <vars> bash <script><command> <args>
  13. Validate · Device memory

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

    1 call · #0017–#0017

    ps <flag> <args>rg <val>truels -l <path> <path> <n> > <path>npu-smi info <n> >& <path>head -n <n>
  14. Inspect · Benchmark & validation setup

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

    2 calls · #0018–#0019

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

    1 tool error

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

    1 call · #0020–#0020

    bash <script>
  16. Inspect · Benchmark & validation setup

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

    1 call · #0021–#0021

    wc -c <path>tail -n <n> <path>
  17. Inspect · Attention kernels

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

    5 calls · #0022–#0026

    rg -n <val> <path> --glob <path>sed -n <val> <path>printf <val>rg -n <val> <path>printf <path>rg -n <val> <path> <path> --glob <path>
    3 more command sketches
    head -n <n>sed -n <val> <path> <n> > <path>true
  18. Inspect · Convolution & sequence boundaries

    Requested file and log inspection related to convolution & sequence boundaries.

    1 call · #0027–#0027

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

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

    1 call · #0028–#0028

    jq <val> <path>ls -l -a -h <path>head -n <n>find <path> -maxdepth <n> -type <val> <flag> <args>sort
  20. Inspect · Convolution & sequence boundaries

    Requested source searches and file and log inspection related to convolution & sequence boundaries.

    1 call · #0029–#0029

    rg -n <val> <path> <path> --glob <path>head -n <n>rg -n <val> <path> <path>
  21. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    1 call · #0030–#0030

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

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

    2 calls · #0031–#0032

    rg -n <val> <path> --glob <path>sed -n <val> <path>
  23. Inspect · Convolution & sequence boundaries

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

    1 call · #0033–#0033

    rg -n <val> <path> --glob <path> --glob <path>grep -E <val>head -n <n>find <path> -path <val> -o -path <val>
  24. Edit · Attention kernels

    Requested code edits related to attention kernels.

    1 call · #0034–#0034

    Apply patch <patch>
  25. Inspect · Attention kernels

    Requested repository inspection related to attention kernels.

    1 call · #0035–#0035

    git diff --checkgit diff <flag> <args>
  26. Edit · Attention kernels

    Requested code edits related to attention kernels.

    1 call · #0036–#0036

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

    Requested runtime inspection and source searches related to source & workspace.

    1 call · #0037–#0037

    ps <flag> <args>rg <path>true
  28. Other · Attention kernels

    Requested script or workload execution related to attention kernels.

    1 call · #0038–#0038

    python -m <module> <script> <script> <script>python3 - <script>
  29. Other · Source & workspace

    Requested execution waits and runtime inspection related to source & workspace.

    1 call · #0039–#0039

    <command> <args>sleep <n>ps -p <n> -o <val>true
  30. Inspect · Source & workspace

    Requested tool activity related to source & workspace.

    1 call · #0040–#0040

    <command> <args>
  31. Other · Attention kernels

    Requested script or workload execution related to attention kernels.

    1 call · #0041–#0041

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

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

    3 calls · #0042–#0044

    tail -n <n> <path>sed -n <path>
  33. Validate · Device memory

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

    1 call · #0045–#0045

    tail -n <n> <path>npu-smi info <n> >& <path>tail -n <n>
  34. Inspect · Device memory

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

    2 calls · #0046–#0047

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

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

    1 call · #0048–#0048

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

    Requested file and log inspection related to device memory.

    3 calls · #0049–#0051

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

    1 tool error

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

    1 call · #0052–#0052

    bash <script>
  38. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0053–#0053

    Apply patch <patch>
  39. Inspect · Convolution & sequence boundaries

    Requested script or workload execution and file and log inspection related to convolution & sequence boundaries.

    4 calls · #0054–#0057

    python3 - <script>sed -n <val> <path>
  40. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0058–#0058

    Apply patch <patch>
  41. Inspect · Convolution & sequence boundaries

    Requested script or workload execution related to convolution & sequence boundaries.

    1 call · #0059–#0059

    python -m <module> <script> <script> <script>python3 - <script>
  42. Inspect · Benchmark & validation setup

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

    2 calls · #0060–#0061

    tail -n <n> <path>sed -n <path>
  43. Validate · Benchmark & validation setup

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

    1 call · #0062–#0062

    bash <script>
  44. Inspect · Task requirements

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

    1 call · #0063–#0063

    cat <path>jq <path> <path>git status --shortgit diff --stat
  45. Inspect · Source & workspace

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

    1 call · #0064–#0064

    ls -l <val>sed -n <val> <val>
  46. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0065–#0065

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

    Requested file and log inspection related to source & workspace.

    1 call · #0066–#0066

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

    1 tool error

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

    1 call · #0067–#0067

    <command> <args>env <vars>mkdir <val>cp -a <path> <path>jq <flag> <args>mv <path> <path>
    3 more command sketches
    rm <path>printf <val> <val> <val> <val>env <vars> python3 <script> <val>
  49. Inspect · Benchmark & validation setup

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

    1 call · #0068–#0068

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

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

    1 call · #0069–#0069

    <command> <args>env <vars>jq <flag> <args>mv <path> <path>printf <val> <val>env <vars> python3 <script> <val>
  51. Validate · Benchmark & validation setup

    1 tool error

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

    1 call · #0070–#0070

    python3 <script>env <vars>jq <path> <path><command> <args>
  52. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    2 calls · #0071–#0072

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

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

    3 calls · #0073–#0075

    tail -n <n> <path>sed -n <path>
  54. Validate · Benchmark & validation setup

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

    1 call · #0076–#0076

    env <vars> python3 <script> <val>
  55. Inspect · Benchmark & validation setup

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

    1 call · #0077–#0077

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

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

    1 call · #0078–#0078

    rg -n <val> <path> <path> <path> --glob <path>head -n <n>
  57. Inspect · Device memory

    Requested file and log inspection related to device memory.

    1 call · #0079–#0079

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

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

    1 call · #0080–#0080

    rg -n <val> <path>head -n <n>
  59. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    1 call · #0081–#0081

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

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

    4 calls · #0082–#0085

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

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

    1 call · #0086–#0086

    rg -n <val> <path>sed -n <val> <path>rg -n <val> <path> <path> -g <path>head -n <n>
  62. Inspect · Prefix caching

    Requested file and log inspection related to prefix caching.

    1 call · #0087–#0087

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

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

    1 call · #0088–#0088

    rg -n <val> <path> <path>head -n <n>sed -n <val> <path>
  64. Inspect · Prefix caching

    Requested file and log inspection related to prefix caching.

    1 call · #0089–#0089

    sed -n <val> <path>
  65. Inspect · Convolution & sequence boundaries

    Requested file and log inspection and workspace inspection related to convolution & sequence boundaries.

    5 calls · #0090–#0094

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

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

    1 call · #0095–#0095

    git status --shortgit log --oneline <flag> <args>head -n <n>git diff <flag> <args>
  67. Inspect · Source & workspace

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

    1 call · #0096–#0096

    find <val> -maxdepth <n> -type <val> <flag> <args>sorthead -n <n>tail -n <n>
  68. Inspect · Convolution & sequence boundaries

    Requested source searches and file and log inspection related to convolution & sequence boundaries.

    2 calls · #0097–#0098

    rg -n <val> <path>sed -n <val> <path>
  69. Execute · Convolution & sequence boundaries

    1 tool error

    Requested environment setup or inspection and script or workload execution related to convolution & sequence boundaries.

    1 call · #0099–#0099

    <command> <args>export <vars>python3 - <script>
  70. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0100–#0100

    cd <path>python3 - <script>
  71. Inspect · Convolution & sequence boundaries

    Requested file and log inspection and script or workload execution related to convolution & sequence boundaries.

    1 call · #0101–#0101

    sed -n <val> <path>python3 - <script>
  72. Other · Convolution & sequence boundaries

    1 tool error

    Requested environment setup or inspection, script or workload execution and repository inspection related to convolution & sequence boundaries.

    2 calls · #0102–#0103

    cd <path>export <vars>python3 - <script>git branch -agit <val> -vsha256sum <path> <path>
    1 more command sketches
    rg -n <val> <val> -g <val> -g <val> -g <path>
  73. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0104–#0104

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

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

    1 call · #0105–#0105

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

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

    1 call · #0106–#0106

    find <path> -maxdepth <n> -type <val> <flag> <args>sortrg -n <val> <path> -g <path> -g <val>head -n <n>
  76. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0107–#0107

    python3 - <script>
  77. Inspect · Device memory

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

    1 call · #0108–#0108

    ps <flag> <args>rg <val>head -n <n>npu-smi info
  78. Other · Source & workspace

    Requested process termination and runtime inspection related to source & workspace.

    1 call · #0109–#0109

    kill <n> <n> <n> > <path>trueps -p <val> -o <val>
  79. Inspect · Convolution & sequence boundaries

    1 tool error

    Requested environment setup or inspection and script or workload execution related to convolution & sequence boundaries.

    1 call · #0110–#0110

    cd <path>export <vars>python3 - <script>
  80. Other · Source & workspace

    Requested process termination, execution waits and runtime inspection related to source & workspace.

    1 call · #0111–#0111

    kill <flag> <args>truesleep <n>ps -p <val> -o <val>
  81. Inspect · Source & workspace

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

    1 call · #0112–#0112

    ps <flag> <args>rg <val>head -n <n>
  82. Inspect · Convolution & sequence boundaries

    1 tool error

    Requested environment setup or inspection and script or workload execution related to convolution & sequence boundaries.

    2 calls · #0113–#0114

    cd <path>export <vars>python3 - <script>
  83. Inspect · Prefix caching

    Requested source searches and file and log inspection related to prefix caching.

    1 call · #0115–#0115

    rg -n <val> <path> <path>head -n <n>rg -n <val> <path>
  84. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    1 call · #0116–#0116

    sed -n <val> <path>
  85. Validate · Batching & scheduling

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

    1 call · #0117–#0117

    python3 - <script>rg -n <val> <path>head -n <n>
  86. Inspect · Benchmark & validation setup

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

    1 call · #0118–#0118

    rg -n <val> <path>head -n <n>
  87. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0119–#0119

    Apply patch <patch>
  88. Validate · Task requirements

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

    1 call · #0120–#0120

    tail -n <n> <path>python3 -m <module> <n> > <path>truepython3 - <script>
  89. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0121–#0121

    sed -n <val> <path>
  90. Inspect · Benchmark & validation setup

    Requested source searches related to benchmark & validation setup.

    1 call · #0122–#0122

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

    Requested file and log inspection related to source & workspace.

    1 call · #0123–#0123

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

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

    1 call · #0124–#0124

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

    1 tool error

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

    3 calls · #0125–#0127

    rg -n <val> <path> <path> <path> -g <path>head -n <n>sed -n <val> <path>rg -n <val> <path> -g <path>rg -n <val> <flag> <args>rg -n <val> <path>
  94. Inspect · Runtime processes

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

    1 call · #0128–#0128

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

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

    2 calls · #0129–#0130

    sed -n <val> <path>rg -n <val> <path>head -n <n>
  96. Build · Source & workspace

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

    1 call · #0131–#0131

    sed -n <val> <path>python3 - <script>
  97. Inspect · Convolution & sequence boundaries

    Requested workspace inspection and file and log inspection related to convolution & sequence boundaries.

    1 call · #0132–#0132

    find <path> -maxdepth <n> -type <val> <flag> <args>head -n <n>find <path> -maxdepth <n> -type <val> -name <path> -o -name <path>head
  98. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0133–#0133

    bash <script>
  99. Execute · Prefix caching

    1 tool error

    Requested environment setup or inspection related to prefix caching.

    1 call · #0134–#0134

    <command> <args>export <vars>
  100. Inspect · Runtime processes

    Requested source searches related to runtime processes.

    1 call · #0135–#0135

    grep -n <val> <path>
  101. Validate · Rollout generation

    Requested script or workload execution related to rollout generation.

    1 call · #0136–#0136

    python3 - <script>
  102. Execute · Prefix caching

    Requested environment setup or inspection related to prefix caching.

    1 call · #0137–#0137

    <command> <args>export <vars>
  103. Validate · Batching & scheduling

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

    1 call · #0138–#0138

    cd <path>export <vars>python3 - <script>
  104. Validate · Attention kernels

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

    1 call · #0139–#0139

    cd <path>export <vars>python3 - <script>
  105. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0140–#0140

    python3 - <script>
  106. Other · Attention kernels

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

    1 call · #0141–#0141

    python3 - <script>sed -n <val> <path>
  107. Inspect · Convolution & sequence boundaries

    Requested file and log inspection related to convolution & sequence boundaries.

    2 calls · #0142–#0143

    sed -n <val> <path>
  108. Inspect · Benchmark & validation setup

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

    1 call · #0144–#0144

    cat <path>rg -n <val> <path>tail -n <n>sed -n <val> <path>
  109. Inspect · Source & workspace

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

    2 calls · #0145–#0146

    sed -n <val> <path>envrg <val>sort
  110. Inspect · Convolution & sequence boundaries

    Requested file and log inspection and source searches related to convolution & sequence boundaries.

    1 call · #0147–#0147

    sed -n <val> <path>rg -n <val>
  111. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0148–#0148

    Apply patch <patch>
  112. Other · Convolution & sequence boundaries

    1 tool error

    Requested environment setup or inspection and script or workload execution related to convolution & sequence boundaries.

    1 call · #0149–#0149

    export <vars>bash <script>
  113. Build · Convolution & sequence boundaries

    Requested workspace inspection and file and log inspection related to convolution & sequence boundaries.

    1 call · #0150–#0150

    find <path> -maxdepth <n> -type <val> <flag> <args>head -n <n>sha256sum <path> <path>ls -l <path>
  114. Validate · Task requirements

    Requested environment setup or inspection related to task requirements.

    1 call · #0151–#0151

    test -f <path>echo <val>env <vars> python3 <script> <val>
  115. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0152–#0152

    Apply patch <patch>
  116. Inspect · Convolution & sequence boundaries

    Requested repository inspection related to convolution & sequence boundaries.

    1 call · #0153–#0153

    git diff --quiet <flag> <args>echo <val>sha256sum <path> <path>
  117. Build · Precision & numerical checks

    Requested workspace file updates related to precision & numerical checks.

    1 call · #0154–#0154

    mv <path> <path>
  118. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0155–#0155

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

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

    1 call · #0156–#0156

    tail -n <n> <path>sed -n <val>ps <flag> <args>rg <val>head -n <n>
  120. Validate · Benchmark & validation setup

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

    1 call · #0157–#0157

    env <vars> python3 <script> <val>
  121. Validate · Convolution & sequence boundaries

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

    1 call · #0158–#0158

    printf <val> <val> <val>ls <flag> <args>truehead -n <n> <path>tail -n <n>rg -n <path> <path>
    1 more command sketches
    head
  122. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0159–#0159

    Apply patch <patch>
  123. Validate · Benchmark & validation setup

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

    1 call · #0160–#0160

    env <vars> python3 <script> <val>
  124. Validate · Attention kernels

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

    1 call · #0161–#0161

    cd <path>export <vars>python3 - <script>
  125. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0162–#0162

    Apply patch <patch>
  126. Validate · Benchmark & validation setup

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

    1 call · #0163–#0163

    env <vars> python3 <script> <val>
  127. Execute · Benchmark & validation setup

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

    1 call · #0164–#0164

    tail -n <n> <path> <n> > <path>trueps <flag> <args>rg <val>head -n <n>
  128. Inspect · Benchmark & validation setup

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

    1 call · #0165–#0165

    find <val> -maxdepth <n> -type <val> <flag> <args>sorttail -n <n>ps <flag> <args>rg <val>head -n <n>
  129. Inspect · Batching & scheduling

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

    3 calls · #0166–#0168

    tail -n <n> <path>find <val> -maxdepth <n> -type <val> -name <val> <flag> <args>sort
  130. Inspect · Source & workspace

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

    2 calls · #0169–#0170

    tail -n <n> <path>find <val> -maxdepth <n> -name <val> -type <val> <flag> <args>sort
  131. Inspect · Benchmark & validation setup

    Requested source searches related to benchmark & validation setup.

    1 call · #0171–#0171

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

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

    1 call · #0172–#0172

    bash <script>
  133. Inspect · Convolution & sequence boundaries

    Requested environment setup or inspection and script or workload execution related to convolution & sequence boundaries.

    1 call · #0173–#0173

    cd <path>export <vars>python3 - <script>
  134. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    2 calls · #0174–#0175

    Apply patch <patch>
  135. Validate · Benchmark & validation setup

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

    2 calls · #0176–#0177

    env <vars> python3 <script> <val>cat <path>ps <flag> <args>rg <val>truegit status --short
  136. Inspect · Attention kernels

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

    1 call · #0178–#0178

    sed -n <val> <path>git diff <flag> <args>
  137. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0179–#0179

    Apply patch <patch>
  138. Inspect · Convolution & sequence boundaries

    Requested file and log inspection and repository inspection related to convolution & sequence boundaries.

    1 call · #0180–#0180

    sed -n <val> <path>git diff --check
  139. Validate · Benchmark & validation setup

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

    1 call · #0181–#0181

    env <vars> python3 <script> <val>
  140. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0182–#0182

    python3 <script>
  141. Inspect · Attention kernels

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

    3 calls · #0183–#0185

    git diff --statgit diff <flag> <args>sed -n <val> <path>rg -n <val> <path> <path> -g <path>head -n <n>rg -n <val> <path> <path>
  142. Edit · Attention kernels

    Requested code edits related to attention kernels.

    1 call · #0186–#0186

    Apply patch <patch>
  143. Inspect · Attention kernels

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

    1 call · #0187–#0187

    git status --shortgit diff --checkgit diff --statpython3 -m <module> <script> <script> <script> <script> <script>
  144. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0188–#0188

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

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

    2 calls · #0189–#0190

    sed -n <val> <path>rg -n <val> <path> <path> -g <path>git log <flag> <args>git status --short <path> <path>
  146. Inspect · Convolution & sequence boundaries

    Requested source searches and file and log inspection related to convolution & sequence boundaries.

    1 call · #0191–#0191

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

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

    1 call · #0192–#0192

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

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

    3 calls · #0193–#0195

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

    Requested code edits related to attention kernels.

    1 call · #0196–#0196

    Apply patch <patch>
  150. Other · Benchmark & validation setup

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

    1 call · #0197–#0197

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

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

    1 call · #0198–#0198

    date -u <val>jq <val> <path>git diff --check
  152. Inspect · Convolution & sequence boundaries

    1 tool error

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

    5 calls · #0199–#0203

    sed -n <val> <path> <n> > <path>python - <script>rg -n <val> <path>sed -n <val> <path>python3 - <script>head -n <n>
  153. Other · Convolution & sequence boundaries

    1 tool error

    Requested script or workload execution related to convolution & sequence boundaries.

    2 calls · #0204–#0205

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

    Requested tool activity related to source & workspace.

    1 call · #0206–#0206

    date -u <val>
  155. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0207–#0207

    Apply patch <patch>
  156. Validate · Benchmark & validation setup

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

    1 call · #0208–#0208

    env <vars> python3 <script> <val>
  157. Other · Benchmark & validation setup

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

    1 call · #0209–#0209

    bash <script>
  158. Inspect · Attention kernels

    1 tool error

    Requested repository inspection related to attention kernels.

    1 call · #0210–#0210

    date -u <val>git diff --check<command> <args>
  159. Other · Attention kernels

    1 tool error

    Requested script or workload execution related to attention kernels.

    1 call · #0211–#0211

    python3 -m <module> <val> --check <script> <script> <script> <script> <script>python3 -m <module> <val> <script> <script> <script> <script> <script>
  160. Inspect · Attention kernels

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

    2 calls · #0212–#0213

    command -v <val>truerg -n <val> <val> <path> <val> <n> > <path>head -n <n>git diff --checkpython3 -m <module> <script> <script> <script> <script> <script>
    6 more command sketches
    git diff <flag> <args>envrg <val>find <val> -maxdepth <n> -mindepth <n> -type <val> <flag> <args>sortfind <val> -maxdepth <n> -type <val> <flag> <args>
  161. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0214–#0214

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

    Requested workspace inspection related to source & workspace.

    2 calls · #0215–#0216

    find <path> -maxdepth <n> <val> -name <val> -o -name <val> <val> <flag>test -d <path>realpath <path> <val> -d <path>realpath <path>find <path> <flag> <args>
  163. Inspect · Attention kernels

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

    1 call · #0217–#0217

    date -u <val>rg --files <val> <val>rg <val>head -n <n>git status --shortgit diff --check
    2 more command sketches
    python3 <script>python3 -m <module> <script> <script> <script> <script> <script>
  164. Inspect · Convolution & sequence boundaries

    Requested file and log inspection, script or workload execution and runtime inspection related to convolution & sequence boundaries.

    1 call · #0218–#0218

    sed -n <val> <path>bash <script>ps <flag> <args>rg <path>true<command> <args>
    3 more command sketches
    rg <val>test <val> -e <path>test <val> -e <path> <val> <val> -e <path>
  165. Validate · Precision & numerical checks

    Requested file and log inspection, repository inspection and workspace inspection related to precision & numerical checks.

    1 call · #0219–#0219

    date -u <val>jq <val> <path>jq <path> <path>git status --shortgit diff --checkgit status --short <flag> <args>
    4 more command sketches
    <command> <args>truefind <path> -maxdepth <n> -name <val> <flag>find <path> -maxdepth <n> <val> -name <val> -o -name <val> <val> <flag>

03 / CANDIDATE ARTIFACT

Text patches & binary names

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

sglang · 5 changed files

Base commit: 340db9201005fc64635bb25db1d2538f955761c3

diff --git a/python/sglang/srt/hardware_backend/npu/attention/ascend_hybrid_linear_attn_backend.py b/python/sglang/srt/hardware_backend/npu/attention/ascend_hybrid_linear_attn_backend.pyindex 90a52a121cc49d607f506f5bd4a5185730b7f9c6..11f0061472e963a9942594bab5f1ad8b60ec712f 100644--- a/python/sglang/srt/hardware_backend/npu/attention/ascend_hybrid_linear_attn_backend.py+++ b/python/sglang/srt/hardware_backend/npu/attention/ascend_hybrid_linear_attn_backend.py@@ -12,10 +12,13 @@ from sglang.srt.layers.attention.hybrid_linear_attn_backend import (     HybridLinearAttnBackend,     MambaAttnBackendBase, )+from sglang.srt.layers.attention.linear.short_conv_backend import (+    ShortConvAttnBackend,+) from sglang.srt.layers.attention.mamba.mamba2_metadata import (     ForwardMetadata, )-from sglang.srt.model_executor.forward_batch_info import ForwardMode+from sglang.srt.model_executor.forward_batch_info import ForwardBatch, ForwardMode from sglang.srt.model_executor.model_runner import ModelRunner from sglang.srt.speculative.eagle_info import EagleDraftInput, EagleVerifyInput from sglang.srt.speculative.spec_info import SpecInput@@ -217,6 +220,21 @@ class AscendMamba2AttnBackend(AscendMambaAttnBackendBase):     pass  +class AscendShortConvAttnBackend(+    ShortConvAttnBackend, AscendMambaAttnBackendBase+):+    """Ascend state sidecar for short-convolution hybrid models.++    ``ShortConvAttnBackend`` owns the model-independent state handle while+    ``AscendMambaAttnBackendBase`` supplies Ascend's graph-safe metadata+    buffers.  Keeping the cache indices as int32 also matches the native NPU+    causal-convolution kernels and avoids a cast in every convolution layer.+    """++    cache_indices_dtype = torch.int32+    needs_extend_host_mirrors = False++ class AscendHybridLinearAttnBackend(HybridLinearAttnBackend):     def __init__(         self,@@ -320,3 +338,19 @@ class AscendHybridLinearAttnBackend(HybridLinearAttnBackend):         self, spec_info: SpecInput, cuda_graph_bs: Optional[int]     ):         pass+++class AscendShortConvHybridAttnBackend(AscendHybridLinearAttnBackend):+    """Ascend hybrid wrapper exposing the short-conv state sidecar to models."""++    def __init__(+        self,+        full_attn_backend: AttentionBackend,+        short_conv_backend: AscendShortConvAttnBackend,+        full_attn_layers: list[int],+    ):+        super().__init__(full_attn_backend, short_conv_backend, full_attn_layers)+        self.short_conv_backend = short_conv_backend++    def conv_state_metadata(self, layer_id: int, forward_batch: ForwardBatch):+        return self.short_conv_backend.conv_state_metadata(layer_id, forward_batch)diff --git a/python/sglang/srt/hardware_backend/npu/short_conv.py b/python/sglang/srt/hardware_backend/npu/short_conv.pynew file mode 100644index 0000000000000000000000000000000000000000..dc675419a3acd0327dc911deb87116fd820d854e--- /dev/null+++ b/python/sglang/srt/hardware_backend/npu/short_conv.py@@ -0,0 +1,90 @@+# Copyright 2023-2026 SGLang Team+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+#     http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# ==============================================================================+"""Ascend helpers for LFM2 short-convolution hybrid models."""++from typing import Optional, Sequence++import torch++from sglang.kernels.ops.mamba.causal_conv1d_triton import (+    causal_conv1d_fn as causal_conv1d_fn_triton,+)+++def short_conv_npu(+    x: torch.Tensor,+    conv_state: torch.Tensor,+    weight: torch.Tensor,+    bias: Optional[torch.Tensor],+    cache_indices: torch.Tensor,+    *,+    query_start_loc: Optional[torch.Tensor] = None,+    seq_lens_cpu: Optional[Sequence[int]] = None,+    has_initial_state: Optional[torch.Tensor] = None,+    activation: Optional[str] = None,+) -> torch.Tensor:+    """Run short conv against Ascend's ``[slot, K-1, dim]`` state layout.++    Decode performs the stock BF16 window reduction directly against Ascend's+    state layout. Prefill exposes that storage as a stride-only channel-major+    view to SGLang's packed causal-conv kernel; this preserves the portable+    kernel's numerics and updates every row in a ragged continuous batch.+    """++    if query_start_loc is None:+        # Ascend stores state as [slot, K-1, dim].  Build the same contiguous+        # [batch, dim, K] window used by causal_conv1d_update_npu, but avoid its+        # second advanced-index gather and both full-state contiguous+        # transposes.  Besides halving this update's latency, keeping the+        # multiply + reduction unchanged preserves its BF16 token numerics.+        active_state = conv_state.index_select(0, cache_indices)+        state_len = active_state.shape[1]+        window = torch.cat(+            (active_state.transpose(1, 2), x.unsqueeze(-1)), dim=-1+        )+        window = window.to(weight.dtype)+        out = torch.sum(window * weight.unsqueeze(0), dim=-1)+        if bias is not None:+            out = out + bias+        if activation in ("silu", "swish"):+            out = torch.nn.functional.silu(out)+        conv_state.index_copy_(+            0,+            cache_indices,+            window[:, :, -state_len:].transpose(1, 2),+        )+        return out.to(x.dtype)++    if seq_lens_cpu is None:+        raise ValueError("seq_lens_cpu is required for packed short-conv prefill")+    seq_lens = [int(value) for value in seq_lens_cpu]+    if not seq_lens:+        return x++    # The packed kernel is fully stride-aware. Expose Ascend's+    # [slot, K-1, dim] pool as a [slot, dim, K-1] view so it can gather and+    # update the live slots in place, without copying the pool through a+    # compact channel-major buffer in every model layer.+    out = causal_conv1d_fn_triton(+        x.transpose(0, 1),+        weight,+        bias,+        conv_states=conv_state.transpose(1, 2),+        query_start_loc=query_start_loc,+        seq_lens_cpu=seq_lens,+        cache_indices=cache_indices,+        has_initial_state=has_initial_state,+        activation=activation,+    ).transpose(0, 1)+    return outdiff --git a/python/sglang/srt/layers/attention/attention_registry.py b/python/sglang/srt/layers/attention/attention_registry.pyindex 9af985d73765d55f812d40af43986ebdeb783619..3bf80b1387bc300d3c80e2a19ff48648206dbc7a 100644--- a/python/sglang/srt/layers/attention/attention_registry.py+++ b/python/sglang/srt/layers/attention/attention_registry.py@@ -436,27 +436,34 @@ def attn_backend_wrapper(runner: "ModelRunner", full_attn_backend: "AttentionBac             )             if isinstance(mamba2_config(runner.model_config), short_conv_cfgs):                 if is_npu():-                    # The model conv layers call-                    # get_attn_backend().conv_state_metadata() unconditionally,-                    # but the Ascend hybrid/mamba backend has no such method.-                    # Fail here (before model execution) with a clear message-                    # rather than an AttributeError deep in the first conv layer.-                    raise NotImplementedError(-                        "Short-conv hybrid models (ZAYA1 CCA, LFM2 / LFM2-MoE) "-                        "are not yet supported on NPU: the conv-state sidecar "-                        "(ShortConvAttnBackend.conv_state_metadata) has no Ascend "-                        "implementation. Add an Ascend conv-state backend before "-                        "serving these models on NPU."+                    if isinstance(mamba2_config(runner.model_config), ZayaConfig):+                        # Ascend stores short-conv state as [slot, window, dim],+                        # whereas ZAYA's two-stage CCA kernels currently require+                        # [slot, dim, window]. Keep the pre-existing explicit+                        # rejection instead of silently exposing a transposed+                        # state buffer to that unrelated model.+                        raise NotImplementedError(+                            "ZAYA1 CCA is not yet supported on NPU: its grouped "+                            "convolution kernels require a channel-major state "+                            "layout, but Ascend uses a window-major state layout."+                        )+                    from sglang.srt.hardware_backend.npu.attention.ascend_hybrid_linear_attn_backend import (+                        AscendShortConvAttnBackend,+                        AscendShortConvHybridAttnBackend,+                    )++                    linear_attn_backend = AscendShortConvAttnBackend(runner)+                    hybrid_backend_cls = AscendShortConvHybridAttnBackend+                else:+                    from sglang.srt.layers.attention.hybrid_linear_attn_backend import (+                        ShortConvHybridAttnBackend,+                    )+                    from sglang.srt.layers.attention.linear.short_conv_backend import (+                        ShortConvAttnBackend,                     )-                from sglang.srt.layers.attention.hybrid_linear_attn_backend import (-                    ShortConvHybridAttnBackend,-                )-                from sglang.srt.layers.attention.linear.short_conv_backend import (-                    ShortConvAttnBackend,-                ) -                linear_attn_backend = ShortConvAttnBackend(runner)-                hybrid_backend_cls = ShortConvHybridAttnBackend+                    linear_attn_backend = ShortConvAttnBackend(runner)+                    hybrid_backend_cls = ShortConvHybridAttnBackend             else:                 linear_attn_backend = Mamba2AttnBackend(runner)         elif kimi_linear_config(runner.model_config) is not None:diff --git a/python/sglang/srt/models/lfm2.py b/python/sglang/srt/models/lfm2.pyindex 765bc6b39dd9b9aa95784f906aa89db9f8ded0ea..ad150ea205d51976808e1460777f28b65dbc835e 100644--- a/python/sglang/srt/models/lfm2.py+++ b/python/sglang/srt/models/lfm2.py@@ -47,7 +47,12 @@ from sglang.srt.model_loader.weight_utils import (     sharded_weight_loader, ) from sglang.srt.runtime_context import get_parallel-from sglang.srt.utils import add_prefix, make_layers, set_weight_attrs+from sglang.srt.utils import add_prefix, is_npu, make_layers, set_weight_attrs++_is_npu = is_npu()++if _is_npu:+    from sglang.srt.hardware_backend.npu.short_conv import short_conv_npu  logger = logging.getLogger(__name__) @@ -279,7 +284,23 @@ class Lfm2ShortConv(nn.Module):         B_gate, C_gate, x = proj.chunk(3, dim=-1)         Bx = B_gate * x -        if forward_batch.forward_mode.is_decode():+        if _is_npu:+            query_start_loc = (+                None+                if forward_batch.forward_mode.is_decode()+                else meta.query_start_loc+            )+            conv_out = short_conv_npu(+                Bx,+                conv_state=conv_state,+                weight=self.conv_weight,+                bias=self.conv_bias,+                cache_indices=meta.cache_indices,+                query_start_loc=query_start_loc,+                seq_lens_cpu=forward_batch.extend_seq_lens_cpu,+                has_initial_state=meta.has_initial_state,+            )+        elif forward_batch.forward_mode.is_decode():             # Decode: single token per request, use optimized update kernel             conv_out = causal_conv1d_update(                 Bx,diff --git a/python/sglang/srt/models/lfm2_moe.py b/python/sglang/srt/models/lfm2_moe.pyindex 59e71583be6add7b64da8684d0e0c8e6b1bc3ae3..a711bff116b689880f44b31a2cf71a8c99187313 100644--- a/python/sglang/srt/models/lfm2_moe.py+++ b/python/sglang/srt/models/lfm2_moe.py@@ -48,7 +48,12 @@ from sglang.srt.model_loader.weight_utils import (     sharded_weight_loader, ) from sglang.srt.runtime_context import get_parallel-from sglang.srt.utils import add_prefix, make_layers, set_weight_attrs+from sglang.srt.utils import add_prefix, is_npu, make_layers, set_weight_attrs++_is_npu = is_npu()++if _is_npu:+    from sglang.srt.hardware_backend.npu.short_conv import short_conv_npu   class Lfm2MoeMLP(nn.Module):@@ -338,7 +343,23 @@ class Lfm2MoeShortConv(nn.Module):         B_gate, C_gate, x = proj.chunk(3, dim=-1)         Bx = B_gate * x -        if forward_batch.forward_mode.is_decode():+        if _is_npu:+            query_start_loc = (+                None+                if forward_batch.forward_mode.is_decode()+                else meta.query_start_loc+            )+            conv_out = short_conv_npu(+                Bx,+                conv_state=conv_state,+                weight=self.conv_weight,+                bias=self.conv_bias,+                cache_indices=meta.cache_indices,+                query_start_loc=query_start_loc,+                seq_lens_cpu=forward_batch.extend_seq_lens_cpu,+                has_initial_state=meta.has_initial_state,+            )+        elif forward_batch.forward_mode.is_decode():             conv_out = causal_conv1d_update(                 Bx,                 conv_state,