GPT-6 Astra · RL

R04 · RL adapt

Valid

LFM2-1.2B model adapt GRPO 2dev · Model Adaptation

1.33×PERFORMANCE RATIO
353TOOL EVENTS
3TEXT 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-6 Astra · 353 visible calls

InspectEditValidateExecuteBuildProfileRollbackOther
221Inspect
9Edit
10Build
35Validate
20Execute
58Other

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 timeline292 groups · 353 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 and environment setup or inspection related to source & workspace.

    1 call · #0001–#0001

    pwdprintenv <vars>ls -l -a
  2. Inspect · Task requirements

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

    2 calls · #0002–#0003

    cat <path> <path>cat <val>rg --files -g <val> -g <path> -g <path> <path> <path> <path> <path>
  3. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    4 calls · #0004–#0007

    git status --shortgit log <flag> <args>
  4. Inspect · Reward & policy updates

    Requested file and log inspection related to reward & policy updates.

    1 call · #0008–#0008

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

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

    1 call · #0009–#0009

    cat <path> <path> <path> <path> <path> <path>
  6. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0010–#0010

    cat <path> <path> <path>
  7. Inspect · Source & workspace

    1 tool error

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

    4 calls · #0011–#0014

    rg -n <val> <path>sed -n <val> <path>cat <val>ls -l -a <val> <val>printenv <vars>
  8. Inspect · Convolution & sequence boundaries

    Requested source searches related to convolution & sequence boundaries.

    1 call · #0015–#0015

    rg -n <val> <path> <path> <path> <path>
  9. Inspect · Benchmark & validation setup

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

    1 call · #0016–#0016

    tail -n <n> <path>
  10. Inspect · Attention kernels

    1 tool error

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

    1 call · #0017–#0017

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

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

    1 call · #0018–#0018

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

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

    1 call · #0019–#0019

    rg --files <path>rg <val>sed -n <val> <path>python -c <script>
  13. Inspect · Benchmark & validation setup

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

    1 call · #0020–#0020

    cat <path>tail -n <n> <path>
  14. Inspect · Attention kernels

    1 tool error

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

    1 call · #0021–#0021

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

    Requested file and log inspection related to source & workspace.

    3 calls · #0022–#0024

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

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

    1 call · #0025–#0025

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

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

    2 calls · #0026–#0027

    rg -n <val> <path>head -n <n>tail -n <n> <path>ls <val>sed -n <val> <path>cat <path>
  18. Inspect · Attention kernels

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

    1 call · #0028–#0028

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

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

    1 call · #0029–#0029

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

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

    2 calls · #0030–#0031

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

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

    1 call · #0032–#0032

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

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

    2 calls · #0033–#0034

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

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

    1 call · #0035–#0035

    tail -n <n> <path>cut <flag>sed -n <val> <path>
  24. Inspect · Convolution & sequence boundaries

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

    1 call · #0036–#0036

    ls -l <path>sed -n <val> <path>
  25. Inspect · Attention kernels

    1 tool error

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

    2 calls · #0037–#0038

    rg -n <val> <path> <path>sed -n <val> <path>rg -n <val> <path>head -n <n>tail -n <n> <path>
  26. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0039–#0039

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

    1 tool error

    Requested script or workload execution related to source & workspace.

    1 call · #0040–#0040

    python <script> --help
  28. Inspect · Attention kernels

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

    1 call · #0041–#0041

    rg -n <val> <path>tail -n <n> <path>cut <flag>
  29. Inspect · Rollout generation

    Requested file and log inspection and source searches related to rollout generation.

    1 call · #0042–#0042

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

    1 tool error

    Requested script or workload execution related to source & workspace.

    1 call · #0043–#0043

    python3 <script> --help
  31. Inspect · Source & workspace

    1 tool error

    Requested file and log inspection related to source & workspace.

    1 call · #0044–#0044

    command -v <val>sed -n <val> <path>
  32. Build · Dependencies & build setup

    1 tool error

    Requested tool activity related to dependencies & build setup.

    1 call · #0045–#0045

    uv pip <val> <flag> <args>
  33. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0046–#0046

    sed -n <val> <path>
  34. Build · Dependencies & build setup

    Requested script or workload execution related to dependencies & build setup.

    1 call · #0047–#0047

    python -m <module> <val> <flag> <args>
  35. Inspect · Rollout generation

    1 tool error

    Requested file and log inspection and source searches related to rollout generation.

    1 call · #0048–#0048

    sed -n <val> <path>rg -n <val> <path> <path> <path>tail -n <n> <path>cut <flag>
  36. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0049–#0049

    Apply patch <patch>
  37. Build · Dependencies & build setup

    Requested tool activity related to dependencies & build setup.

    1 call · #0050–#0050

    uv pip <val> <flag> <args>
  38. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0051–#0051

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

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

    1 call · #0052–#0052

    tail -n <n> <path>cut <flag>
  40. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0053–#0053

    tail -n <n> <path>sed -n <val> <path>
  41. Other · Convolution & sequence boundaries

    Requested tool activity related to convolution & sequence boundaries.

    1 call · #0054–#0054

    <command> <args>
  42. Other · Source & workspace

    Requested environment setup or inspection related to source & workspace.

    1 call · #0055–#0055

    env <vars> python3 <script> --files <val> <flag> <args>
  43. Inspect · Benchmark & validation setup

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

    1 call · #0056–#0056

    tail -n <n> <path>cut <flag>ls <val>
  44. Inspect · Source & workspace

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

    1 call · #0057–#0057

    git diff --statgit diff <flag> <args>head -n <n>sed -n <val> <path>
  45. Inspect · Convolution & sequence boundaries

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

    1 call · #0058–#0058

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

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

    2 calls · #0059–#0060

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

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

    1 call · #0061–#0061

    tail -n <n> <path>cut <flag>
  48. Inspect · Rollout generation

    1 tool error

    Requested source searches related to rollout generation.

    1 call · #0062–#0062

    rg -n <val> <path> <path> <path> <path>
  49. Inspect · Convolution & sequence boundaries

    1 tool error

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

    2 calls · #0063–#0064

    tail -n <n> <path>cut <flag>cat > <path> <script>python3 <script> > <path> <n> >& <path>
  50. Inspect · Rollout generation

    Requested file and log inspection related to rollout generation.

    1 call · #0065–#0065

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

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

    1 call · #0066–#0066

    rg -n <val> <path>tail -n <n> <path>
  52. Inspect · Benchmark & validation setup

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

    1 call · #0067–#0067

    git diff --statrg -n <val> <path>tail -n <n>cut <flag>
  53. Validate · Optimizer & gradients

    1 tool error

    Requested environment setup or inspection related to optimizer & gradients.

    1 call · #0068–#0068

    env <vars> python3 -m <module> <script> -q -k <val> <flag> <args>
  54. Inspect · Convolution & sequence boundaries

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

    1 call · #0069–#0069

    head -n <n> <path>tail -n <n> <path>cut <flag>
  55. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0070–#0070

    Apply patch <patch>
  56. Validate · Dependencies & build setup

    Requested tool activity related to dependencies & build setup.

    1 call · #0071–#0071

    uv pip <val> <flag> <args>
  57. Inspect · Checkpoints & weight state

    Requested file and log inspection and environment setup or inspection related to checkpoints & weight state.

    1 call · #0072–#0072

    cat > <path> <script>env <vars> python3 <script> > <path> <n> >& <path>
  58. Inspect · Convolution & sequence boundaries

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

    1 call · #0073–#0073

    tail -n <n> <path>cut <flag>rg -n <val> <path> <path>
  59. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0074–#0074

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

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

    1 call · #0075–#0075

    tail -n <n> <path>cut <flag>
  61. Other · Attention kernels

    Requested script or workload execution related to attention kernels.

    1 call · #0076–#0076

    python - <script>
  62. Inspect · Convolution & sequence boundaries

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

    1 call · #0077–#0077

    tail -n <n> <path>rg -n <val> <path>tail -n <n>cut <flag>
  63. Other · Benchmark & validation setup

    1 tool error

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

    1 call · #0078–#0078

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

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

    2 calls · #0079–#0080

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

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

    1 call · #0081–#0081

    tail -n <n> <path>git status --short
  66. Build · Source & workspace

    1 tool error

    Requested environment setup or inspection related to source & workspace.

    1 call · #0082–#0082

    env <vars> make <val> > <path> <n> >& <path>
  67. Inspect · Convolution & sequence boundaries

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

    1 call · #0083–#0083

    cat <path>rg -n <val> <val> <path> <path>tail -n <n> <path>git diff --stat
  68. Inspect · Runtime processes

    Requested file and log inspection, source searches and script or workload execution related to runtime processes.

    2 calls · #0084–#0085

    sed -n <val> <path>rg -n <val> <path>python - <script>
  69. Inspect · Convolution & sequence boundaries

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

    1 call · #0086–#0086

    tail -n <n> <path>cut <flag>
  70. Inspect · Task requirements

    1 tool error

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

    1 call · #0087–#0087

    printenv <vars>cat <path>
  71. Inspect · Attention kernels

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

    1 call · #0088–#0088

    sed -n <val> <path>rg -n <val> <path>head -n <n>
  72. Build · Dependencies & build setup

    Requested tool activity related to dependencies & build setup.

    1 call · #0089–#0089

    uv pip <val> <flag> <args>
  73. Other · Convolution & sequence boundaries

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

    1 call · #0090–#0090

    python3 <script> > <path> <n> >& <path>
  74. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0091–#0091

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

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

    1 call · #0092–#0092

    tail -n <n> <path>cut <flag>
  76. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0093–#0093

    cat <path>sed -n <val> <path>
  77. Other · Convolution & sequence boundaries

    1 tool error

    Requested tool activity related to convolution & sequence boundaries.

    1 call · #0094–#0094

    <command> <args>
  78. Build · Source & workspace

    Requested environment setup or inspection related to source & workspace.

    1 call · #0095–#0095

    env <vars> make <val> <path> > <path> <n> >& <path>
  79. Inspect · Benchmark & validation setup

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

    1 call · #0096–#0096

    tail -n <n> <path>git status --shortcut <flag>
  80. Validate · Optimizer & gradients

    Requested environment setup or inspection related to optimizer & gradients.

    1 call · #0097–#0097

    env <vars> python3 -m <module> <script> -q -k <val> <flag> <args>
  81. Inspect · Attention kernels

    1 tool error

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

    1 call · #0098–#0098

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

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

    1 call · #0099–#0099

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

    Requested tool activity related to source & workspace.

    1 call · #0100–#0100

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

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

    1 call · #0101–#0101

    rg -n <val> <val>tail -n <n> <path>sed -n <val> <path>
  85. Inspect · Convolution & sequence boundaries

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

    1 call · #0102–#0102

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

    1 tool error

    Requested file and log inspection related to source & workspace.

    1 call · #0103–#0103

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

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

    1 call · #0104–#0104

    tail -n <n> <path>cut <flag>git diff --stat
  88. Other · Source & workspace

    Requested environment setup or inspection related to source & workspace.

    1 call · #0105–#0105

    env <vars> python3 <script> --files <val> <flag> <args>
  89. Inspect · Benchmark & validation setup

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

    1 call · #0106–#0106

    tail -n <n> <path>cut <flag>git status --short
  90. Inspect · Attention kernels

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

    1 call · #0107–#0107

    rg -n <val> <path> <path> <path>tail -n <n>sed -n <val> <path>
  91. Inspect · Benchmark & validation setup

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

    1 call · #0108–#0108

    tail -n <n> <path>cut <flag>
  92. Inspect · Attention kernels

    1 tool error

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

    1 call · #0109–#0109

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

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

    1 call · #0110–#0110

    tail -n <n> <path>git diff --stat
  94. Validate · Benchmark & validation setup

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

    1 call · #0111–#0111

    env <vars> python3 -m <module> <script> -q > <path> <n> >& <path>
  95. Inspect · Benchmark & validation setup

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

    1 call · #0112–#0112

    tail -n <n> <path>cut <flag>
  96. Inspect · Source & workspace

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

    1 call · #0113–#0113

    sed -n <val> <path>rg -n <val> <path>head -n <n>
  97. Edit · Source & workspace

    Requested code edits related to source & workspace.

    1 call · #0114–#0114

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

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

    1 call · #0115–#0115

    tail -n <n> <path>cut <flag>
  99. Validate · Checkpoints & weight state

    Requested environment setup or inspection related to checkpoints & weight state.

    1 call · #0116–#0116

    env <vars> python3 -m <module> <script> -q -k <val> <flag> <args>
  100. Inspect · Attention kernels

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

    1 call · #0117–#0117

    rg -n <val> <path>sed -n <val> <path>tail -n <n> <path>
  101. Inspect · KV-cache management

    Requested file and log inspection related to kv-cache management.

    1 call · #0118–#0118

    sed -n <val> <path>tail -n <n> <path>cut <flag>
  102. Inspect · Benchmark & validation setup

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

    1 call · #0119–#0119

    sed -n <val> <path>tail -n <n> <path>cut <flag>
  103. Validate · Prefix caching

    Requested file and log inspection and script or workload execution related to prefix caching.

    1 call · #0120–#0120

    cat > <path> <script>python3 <script> > <path> <n> >& <path>
  104. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0121–#0121

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

    1 tool error

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

    1 call · #0122–#0122

    bash <script> > <path> <n> >& <path>
  106. Other · Benchmark & validation setup

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

    1 call · #0123–#0123

    bash <script> > <path> <n> >& <path>
  107. Inspect · Benchmark & validation setup

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

    1 call · #0124–#0124

    tail -n <n> <path>ps <flag> <args>head -n <n>
  108. Other · Source & workspace

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

    1 call · #0125–#0125

    python - <script>env <vars> python3 <script> --files <val> <val> <flag> <args>
  109. Inspect · Source & workspace

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

    2 calls · #0126–#0127

    git diff --checkgit diff --stattail -n <n> <path><command> <args>
  110. Inspect · Benchmark & validation setup

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

    1 call · #0128–#0128

    tail -n <n> <path>cut <flag>git diff --numstat
  111. Other · Source & workspace

    1 tool error

    Requested script or workload execution related to source & workspace.

    2 calls · #0129–#0130

    bash <script> > <path> <n> >& <path>
  112. Inspect · Source & workspace

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

    1 call · #0131–#0131

    cat <path>tail -n <n> <path>rg -n <val> <path>tail -n <n>
  113. Inspect · Runtime processes

    Requested script or workload execution related to runtime processes.

    1 call · #0132–#0132

    python - <script>
  114. Build · Dependencies & build setup

    Requested tool activity related to dependencies & build setup.

    1 call · #0133–#0133

    uv pip <val> <flag> <args>
  115. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0134–#0134

    git diff <flag> <args>
  116. Inspect · Benchmark & validation setup

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

    1 call · #0135–#0135

    tail -n <n> <path>cut <flag>
  117. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    2 calls · #0136–#0137

    git diff <flag> <args>
  118. Inspect · Benchmark & validation setup

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

    1 call · #0138–#0138

    tail -n <n> <path>cut <flag>
  119. Other · Source & workspace

    Requested environment setup or inspection related to source & workspace.

    1 call · #0139–#0139

    env <vars> python3 <script> > <path> <n> >& <path>
  120. Inspect · Benchmark & validation setup

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

    1 call · #0140–#0140

    tail -n <n> <path>cut <flag>
  121. Inspect · Convolution & sequence boundaries

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

    1 call · #0141–#0141

    tail -n <n> <path>cut <flag>
  122. Other · Source & workspace

    Requested environment setup or inspection related to source & workspace.

    1 call · #0142–#0142

    env <vars> python3 <script> > <path> <n> >& <path>
  123. Inspect · Convolution & sequence boundaries

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

    2 calls · #0143–#0144

    cat > <path> <script>python3 <script> > <path> <n> >& <path>tail -n <n> <path>cut <flag>
  124. Inspect · Source & workspace

    1 tool error

    Requested repository inspection related to source & workspace.

    1 call · #0145–#0145

    git diff --check<command> <args>
  125. Other · Convolution & sequence boundaries

    Requested tool activity related to convolution & sequence boundaries.

    1 call · #0146–#0146

    <command> <args>
  126. Build · Source & workspace

    Requested environment setup or inspection related to source & workspace.

    1 call · #0147–#0147

    env <vars> make <val> <path> > <path> <n> >& <path>
  127. Inspect · Convolution & sequence boundaries

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

    1 call · #0148–#0148

    cat <path>tail -n <n> <path>
  128. Other · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0149–#0149

    git -c <val> <val> --check<command> <args>
  129. Inspect · Convolution & sequence boundaries

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

    2 calls · #0150–#0151

    tail -n <n> <path>cut <flag>git status --shortrg -n <val> <path>head -n <n>sed -n <val> <path>
  130. Other · Convolution & sequence boundaries

    1 tool error

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

    1 call · #0152–#0152

    python - <script>python3 <script> > <path> <n> >& <path>
  131. Inspect · Convolution & sequence boundaries

    1 tool error

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

    1 call · #0153–#0153

    sed -n <val> <path>head -n <n> <path>tail -n <n> <path>cut <flag>rg --files <path> -g <val> -g <val>
  132. Inspect · Benchmark & validation setup

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

    1 call · #0154–#0154

    rg -n <val> <path>tail -n <n> <path>cut <flag>git status --short
  133. Other · Convolution & sequence boundaries

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

    1 call · #0155–#0155

    python - <script>python3 <script> > <path> <n> >& <path>
  134. Inspect · Convolution & sequence boundaries

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

    1 call · #0156–#0156

    rg -n <val> <path> <path> <path>head -n <n>sed -n <val> <path>tail -n <n> <path>cut <flag>
  135. Inspect · Rollout generation

    Requested file and log inspection related to rollout generation.

    1 call · #0157–#0157

    sed -n <val> <path>tail -n <n> <path>cut <flag>
  136. Validate · Benchmark & validation setup

    1 tool error

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

    1 call · #0158–#0158

    bash <script> > <path> <n> >& <path>
  137. Other · Convolution & sequence boundaries

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

    1 call · #0159–#0159

    python - <script>python3 <script> > <path> <n> >& <path>
  138. Inspect · Rollout generation

    Requested file and log inspection and source searches related to rollout generation.

    1 call · #0160–#0160

    sed -n <val> <path>rg -n <val> <path>tail -n <n> <path>cut <flag>
  139. Validate · Reward & policy updates

    Requested script or workload execution related to reward & policy updates.

    1 call · #0161–#0161

    python - <script>
  140. Inspect · Benchmark & validation setup

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

    1 call · #0162–#0162

    cat <path>
  141. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0163–#0163

    git status --short
  142. Inspect · Convolution & sequence boundaries

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

    1 call · #0164–#0164

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

    Requested repository inspection related to source & workspace.

    1 call · #0165–#0165

    git status --short
  144. Edit · Convolution & sequence boundaries

    Requested code edits related to convolution & sequence boundaries.

    1 call · #0166–#0166

    Apply patch <patch>
  145. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0167–#0167

    cat <path>
  146. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0168–#0168

    git diff <flag> <args>
  147. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0169–#0169

    cat <path>
  148. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0170–#0170

    git diff <flag> <args>
  149. Inspect · Reward & policy updates

    Requested source searches related to reward & policy updates.

    1 call · #0171–#0171

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

    Requested file and log inspection related to task requirements.

    1 call · #0172–#0172

    cat <path>
  151. Inspect · Benchmark & validation setup

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

    1 call · #0173–#0173

    tail -n <n> <path>
  152. Inspect · Rollout generation

    Requested file and log inspection related to rollout generation.

    1 call · #0174–#0174

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

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

    1 call · #0175–#0175

    cat <path>
  154. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0176–#0176

    cat <path>
  155. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0177–#0177

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

    Requested file and log inspection related to attention kernels.

    1 call · #0178–#0178

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

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

    1 call · #0179–#0179

    tail -n <n> <path>
  158. Inspect · Rollout generation

    Requested file and log inspection and source searches related to rollout generation.

    2 calls · #0180–#0181

    cat <path>sed -n <val> <path>rg -n <val> <val> <path> -g <path>
  159. Inspect · Source & workspace

    Requested source searches related to source & workspace.

    1 call · #0182–#0182

    rg -n <val> <path>
  160. Inspect · Rollout generation

    Requested file and log inspection related to rollout generation.

    1 call · #0183–#0183

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

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

    1 call · #0184–#0184

    sed -n <val> <path>
  162. Inspect · Reward & policy updates

    Requested source searches and file and log inspection related to reward & policy updates.

    1 call · #0185–#0185

    rg -n <val> <path> <path>tail -n <n>
  163. Inspect · Attention kernels

    Requested file and log inspection related to attention kernels.

    1 call · #0186–#0186

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

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

    1 call · #0187–#0187

    tail -n <n> <path>ps <flag> <args>head -n <n>
  165. Other · Runtime processes

    Requested script or workload execution related to runtime processes.

    1 call · #0188–#0188

    python - <script>
  166. Other · Rollout generation

    Requested script or workload execution related to rollout generation.

    1 call · #0189–#0189

    python3 -X <val> -c <script> > <path> <n> > <path>
  167. Inspect · Convolution & sequence boundaries

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

    1 call · #0190–#0190

    cat <path>
  168. Inspect · Rollout generation

    Requested file and log inspection related to rollout generation.

    1 call · #0191–#0191

    sed -n <val> <path>
  169. Other · Runtime processes

    Requested script or workload execution related to runtime processes.

    1 call · #0192–#0192

    python - <script>
  170. Inspect · Benchmark & validation setup

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

    1 call · #0193–#0193

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

    Requested repository inspection related to source & workspace.

    1 call · #0194–#0194

    git status --shortgit -c <val> <val> --check
  172. Inspect · Attention kernels

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

    1 call · #0195–#0195

    rg -n <val> <val> -g <val> -g <val> -g <val>head -n <n>
  173. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0196–#0196

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

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

    1 call · #0197–#0197

    tail -n <n> <path>
  175. Other · Convolution & sequence boundaries

    Requested tool activity related to convolution & sequence boundaries.

    1 call · #0198–#0198

    <command> <args>
  176. Build · Source & workspace

    Requested environment setup or inspection related to source & workspace.

    1 call · #0199–#0199

    env <vars> make <val> <path> > <path> <n> >& <path>
  177. Inspect · Benchmark & validation setup

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

    1 call · #0200–#0200

    tail -n <n> <path>rg -n <val> <path> <path>tail -n <n>
  178. Inspect · Convolution & sequence boundaries

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

    1 call · #0201–#0201

    rg --files <path>rg <val>head -n <n>
  179. Inspect · Checkpoints & weight state

    1 tool error

    Requested source searches related to checkpoints & weight state.

    1 call · #0202–#0202

    rg -n <val> <path> <path>
  180. Inspect · Device memory

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

    1 call · #0203–#0203

    rg -n <val> <path> <path> <val> -g <val> -g <path>head -n <n>
  181. Inspect · Checkpoints & weight state

    Requested source searches and file and log inspection related to checkpoints & weight state.

    2 calls · #0204–#0205

    rg -n <val> <path> <path> -g <path>sed -n <val> <path>rg --files <val>rg <val>rg -n <val> <path> -g <path>
  182. Inspect · Device memory

    Requested file and log inspection related to device memory.

    1 call · #0206–#0206

    sed -n <val> <path>
  183. Inspect · Reward & policy updates

    1 tool error

    Requested source searches related to reward & policy updates.

    1 call · #0207–#0207

    rg -n <val> <path> <path>rg -n <val> <path> <val> -g <val> -g <val>
  184. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0208–#0208

    cat <path>
  185. Inspect · Source & workspace

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

    1 call · #0209–#0209

    sed -n <val> <path>rg -n <val> <path>
  186. Inspect · Checkpoints & weight state

    Requested file and log inspection and source searches related to checkpoints & weight state.

    1 call · #0210–#0210

    sed -n <val> <path>rg -n <val> <path>tail -n <n>
  187. Inspect · Benchmark & validation setup

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

    1 call · #0211–#0211

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

    Requested source searches related to source & workspace.

    1 call · #0212–#0212

    rg --files <val>sort
  189. Inspect · Rollout generation

    Requested source searches and file and log inspection related to rollout generation.

    1 call · #0213–#0213

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

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

    3 calls · #0214–#0216

    sed -n <val> <path>git diff --statgit diff --checkrg -n <val> <path>tail -n <n>
  191. Edit · Rollout generation

    Requested code edits related to rollout generation.

    1 call · #0217–#0217

    Apply patch <patch>
  192. Other · Rollout generation

    Requested tool activity related to rollout generation.

    1 call · #0218–#0218

    <command> <args>
  193. Inspect · Benchmark & validation setup

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

    1 call · #0219–#0219

    tail -n <n> <path>
  194. Inspect · Device memory

    1 tool error

    Requested source searches related to device memory.

    1 call · #0220–#0220

    rg -n <val> <path> <path> -g <val> -g <val>
  195. Validate · Rollout generation

    Requested script or workload execution related to rollout generation.

    1 call · #0221–#0221

    python - <script>python <script>
  196. Inspect · Task requirements

    Requested file and log inspection related to task requirements.

    1 call · #0222–#0222

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

    Requested file and log inspection related to source & workspace.

    1 call · #0223–#0223

    sed -n <val> <path>
  198. Other · Convolution & sequence boundaries

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

    1 call · #0224–#0224

    python - <script>
  199. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0225–#0225

    cat <path>
  200. Inspect · Checkpoints & weight state

    Requested source searches and file and log inspection related to checkpoints & weight state.

    1 call · #0226–#0226

    rg -n <val> <path>head -n <n>
  201. Inspect · Benchmark & validation setup

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

    2 calls · #0227–#0228

    tail -n <n> <path>
  202. Inspect · Rollout generation

    Requested file and log inspection and script or workload execution related to rollout generation.

    1 call · #0229–#0229

    tail -n <n> <path>python - <script>
  203. Validate · Benchmark & validation setup

    1 tool error

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

    1 call · #0230–#0230

    env <vars> python3 -m <module> <script> -q -k <val> > <path> <n> <args>
  204. Inspect · Batching & scheduling

    Requested source searches related to batching & scheduling.

    1 call · #0231–#0231

    rg -n <val> <path>rg -n <val> <path> <path> <path>
  205. Inspect · Reward & policy updates

    Requested file and log inspection and source searches related to reward & policy updates.

    2 calls · #0232–#0233

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

    Requested file and log inspection related to source & workspace.

    1 call · #0234–#0234

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

    Requested repository inspection related to source & workspace.

    1 call · #0235–#0235

    git -c <val> <val> --statgit -c <val> <val> --check
  208. Inspect · Checkpoints & weight state

    Requested source searches and file and log inspection related to checkpoints & weight state.

    1 call · #0236–#0236

    rg -n <val> <path>tail -n <n>
  209. Inspect · Benchmark & validation setup

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

    1 call · #0237–#0237

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

    Requested file and log inspection related to source & workspace.

    1 call · #0238–#0238

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

    Requested script or workload execution related to source & workspace.

    1 call · #0239–#0239

    python3 -c <script> > <path> <n> >& <path>
  212. Validate · Checkpoints & weight state

    Requested script or workload execution related to checkpoints & weight state.

    1 call · #0240–#0240

    python - <script>python <script> <val>
  213. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0241–#0241

    sed -n <val> <path>
  214. Inspect · Checkpoints & weight state

    Requested file and log inspection and source searches related to checkpoints & weight state.

    1 call · #0242–#0242

    tail -n <n> <path>rg -n <val> <path>tail -n <n>
  215. Validate · Benchmark & validation setup

    1 tool error

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

    1 call · #0243–#0243

    python <script> <val> <val>tail -n <n> <path>
  216. Validate · Attention kernels

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

    1 call · #0244–#0244

    cat > <path> <script>python <script>
  217. Validate · Benchmark & validation setup

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

    1 call · #0245–#0245

    python <script> <val> <val>
  218. Inspect · Benchmark & validation setup

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

    1 call · #0246–#0246

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

    Requested file and log inspection related to source & workspace.

    1 call · #0247–#0247

    cat <path>sed -n <val> <path>
  220. Validate · Reward & policy updates

    Requested script or workload execution related to reward & policy updates.

    1 call · #0248–#0248

    python <script> <val> <val>python - <script>
  221. Validate · Benchmark & validation setup

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

    1 call · #0249–#0249

    python - <script>
  222. Inspect · Device memory

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

    2 calls · #0250–#0251

    sed -n <val> <path>rg -n <val> <path> -g <val> -g <val>head -n <n>
  223. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0252–#0252

    python - <script>
  224. Validate · Benchmark & validation setup

    1 tool error

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

    1 call · #0253–#0253

    env <vars> python3 -m <module> <flag> <args>
  225. Other · Source & workspace

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

    1 call · #0254–#0254

    python - <script>tail -n <n> <path>
  226. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0255–#0255

    sed -n <val> <path>
  227. Other · Checkpoints & weight state

    Requested script or workload execution related to checkpoints & weight state.

    1 call · #0256–#0256

    python - <script>
  228. Inspect · Source & workspace

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

    1 call · #0257–#0257

    tail -n <n> <path>python - <script>
  229. Other · Source & workspace

    1 tool error

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

    2 calls · #0258–#0259

    env <vars> python3 -c <script> > <path> <n> >& <path>python - <script>
  230. Inspect · Runtime processes

    Requested script or workload execution related to runtime processes.

    1 call · #0260–#0260

    python - <script>
  231. Validate · Benchmark & validation setup

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

    1 call · #0261–#0261

    env <vars> python3 -m <module> <script> -q -k <val> > <path> <n> <args>
  232. Inspect · Runtime processes

    Requested file and log inspection and script or workload execution related to runtime processes.

    1 call · #0262–#0262

    tail -n <n> <path>python - <script>
  233. Inspect · Source & workspace

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

    1 call · #0263–#0263

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

    Requested script or workload execution related to source & workspace.

    3 calls · #0264–#0266

    python - <script>
  235. Inspect · Convolution & sequence boundaries

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

    1 call · #0267–#0267

    cat >> <path> <script>
  236. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    2 calls · #0268–#0269

    python - <script>
  237. Other · Benchmark & validation setup

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

    1 call · #0270–#0270

    bash <script> > <path> <n> >& <path>
  238. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0271–#0271

    python <script> <val>python - <script>
  239. Validate · Benchmark & validation setup

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

    2 calls · #0272–#0273

    python - <script>tail -n <n> <path>
  240. Inspect · Rollout generation

    Requested file and log inspection and script or workload execution related to rollout generation.

    1 call · #0274–#0274

    cat > <path> <script>python3 <script> > <path> <n> >& <path>
  241. Inspect · Convolution & sequence boundaries

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

    1 call · #0275–#0275

    tail -n <n> <path>
  242. Other · Convolution & sequence boundaries

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

    1 call · #0276–#0276

    python3 <script> > <path> <n> >& <path>
  243. Inspect · Convolution & sequence boundaries

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

    1 call · #0277–#0277

    tail -n <n> <path>
  244. Execute · Rollout generation

    Requested file and log inspection and script or workload execution related to rollout generation.

    1 call · #0278–#0278

    cat > <path> <script>python3 <script> > <path> <n> >& <path>
  245. Inspect · Rollout generation

    Requested file and log inspection and source searches related to rollout generation.

    1 call · #0279–#0279

    tail -n <n> <path>rg -n -C <n> <val> <path>head -n <n>
  246. Inspect · Source & workspace

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

    1 call · #0280–#0280

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

    Requested script or workload execution related to source & workspace.

    2 calls · #0281–#0282

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

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

    2 calls · #0283–#0284

    sed -n <val> <path>rg -n <val> <path> <path> <path>tail -n <n>
  249. Execute · Benchmark & validation setup

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

    1 call · #0285–#0285

    tail -n <n> <path>python - <script>
  250. Inspect · Source & workspace

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

    2 calls · #0286–#0287

    tail -n <n> <path>python - <script>rg -n <val> <val> -g <path>head -n <n>
  251. Inspect · Benchmark & validation setup

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

    1 call · #0288–#0288

    cat <path>
  252. Inspect · Source & workspace

    Requested file and log inspection related to source & workspace.

    1 call · #0289–#0289

    tail -n <n> <path>
  253. Execute · Rollout generation

    Requested file and log inspection and script or workload execution related to rollout generation.

    1 call · #0290–#0290

    cat > <path> <script>python3 <script> > <path> <n> >& <path>
  254. Inspect · Runtime processes

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

    1 call · #0291–#0291

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

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

    1 call · #0292–#0292

    rg -n <val> <path>tail -n <n>sed -n <val> <path>
  256. Execute · Benchmark & validation setup

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

    6 calls · #0293–#0298

    python - <script>
  257. Other · Benchmark & validation setup

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

    1 call · #0299–#0299

    bash <script> > <path> <n> >& <path>
  258. Validate · Rollout generation

    Requested file and log inspection related to rollout generation.

    1 call · #0300–#0300

    cat > <path> <script>
  259. Execute · Benchmark & validation setup

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

    2 calls · #0301–#0302

    python - <script>
  260. Edit · Rollout generation

    Requested code edits related to rollout generation.

    1 call · #0303–#0303

    Apply patch <patch>
  261. Other · Rollout generation

    1 tool error

    Requested repository inspection related to rollout generation.

    2 calls · #0304–#0305

    <command> <args>git -c <val> <val> --check
  262. Validate · Benchmark & validation setup

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

    1 call · #0306–#0306

    tail -n <n> <path>python - <script>
  263. Inspect · Source & workspace

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

    2 calls · #0307–#0308

    tail -n <n> <path>git diff --statgit diff --check
  264. Other · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0309–#0309

    git -c <val> <val> --statgit -c <val> <val> --check
  265. Inspect · Convolution & sequence boundaries

    Requested repository inspection related to convolution & sequence boundaries.

    1 call · #0310–#0310

    git diff --statgit diff --check<command> <args>
  266. Validate · Benchmark & validation setup

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

    1 call · #0311–#0311

    tail -n <n> <path>python - <script>
  267. Other · Source & workspace

    Requested environment setup or inspection related to source & workspace.

    1 call · #0312–#0312

    env <vars> python3 <script> > <path> <n> >& <path>
  268. Inspect · Attention kernels

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

    1 call · #0313–#0313

    rg -n <val> <path> <path>head -n <n>sed -n <val> <path>
  269. Validate · Benchmark & validation setup

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

    3 calls · #0314–#0316

    sed -n <val> <path>python - <script>
  270. Inspect · Runtime processes

    Requested script or workload execution related to runtime processes.

    1 call · #0317–#0317

    python - <script>
  271. Validate · Benchmark & validation setup

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

    2 calls · #0318–#0319

    python - <script>
  272. Validate · Checkpoints & weight state

    Requested script or workload execution related to checkpoints & weight state.

    1 call · #0320–#0320

    python - <script>
  273. Validate · Benchmark & validation setup

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

    1 call · #0321–#0321

    python - <script>
  274. Build · Source & workspace

    Requested environment setup or inspection related to source & workspace.

    1 call · #0322–#0322

    env <vars> make <val> <path> > <path> <n> >& <path>
  275. Inspect · Source & workspace

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

    1 call · #0323–#0323

    tail -n <n> <path>python - <script>
  276. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0324–#0324

    python - <script>
  277. Other · Batching & scheduling

    Requested script or workload execution related to batching & scheduling.

    1 call · #0325–#0325

    python - <script>
  278. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0326–#0326

    python - <script>
  279. Inspect · Task requirements

    1 tool error

    Requested source searches related to task requirements.

    1 call · #0327–#0327

    rg --files <path> <path> <path> <path> -g <val>
  280. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    4 calls · #0328–#0331

    git status --short
  281. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    2 calls · #0332–#0333

    python - <script>
  282. Other · Checkpoints & weight state

    Requested script or workload execution related to checkpoints & weight state.

    1 call · #0334–#0334

    python - <script>
  283. Validate · Checkpoints & weight state

    Requested script or workload execution related to checkpoints & weight state.

    1 call · #0335–#0335

    python - <script>
  284. Validate · Benchmark & validation setup

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

    1 call · #0336–#0336

    bash <script> > <path> <n> >& <path>
  285. Validate · Checkpoints & weight state

    Requested script or workload execution related to checkpoints & weight state.

    1 call · #0337–#0337

    python - <script>
  286. Execute · Benchmark & validation setup

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

    9 calls · #0338–#0346

    python - <script>
  287. Other · Benchmark & validation setup

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

    1 call · #0347–#0347

    bash <script> > <path> <n> >& <path>
  288. Validate · Rollout generation

    Requested script or workload execution related to rollout generation.

    1 call · #0348–#0348

    python - <script>
  289. Other · Source & workspace

    Requested script or workload execution related to source & workspace.

    1 call · #0349–#0349

    bash <script>
  290. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0350–#0350

    git diff --checkgit status --short
  291. Other · Source & workspace

    Requested repository inspection related to source & workspace.

    1 call · #0351–#0351

    git -c <val> <val> --checkgit status --short
  292. Inspect · Source & workspace

    Requested repository inspection related to source & workspace.

    2 calls · #0352–#0353

    git status --shortgit diff --check

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.

transformers · 3 changed files

Base commit: 76b3bd40ca74d26f0c2bffaf42ed01f422fc70f6

diff --git a/src/transformers/models/lfm2/modeling_lfm2.py b/src/transformers/models/lfm2/modeling_lfm2.pyindex f9ae8deeb86523771939b52fee6531c60fac5bfa..a87fc5cbb2f1e000dda81b227d4d65a0f2e599bd 100644--- a/src/transformers/models/lfm2/modeling_lfm2.py+++ b/src/transformers/models/lfm2/modeling_lfm2.py@@ -458,6 +458,7 @@ class Lfm2ShortConv(nn.Module):         x: torch.Tensor,         past_key_values: Lfm2HybridConvCache | None = None,         attention_mask: torch.Tensor | None = None,+        seq_idx: torch.Tensor | None = None,     ):         x = apply_mask_to_padding_states(x, attention_mask)         BCx = self.in_proj(x).transpose(-1, -2)@@ -480,7 +481,7 @@ class Lfm2ShortConv(nn.Module):                 conv_state = nn.functional.pad(Bx, (self.L_cache - Bx.shape[-1], 0))                 past_key_values.conv_cache[self.layer_idx].copy_(conv_state) -            conv_out = causal_conv1d_fn(Bx, conv_weights, self.conv.bias, activation=None)+            conv_out = causal_conv1d_fn(Bx, conv_weights, self.conv.bias, activation=None, seq_idx=seq_idx)          y = C * conv_out         y = self.out_proj(y.transpose(-1, -2).contiguous())@@ -491,6 +492,7 @@ class Lfm2ShortConv(nn.Module):         x: torch.Tensor,         past_key_values: Lfm2HybridConvCache | None = None,         attention_mask: torch.Tensor | None = None,+        seq_idx: torch.Tensor | None = None,     ):         seqlen = x.shape[1] @@ -524,7 +526,25 @@ class Lfm2ShortConv(nn.Module):                 conv_state = nn.functional.pad(Bx, (self.L_cache - Bx.shape[-1], 0))                 past_key_values.conv_cache[self.layer_idx].copy_(conv_state) -            conv_out = self.conv(Bx)[..., :seqlen]+            if seq_idx is not None or Bx.device.type == "npu":+                # A packed batch must not convolve across sequence boundaries. Short+                # depthwise convolutions also map poorly to NPU convolution kernels;+                # accumulate their few taps directly, in the convolution accumulator dtype.+                accumulator_dtype = torch.float32 if Bx.dtype in (torch.float16, torch.bfloat16) else Bx.dtype+                conv_weights = self.conv.weight[:, 0, :].to(accumulator_dtype)+                conv_out = Bx.to(accumulator_dtype) * conv_weights[:, -1, None]+                for lag in range(1, min(self.L_cache, seqlen)):+                    shifted = Bx[..., :-lag].to(accumulator_dtype)+                    if seq_idx is not None:+                        same_sequence = seq_idx[:, lag:] == seq_idx[:, :-lag]+                        shifted = shifted * same_sequence[:, None, :]+                    contribution = shifted * conv_weights[:, -lag - 1, None]+                    conv_out = conv_out + nn.functional.pad(contribution, (lag, 0))+                if self.conv.bias is not None:+                    conv_out = conv_out + self.conv.bias.to(accumulator_dtype)[None, :, None]+                conv_out = conv_out.to(Bx.dtype)+            else:+                conv_out = self.conv(Bx)[..., :seqlen]          y = C * conv_out         y = y.transpose(-1, -2).contiguous()@@ -536,10 +556,11 @@ class Lfm2ShortConv(nn.Module):         hidden_states: torch.Tensor,         past_key_values: Lfm2HybridConvCache | None = None,         attention_mask: torch.Tensor | None = None,+        seq_idx: torch.Tensor | None = None,     ):         if is_fast_path_available and "cuda" in hidden_states.device.type and not is_torchdynamo_compiling():-            return self.cuda_kernels_forward(hidden_states, past_key_values, attention_mask)-        return self.slow_forward(hidden_states, past_key_values, attention_mask)+            return self.cuda_kernels_forward(hidden_states, past_key_values, attention_mask, seq_idx)+        return self.slow_forward(hidden_states, past_key_values, attention_mask, seq_idx)   class Lfm2DecoderLayer(GradientCheckpointingLayer):@@ -562,6 +583,7 @@ class Lfm2DecoderLayer(GradientCheckpointingLayer):         attention_mask: torch.Tensor | None = None,         position_ids: torch.LongTensor | None = None,         past_key_values: Lfm2HybridConvCache | None = None,+        seq_idx: torch.Tensor | None = None,         **kwargs,     ) -> torch.Tensor:         residual = hidden_states@@ -579,6 +601,7 @@ class Lfm2DecoderLayer(GradientCheckpointingLayer):                 hidden_states=self.operator_norm(hidden_states),                 past_key_values=past_key_values,                 attention_mask=attention_mask,+                seq_idx=seq_idx,             )         hidden_states = hidden_states + residual         hidden_states = hidden_states + self.feed_forward(self.ffn_norm(hidden_states))@@ -647,6 +670,13 @@ class Lfm2Model(Lfm2PreTrainedModel):                 config=self.config, max_batch_size=batch_size, dtype=self.dtype, device=self.device             ) +        # Position resets delimit sequences when padding has been removed. Compute+        # the segment ids once and share them with every short-convolution layer.+        seq_idx = None+        if position_ids is not None and past_key_values is None:+            seq_idx = nn.functional.pad((position_ids[:, 1:] != position_ids[:, :-1] + 1).int(), (1, 0))+            seq_idx = seq_idx.cumsum(-1).to(torch.int32)+         if position_ids is None:             past_seen_tokens = past_key_values.get_seq_length() if past_key_values is not None else 0             position_ids = torch.arange(inputs_embeds.shape[1], device=inputs_embeds.device) + past_seen_tokens@@ -674,6 +704,7 @@ class Lfm2Model(Lfm2PreTrainedModel):                 position_embeddings=position_embeddings,                 position_ids=position_ids,                 past_key_values=past_key_values,+                seq_idx=seq_idx,                 **kwargs,             ) diff --git a/src/transformers/models/lfm2/modular_lfm2.py b/src/transformers/models/lfm2/modular_lfm2.pyindex eab687df803a274d1a9e0d137e1b802abf9d4dbb..9d5c8f2b4fd644b935f3ced535c39c1dcc4cf5ce 100644--- a/src/transformers/models/lfm2/modular_lfm2.py+++ b/src/transformers/models/lfm2/modular_lfm2.py@@ -293,6 +293,7 @@ class Lfm2ShortConv(nn.Module):         x: torch.Tensor,         past_key_values: Lfm2HybridConvCache | None = None,         attention_mask: torch.Tensor | None = None,+        seq_idx: torch.Tensor | None = None,     ):         x = apply_mask_to_padding_states(x, attention_mask)         BCx = self.in_proj(x).transpose(-1, -2)@@ -315,7 +316,7 @@ class Lfm2ShortConv(nn.Module):                 conv_state = nn.functional.pad(Bx, (self.L_cache - Bx.shape[-1], 0))                 past_key_values.conv_cache[self.layer_idx].copy_(conv_state) -            conv_out = causal_conv1d_fn(Bx, conv_weights, self.conv.bias, activation=None)+            conv_out = causal_conv1d_fn(Bx, conv_weights, self.conv.bias, activation=None, seq_idx=seq_idx)          y = C * conv_out         y = self.out_proj(y.transpose(-1, -2).contiguous())@@ -326,6 +327,7 @@ class Lfm2ShortConv(nn.Module):         x: torch.Tensor,         past_key_values: Lfm2HybridConvCache | None = None,         attention_mask: torch.Tensor | None = None,+        seq_idx: torch.Tensor | None = None,     ):         seqlen = x.shape[1] @@ -359,7 +361,25 @@ class Lfm2ShortConv(nn.Module):                 conv_state = nn.functional.pad(Bx, (self.L_cache - Bx.shape[-1], 0))                 past_key_values.conv_cache[self.layer_idx].copy_(conv_state) -            conv_out = self.conv(Bx)[..., :seqlen]+            if seq_idx is not None or Bx.device.type == "npu":+                # A packed batch must not convolve across sequence boundaries. Short+                # depthwise convolutions also map poorly to NPU convolution kernels;+                # accumulate their few taps directly, in the convolution accumulator dtype.+                accumulator_dtype = torch.float32 if Bx.dtype in (torch.float16, torch.bfloat16) else Bx.dtype+                conv_weights = self.conv.weight[:, 0, :].to(accumulator_dtype)+                conv_out = Bx.to(accumulator_dtype) * conv_weights[:, -1, None]+                for lag in range(1, min(self.L_cache, seqlen)):+                    shifted = Bx[..., :-lag].to(accumulator_dtype)+                    if seq_idx is not None:+                        same_sequence = seq_idx[:, lag:] == seq_idx[:, :-lag]+                        shifted = shifted * same_sequence[:, None, :]+                    contribution = shifted * conv_weights[:, -lag - 1, None]+                    conv_out = conv_out + nn.functional.pad(contribution, (lag, 0))+                if self.conv.bias is not None:+                    conv_out = conv_out + self.conv.bias.to(accumulator_dtype)[None, :, None]+                conv_out = conv_out.to(Bx.dtype)+            else:+                conv_out = self.conv(Bx)[..., :seqlen]          y = C * conv_out         y = y.transpose(-1, -2).contiguous()@@ -371,10 +391,11 @@ class Lfm2ShortConv(nn.Module):         hidden_states: torch.Tensor,         past_key_values: Lfm2HybridConvCache | None = None,         attention_mask: torch.Tensor | None = None,+        seq_idx: torch.Tensor | None = None,     ):         if is_fast_path_available and "cuda" in hidden_states.device.type and not is_torchdynamo_compiling():-            return self.cuda_kernels_forward(hidden_states, past_key_values, attention_mask)-        return self.slow_forward(hidden_states, past_key_values, attention_mask)+            return self.cuda_kernels_forward(hidden_states, past_key_values, attention_mask, seq_idx)+        return self.slow_forward(hidden_states, past_key_values, attention_mask, seq_idx)   class Lfm2DecoderLayer(GradientCheckpointingLayer):@@ -397,6 +418,7 @@ class Lfm2DecoderLayer(GradientCheckpointingLayer):         attention_mask: torch.Tensor | None = None,         position_ids: torch.LongTensor | None = None,         past_key_values: Lfm2HybridConvCache | None = None,+        seq_idx: torch.Tensor | None = None,         **kwargs,     ) -> torch.Tensor:         residual = hidden_states@@ -414,6 +436,7 @@ class Lfm2DecoderLayer(GradientCheckpointingLayer):                 hidden_states=self.operator_norm(hidden_states),                 past_key_values=past_key_values,                 attention_mask=attention_mask,+                seq_idx=seq_idx,             )         hidden_states = hidden_states + residual         hidden_states = hidden_states + self.feed_forward(self.ffn_norm(hidden_states))@@ -453,6 +476,13 @@ class Lfm2Model(LlamaModel):                 config=self.config, max_batch_size=batch_size, dtype=self.dtype, device=self.device             ) +        # Position resets delimit sequences when padding has been removed. Compute+        # the segment ids once and share them with every short-convolution layer.+        seq_idx = None+        if position_ids is not None and past_key_values is None:+            seq_idx = nn.functional.pad((position_ids[:, 1:] != position_ids[:, :-1] + 1).int(), (1, 0))+            seq_idx = seq_idx.cumsum(-1).to(torch.int32)+         if position_ids is None:             past_seen_tokens = past_key_values.get_seq_length() if past_key_values is not None else 0             position_ids = torch.arange(inputs_embeds.shape[1], device=inputs_embeds.device) + past_seen_tokens@@ -480,6 +510,7 @@ class Lfm2Model(LlamaModel):                 position_embeddings=position_embeddings,                 position_ids=position_ids,                 past_key_values=past_key_values,+                seq_idx=seq_idx,                 **kwargs,             ) diff --git a/src/transformers/models/lfm2_moe/modeling_lfm2_moe.py b/src/transformers/models/lfm2_moe/modeling_lfm2_moe.pyindex d6b0401e46584c32fd7a86895512b234a7e256d0..cb2aec118b7e1995e59e196d97070f1f233193f6 100644--- a/src/transformers/models/lfm2_moe/modeling_lfm2_moe.py+++ b/src/transformers/models/lfm2_moe/modeling_lfm2_moe.py@@ -534,6 +534,7 @@ class Lfm2MoeShortConv(nn.Module):         x: torch.Tensor,         past_key_values: Lfm2MoeHybridConvCache | None = None,         attention_mask: torch.Tensor | None = None,+        seq_idx: torch.Tensor | None = None,     ):         x = apply_mask_to_padding_states(x, attention_mask)         BCx = self.in_proj(x).transpose(-1, -2)@@ -556,7 +557,7 @@ class Lfm2MoeShortConv(nn.Module):                 conv_state = nn.functional.pad(Bx, (self.L_cache - Bx.shape[-1], 0))                 past_key_values.conv_cache[self.layer_idx].copy_(conv_state) -            conv_out = causal_conv1d_fn(Bx, conv_weights, self.conv.bias, activation=None)+            conv_out = causal_conv1d_fn(Bx, conv_weights, self.conv.bias, activation=None, seq_idx=seq_idx)          y = C * conv_out         y = self.out_proj(y.transpose(-1, -2).contiguous())@@ -567,6 +568,7 @@ class Lfm2MoeShortConv(nn.Module):         x: torch.Tensor,         past_key_values: Lfm2MoeHybridConvCache | None = None,         attention_mask: torch.Tensor | None = None,+        seq_idx: torch.Tensor | None = None,     ):         seqlen = x.shape[1] @@ -600,7 +602,25 @@ class Lfm2MoeShortConv(nn.Module):                 conv_state = nn.functional.pad(Bx, (self.L_cache - Bx.shape[-1], 0))                 past_key_values.conv_cache[self.layer_idx].copy_(conv_state) -            conv_out = self.conv(Bx)[..., :seqlen]+            if seq_idx is not None or Bx.device.type == "npu":+                # A packed batch must not convolve across sequence boundaries. Short+                # depthwise convolutions also map poorly to NPU convolution kernels;+                # accumulate their few taps directly, in the convolution accumulator dtype.+                accumulator_dtype = torch.float32 if Bx.dtype in (torch.float16, torch.bfloat16) else Bx.dtype+                conv_weights = self.conv.weight[:, 0, :].to(accumulator_dtype)+                conv_out = Bx.to(accumulator_dtype) * conv_weights[:, -1, None]+                for lag in range(1, min(self.L_cache, seqlen)):+                    shifted = Bx[..., :-lag].to(accumulator_dtype)+                    if seq_idx is not None:+                        same_sequence = seq_idx[:, lag:] == seq_idx[:, :-lag]+                        shifted = shifted * same_sequence[:, None, :]+                    contribution = shifted * conv_weights[:, -lag - 1, None]+                    conv_out = conv_out + nn.functional.pad(contribution, (lag, 0))+                if self.conv.bias is not None:+                    conv_out = conv_out + self.conv.bias.to(accumulator_dtype)[None, :, None]+                conv_out = conv_out.to(Bx.dtype)+            else:+                conv_out = self.conv(Bx)[..., :seqlen]          y = C * conv_out         y = y.transpose(-1, -2).contiguous()@@ -612,10 +632,11 @@ class Lfm2MoeShortConv(nn.Module):         hidden_states: torch.Tensor,         past_key_values: Lfm2MoeHybridConvCache | None = None,         attention_mask: torch.Tensor | None = None,+        seq_idx: torch.Tensor | None = None,     ):         if is_fast_path_available and "cuda" in hidden_states.device.type and not is_torchdynamo_compiling():-            return self.cuda_kernels_forward(hidden_states, past_key_values, attention_mask)-        return self.slow_forward(hidden_states, past_key_values, attention_mask)+            return self.cuda_kernels_forward(hidden_states, past_key_values, attention_mask, seq_idx)+        return self.slow_forward(hidden_states, past_key_values, attention_mask, seq_idx)   class Lfm2MoeDecoderLayer(GradientCheckpointingLayer):@@ -642,6 +663,7 @@ class Lfm2MoeDecoderLayer(GradientCheckpointingLayer):         attention_mask: torch.Tensor | None = None,         position_ids: torch.LongTensor | None = None,         past_key_values: Lfm2MoeHybridConvCache | None = None,+        seq_idx: torch.Tensor | None = None,         **kwargs,     ) -> torch.Tensor:         residual = hidden_states@@ -659,6 +681,7 @@ class Lfm2MoeDecoderLayer(GradientCheckpointingLayer):                 hidden_states=self.operator_norm(hidden_states),                 past_key_values=past_key_values,                 attention_mask=attention_mask,+                seq_idx=seq_idx,             )         hidden_states = hidden_states + residual         hidden_states = hidden_states + self.feed_forward(self.ffn_norm(hidden_states))
verl · 3 changed files

Base commit: 0b2151ec61de5d99e0811b01c09e43a99a23e69d

diff --git a/verl/models/transformers/npu_patch.py b/verl/models/transformers/npu_patch.pyindex 13693acb68e8d9cd2c8c5ab83d917930544b8a5b..a134758b3bae6d06b765b21d894974c56d59f2dc 100644--- a/verl/models/transformers/npu_patch.py+++ b/verl/models/transformers/npu_patch.py@@ -20,6 +20,7 @@ import torch.nn.functional as F import torch_npu from torch import nn from transformers.activations import ACT2FN+from transformers.models.lfm2 import modeling_lfm2 from transformers.models.qwen2 import modeling_qwen2 from transformers.models.qwen2_5_vl import modeling_qwen2_5_vl from transformers.models.qwen3 import modeling_qwen3@@ -389,3 +390,7 @@ modeling_qwen3_5_moe.Qwen3_5MoeExperts.forward = qwen3_5_moe_experts_forward_npu modeling_qwen3_5_moe.Qwen3_5MoeRMSNormGated.forward = qwen3_next_rms_norm_forward_gated_npu modeling_qwen3_5_moe.Qwen3_5MoeRMSNorm.forward = qwen3_next_rms_norm_forward_npu modeling_qwen3_5_moe.apply_rotary_pos_emb = qwen3_next_apply_rotary_pos_emb_npu++# Patches for LFM2: preserve the model parameters and use differentiable NPU ops.+modeling_lfm2.Lfm2RMSNorm.forward = rms_norm_forward_npu+modeling_lfm2.apply_rotary_pos_emb = apply_rotary_pos_emb_npudiff --git a/verl/workers/rollout/llm_server.py b/verl/workers/rollout/llm_server.pyindex 415a4e17bbb1895f5964b5780708af59d564dc4a..6288ea46035f1001eac2e811dc970c946d27cbf5 100644--- a/verl/workers/rollout/llm_server.py+++ b/verl/workers/rollout/llm_server.py@@ -57,19 +57,22 @@ class GlobalRequestLoadBalancer:       for hybrid scaling.     """ -    def __init__(self, servers: dict[str, ray.actor.ActorHandle], max_cache_size: int = DEFAULT_ROUTING_CACHE_SIZE):+    def __init__(+        self, servers: dict[str, ray.actor.ActorHandle | bytes], max_cache_size: int = DEFAULT_ROUTING_CACHE_SIZE+    ):         if not servers:             raise ValueError("servers must be non-empty") -        self._servers: dict[str, ray.actor.ActorHandle] = dict(servers)+        self._servers: dict[str, ray.actor.ActorHandle | bytes] = dict(servers)         self._inflight_requests: dict[str, int] = {sid: 0 for sid in servers}         self._request_id_to_server: LRUCache = LRUCache(maxsize=max_cache_size) -    def acquire_server(self, request_id: str) -> tuple[str, ray.actor.ActorHandle]:+    def acquire_server(self, request_id: str) -> tuple[str, ray.actor.ActorHandle | bytes]:         """Acquire a server for the given request (sticky + least-loaded).          Returns:             A tuple of ``(server_id, actor_handle)`` in a single atomic call.+            Serialized handles stay opaque here and are decoded by the client.         """         # Try sticky session first         if request_id in self._request_id_to_server:@@ -97,7 +100,7 @@ class GlobalRequestLoadBalancer:         if self._inflight_requests[server_id] > 0:             self._inflight_requests[server_id] -= 1 -    def add_servers(self, servers: dict[str, ray.actor.ActorHandle]) -> None:+    def add_servers(self, servers: dict[str, ray.actor.ActorHandle | bytes]) -> None:         """Atomically add multiple servers to the load balancer pool.          This is more efficient than calling :meth:`add_server` in a loop@@ -169,7 +172,10 @@ class LLMServerClient:      async def _acquire_server(self, request_id: str) -> tuple[str, ray.actor.ActorHandle]:         # Atomic acquire: returns (server_id, handle) in one Ray RPC.-        return await self._load_balancer.acquire_server.remote(request_id=request_id)+        server_id, handle = await self._load_balancer.acquire_server.remote(request_id=request_id)+        if isinstance(handle, bytes):+            handle = ray.cloudpickle.loads(handle)+        return server_id, handle      def _release_server(self, server_id: str) -> None:         # Fire-and-forget: release is just a counter decrement, no need to await.@@ -335,8 +341,14 @@ class LLMServerManager:             update_prometheus_config(self.rollout_config.prometheus, self.server_addresses, self.rollout_config.name)      async def _init_global_load_balancer(self) -> None:+        # Deserializing an actor handle loads the server class and its model+        # dependencies. Keep handles opaque in the routing worker; the clients+        # decode them when needed. self.server_handles retains their ownership.         self.global_load_balancer = GlobalRequestLoadBalancer.remote(-            servers=dict(zip(self.server_addresses, self.server_handles, strict=True)),+            servers={+                address: ray.cloudpickle.dumps(handle)+                for address, handle in zip(self.server_addresses, self.server_handles, strict=True)+            },             max_cache_size=DEFAULT_ROUTING_CACHE_SIZE,         ) diff --git a/verl/workers/rollout/vllm_rollout/vllm_async_server.py b/verl/workers/rollout/vllm_rollout/vllm_async_server.pyindex 962cf1fb5579f4dd7e4d857ac447544c532ec1ab..1dbec967c24d6e1a55846fa6b0abaa66a41d3b16 100644--- a/verl/workers/rollout/vllm_rollout/vllm_async_server.py+++ b/verl/workers/rollout/vllm_rollout/vllm_async_server.py@@ -938,9 +938,14 @@ class vLLMHttpServer:         leaving other DP shards' weights unreleased, which causes OOM during         FSDP training backward when DP > 1.         """-        # lora only update adapter weights, so set sleep level to 1-        # vllm_ascend not support sleep_level now. Enabling EP during training may lead to accuracy issues.-        if self.lora_as_adapter or is_torch_npu_available(check_device=False):+        # Adapters retain their base weights. Ascend 0.18 supports level 2 with+        # buffer restoration, so a full TP weight refresh can discard the old+        # weights without a redundant CPU backup and reload. Keep level 1 for+        # older Ascend releases and EP, which needs additional layout handling.+        npu_requires_weight_backup = is_torch_npu_available(check_device=False) and (+            _VLLM_VERSION < version.parse("0.18.0") or self.config.expert_parallel_size > 1+        )+        if self.lora_as_adapter or npu_requires_weight_backup:             sleep_level = 1         else:             sleep_level = 2
vllm_ascend · 5 changed files

Base commit: f649187194c44d86415d1ddfa49359e824932c9a

diff --git a/vllm_ascend/ops/short_conv.py b/vllm_ascend/ops/short_conv.pynew file mode 100644index 0000000000000000000000000000000000000000..e7a7e88964fb1e26235a09a6f799c56e09857094--- /dev/null+++ b/vllm_ascend/ops/short_conv.py@@ -0,0 +1,53 @@+# SPDX-License-Identifier: Apache-2.0+# SPDX-FileCopyrightText: Copyright contributors to the vLLM project++import torch+from vllm.forward_context import get_forward_context+from vllm.model_executor.layers.mamba.short_conv import ShortConv+from vllm.v1.attention.backends.short_conv_attn import ShortConvAttentionMetadata++from vllm_ascend.ops.triton.mamba.short_conv import short_conv+++class AscendShortConv(ShortConv):+    def forward_cuda(self, hidden_states: torch.Tensor, output: torch.Tensor):+        # The upstream opaque short_conv op calls this entry point directly.+        # Keeping the op boundary also allows ACL graph capture of decode.+        context = get_forward_context()+        metadata = context.attn_metadata+        projected, _ = self.in_proj(hidden_states)+        if metadata is None:+            # Profiling must initialize the caller's output buffer as well.+            b, c, x = projected.chunk(3, dim=-1)+            output[:], _ = self.out_proj(c * (b * x))+            return++        metadata = metadata[self.prefix]+        assert isinstance(metadata, ShortConvAttentionMetadata)+        if metadata.num_accepted_tokens is not None:+            raise NotImplementedError("Ascend short convolution does not support speculative decoding")+        state = self.kv_cache[context.virtual_engine][0]+        num_decodes = metadata.num_decode_tokens+        num_tokens = num_decodes + metadata.num_prefill_tokens+        convolved = torch.empty_like(projected[:num_tokens, : self.conv.weight.shape[0]])+        if num_decodes:+            short_conv(+                projected[:num_decodes],+                self.conv.weight,+                self.conv.bias,+                state,+                metadata.state_indices_tensor_d,+                output=convolved[:num_decodes],+            )+        if metadata.num_prefills:+            short_conv(+                projected[num_decodes:num_tokens],+                self.conv.weight,+                self.conv.bias,+                state,+                metadata.state_indices_tensor_p,+                metadata.query_start_loc_p,+                metadata.has_initial_states_p,+                output=convolved[num_decodes:],+            )+        output[:num_tokens], _ = self.out_proj(convolved)diff --git a/vllm_ascend/ops/triton/mamba/short_conv.py b/vllm_ascend/ops/triton/mamba/short_conv.pynew file mode 100644index 0000000000000000000000000000000000000000..fb954d53bc39587617eb60f8ab28d9fcebed8fa3--- /dev/null+++ b/vllm_ascend/ops/triton/mamba/short_conv.py@@ -0,0 +1,140 @@+# SPDX-License-Identifier: Apache-2.0+# SPDX-FileCopyrightText: Copyright contributors to the vLLM project++import torch+from vllm.triton_utils import tl, triton+++@triton.jit+def _short_conv_kernel(+    projected,+    weight,+    bias,+    state,+    state_indices,+    query_start,+    has_initial_state,+    output,+    DIM: tl.constexpr,+    WIDTH: tl.constexpr,+    INPUT_STRIDE: tl.constexpr,+    STATE_STRIDE: tl.constexpr,+    STATE_TIME_STRIDE: tl.constexpr,+    STATE_CHANNEL_STRIDE: tl.constexpr,+    INDEX_STRIDE: tl.constexpr,+    HAS_BIAS: tl.constexpr,+    IS_DECODE: tl.constexpr,+    BLOCK_T: tl.constexpr,+    BLOCK_D: tl.constexpr,+):+    request = tl.program_id(0)+    channel = tl.program_id(1) * BLOCK_D + tl.arange(0, BLOCK_D)+    channel_mask = channel < DIM+    cache_index = tl.load(state_indices + request * INDEX_STRIDE)+    if IS_DECODE:+        start = request+        length = 1+        use_initial = True+    else:+        start = tl.load(query_start + request)+        length = tl.load(query_start + request + 1) - start+        use_initial = tl.load(has_initial_state + request) != 0++    if cache_index >= 0:+        state_base = state + cache_index * STATE_STRIDE + channel * STATE_CHANNEL_STRIDE+        # Each program owns a request and a disjoint channel tile. It reads the+        # old state before updating it, including for chunks shorter than WIDTH.+        for offset in range(0, length, BLOCK_T):+            token = offset + tl.arange(0, BLOCK_T)+            valid = (token[:, None] < length) & channel_mask[None, :]+            accumulator = tl.full((BLOCK_T, BLOCK_D), 0, tl.float32)+            for tap in tl.static_range(WIDTH):+                source = token + tap - WIDTH + 1+                input_offset = (start + source[:, None]) * INPUT_STRIDE + channel[None, :]+                input_mask = valid & (source[:, None] >= 0)+                b = tl.load(projected + input_offset, input_mask, other=0).to(tl.float32)+                x = tl.load(projected + input_offset + 2 * DIM, input_mask, other=0).to(tl.float32)+                # Match the BF16/FP16 rounding of B*x before convolution.+                bx = (b * x).to(projected.dtype.element_ty).to(tl.float32)+                previous = tl.load(+                    state_base[None, :] + (source[:, None] + WIDTH - 1) * STATE_TIME_STRIDE,+                    valid & (source[:, None] < 0) & use_initial,+                    other=0,+                ).to(tl.float32)+                bx = tl.where(source[:, None] >= 0, bx, previous)+                w = tl.load(weight + channel * WIDTH + tap, channel_mask, other=0).to(tl.float32)+                accumulator += bx * w[None, :]+            if HAS_BIAS:+                accumulator += tl.load(bias + channel, channel_mask, other=0).to(tl.float32)[None, :]+            c = tl.load(+                projected + (start + token[:, None]) * INPUT_STRIDE + DIM + channel[None, :],+                valid,+                other=0,+            ).to(tl.float32)+            result = accumulator.to(projected.dtype.element_ty).to(tl.float32) * c+            tl.store(output + (start + token[:, None]) * DIM + channel[None, :], result, valid)++        # Load the entire tail before storing: when length < WIDTH-1 the new+        # tail includes part of the old state, and the slices can overlap.+        history = tl.arange(0, triton.next_power_of_2(WIDTH - 1))+        source = length - WIDTH + 1 + history+        input_offset = (start + source[:, None]) * INPUT_STRIDE + channel[None, :]+        tail_mask = (history[:, None] < WIDTH - 1) & channel_mask[None, :]+        b = tl.load(projected + input_offset, tail_mask & (source[:, None] >= 0), other=0).to(tl.float32)+        x = tl.load(projected + input_offset + 2 * DIM, tail_mask & (source[:, None] >= 0), other=0).to(tl.float32)+        previous = tl.load(+            state_base[None, :] + (source[:, None] + WIDTH - 1) * STATE_TIME_STRIDE,+            tail_mask & (source[:, None] < 0) & use_initial,+            other=0,+        )+        tail = tl.where(source[:, None] >= 0, (b * x).to(projected.dtype.element_ty), previous)+        tl.store(state_base[None, :] + history[:, None] * STATE_TIME_STRIDE, tail, tail_mask)+++def short_conv(+    projected: torch.Tensor,+    weight: torch.Tensor,+    bias: torch.Tensor | None,+    state: torch.Tensor,+    state_indices: torch.Tensor,+    query_start: torch.Tensor | None = None,+    has_initial_state: torch.Tensor | None = None,+    output: torch.Tensor | None = None,+) -> torch.Tensor:+    """Gated short convolution with a separate history for each scheduled request.++    ``projected`` is token-major [B, C, x], and ``state`` has shape+    [cache blocks, kernel width - 1, local channels]. Both fresh and resumed+    prefills use device metadata, with no host synchronization in the layer.+    """+    dim, _, width = weight.shape+    if width < 2:+        raise ValueError("Short-convolution cache requires a kernel width of at least two")+    if output is None:+        output = torch.empty((projected.shape[0], dim), dtype=projected.dtype, device=projected.device)+    is_decode = query_start is None+    block_d = 128+    block_t = 1 if is_decode else 64+    _short_conv_kernel[(state_indices.shape[0], triton.cdiv(dim, block_d))](+        projected,+        weight,+        bias,+        state,+        state_indices,+        query_start,+        has_initial_state,+        output,+        DIM=dim,+        WIDTH=width,+        INPUT_STRIDE=projected.stride(0),+        STATE_STRIDE=state.stride(0),+        STATE_TIME_STRIDE=state.stride(1),+        STATE_CHANNEL_STRIDE=state.stride(2),+        INDEX_STRIDE=state_indices.stride(0),+        HAS_BIAS=bias is not None,+        IS_DECODE=is_decode,+        BLOCK_T=block_t,+        BLOCK_D=block_d,+        enable_fp_fusion=False,+    )+    return outputdiff --git a/vllm_ascend/patch/platform/patch_mamba_config.py b/vllm_ascend/patch/platform/patch_mamba_config.pyindex 775e54743769e9f48de6fa316f05a48816b79f7d..f09db2ad6322e973e90ecc116149718871965a69 100644--- a/vllm_ascend/patch/platform/patch_mamba_config.py+++ b/vllm_ascend/patch/platform/patch_mamba_config.py@@ -50,6 +50,24 @@ def verify_and_update_config(cls, vllm_config) -> None:     mamba_sizes = []     for shape, dtype in zip(mamba_shapes, mamba_dtypes):         mamba_sizes.append(math.prod(shape) * get_dtype_size(dtype))+    if len(mamba_sizes) == 1:+        # Short-convolution models have no SSM state to align with the K cache.+        # The runner stores all convolution histories contiguously before K/V.+        # Reserve that region even when the history is smaller than a K page:+        # otherwise a history can alias a different request's attention cache.+        attn_page_size_per_token = 2 * attn_single_token_k_page_size+        attn_block_size = kernel_block_size * cdiv(mamba_sizes[0], kernel_block_size * attn_page_size_per_token)+        requested_block_size = cache_config.block_size or kernel_block_size+        cache_config.block_size = kernel_block_size * cdiv(+            max(requested_block_size, attn_block_size), kernel_block_size+        )+        cache_config.mamba_page_size_padded = cache_config.block_size * attn_page_size_per_token + mamba_sizes[0]+        cache_config.mamba_block_size = (+            cache_config.block_size+            if cache_config.enable_prefix_caching and cache_config.mamba_cache_mode == "align"+            else model_config.max_model_len+        )+        return     ssm_block_page_size, conv_block_page_size = max(mamba_sizes), min(mamba_sizes)      # NOTE(zxr): because of the limit of Ascend Hardware, we need to keepdiff --git a/vllm_ascend/utils.py b/vllm_ascend/utils.pyindex 2f9d90075511653b1395d5eb6409b782ff5490d6..7807831dbd1bbea2f12bdd47e7053a2e59ceab31 100644--- a/vllm_ascend/utils.py+++ b/vllm_ascend/utils.py@@ -624,6 +624,7 @@ def register_ascend_customop(vllm_config: VllmConfig | None = None):         AscendRotaryEmbedding,         AscendYaRNRotaryEmbedding,     )+    from vllm_ascend.ops.short_conv import AscendShortConv     from vllm_ascend.ops.vocab_parallel_embedding import (         AscendLogitsProcessor,         AscendParallelLMHead,@@ -656,6 +657,7 @@ def register_ascend_customop(vllm_config: VllmConfig | None = None):         "RMSNormGated": AscendRMSNormGated,         "Conv3dLayer": AscendConv3dLayer,         "RelPosAttention": AscendRelPosAttention,+        "ShortConv": AscendShortConv,     }      # 310P: override selected ops with 310P implementations (keep minimal changes outside _310p)diff --git a/vllm_ascend/worker/model_runner_v1.py b/vllm_ascend/worker/model_runner_v1.pyindex 5df036d1ac22a46974f2159d6b97949acf3b1360..1c6e4d816a9ad32a5d3779fd24a05096f952cdf6 100644--- a/vllm_ascend/worker/model_runner_v1.py+++ b/vllm_ascend/worker/model_runner_v1.py@@ -2736,7 +2736,7 @@ class NPUModelRunner(GPUModelRunner):             for idx in range(len(kv_cache_tensor.shared_by)):                 layer_name = kv_cache_tensor.shared_by[idx]                 if (-                    "linear_attn" in layer_name or self.hybrid_with_attn_and_mamba+                    isinstance(layer_kv_cache_spec[layer_name], MambaSpec) or self.hybrid_with_attn_and_mamba                 ) and layer_name not in kv_cache_raw_tensors:                     # for mamba linear attention or attn-linear hybrid                     if self.vllm_config.kv_transfer_config is None: