Inspect · Source & workspace
Requested workspace inspection related to source & workspace.
1 call · #0001–#0001
echo <val>ls -l -a <val> <n> > <path>Claude Fable 5.1 · Serving
SGLang Qwen3-14B system serving 2dev · Joint Optimization
01 / PROCESS MAP
Each row shows one agent’s tool events in its own recorded order. Colors show broad activities; bar widths do not represent duration.
Main agentClaude Fable 5.1 · 159 visible calls
02 / EVENT SEQUENCE
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.
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>.
Requested workspace inspection related to source & workspace.
1 call · #0001–#0001
echo <val>ls -l -a <val> <n> > <path>Requested file and log inspection and workspace inspection related to task requirements.
3 calls · #0002–#0004
cat <path>cd <path><command> <args>find <val> -maxdepth <n>head -n <n>Requested workspace inspection and file and log inspection related to device memory.
1 call · #0005–#0005
ls -l -a <path> <n> > <path>echo <val>cat <path> <n> > <path>Requested workspace inspection and file and log inspection related to benchmark & validation setup.
1 call · #0006–#0006
cd <path>echo <val>find <path> -type <val>xargs <val> -csort -nechoecho <path>cat <path>Requested file and log inspection related to benchmark & validation setup.
1 call · #0007–#0007
cd <path><command> <args>cat <val>echoRequested script or workload execution related to task requirements.
1 call · #0008–#0008
cd <path>python3 -c <script>Requested repository inspection, file and log inspection and workspace inspection related to source & workspace.
1 call · #0009–#0009
echo <val>git status --shortheadgit log --oneline <flag>ls -l -a <path> <n> > <path>lscat <path> <n> > <path>python3 -c <script> <n> >& <path>tail -n <n>Requested runtime inspection, file and log inspection and environment setup or inspection related to parallelism & communication.
1 call · #0010–#0010
echo <val>npu-smi info <n> >& <path>head -n <n>envgrep -i -E <val>echo <path><command> <args>free -gpython3 -c <script> <n> >& <path>tail -n <n>Requested file and log inspection related to source & workspace.
1 call · #0011–#0011
cat <path>Requested file and log inspection related to runtime processes.
1 call · #0012–#0012
cat <path>Requested file and log inspection related to task requirements.
1 call · #0013–#0013
cat <path>Requested file and log inspection, workspace inspection and environment setup or inspection related to source & workspace.
2 calls · #0014–#0015
cd <path>echo <val>cat <path>echo <path>find <path> -iname <val> -o -iname <val>sortls -d <path> <path> <path> <n> > <path>head -n <n>envgrep -i -E <val>headRequested workspace inspection, file and log inspection and dependency and build commands related to dependencies & build setup.
1 call · #0016–#0016
echo <val>ls <path>head -n <n>pip show <val> <n> > <path>Requested workspace inspection, file and log inspection and environment setup or inspection related to source & workspace.
2 calls · #0017–#0018
<command> <args>ls <val> <n> >& <path>head -n <n>echo <val>cat <path> <n> > <path>du <flag> <args>ls -l -a <path> <n> > <path>find <path> -maxdepth <n> -name <val> -o -maxdepth <n> -name <val> -maxdepth <n> <args>envgrep -E <val>sortRequested source searches and file and log inspection related to runtime processes.
1 call · #0019–#0019
echo <val>grep -n <val> <path>head -n <n>grep -r -n <val> <path>sed -n <val> <path>Requested workspace inspection, file and log inspection and source searches related to parallelism & communication.
2 calls · #0020–#0021
echo <val>find <path> -type <val>head -n <n>grep -r -n <val> <path> <n> > <path>echo <path>grep -r -n <val> <path> <path>ls <path>ls -l -a <path> <n> > <path>grep -n <val> <path>Requested source searches and file and log inspection related to attention kernels.
1 call · #0022–#0022
echo <val>grep -n <val> <path>head -n <n>sed -n <val> <path>Requested script or workload execution and file and log inspection related to source & workspace.
2 calls · #0023–#0024
bash <script> <n> >& <path>tail -n <n>echo <val>cat <path>echodate -u <val>python3 -c <script>Requested source searches and file and log inspection related to runtime processes.
1 call · #0025–#0025
echo <val>grep -n <val> -A <n> <path>head -n <n>sed -n <val> <path>Requested source searches and file and log inspection related to parallelism & communication.
2 calls · #0026–#0027
echo <val>grep -r -n <val> <path>head -n <n>echo <path>grep -n <val> <path>sed -n <val> <path>grep -r -n <val> <path> <path>Requested source searches and file and log inspection related to runtime processes.
1 call · #0028–#0028
echo <val>grep -r -n <val> -A <n> <path>head -n <n>sed -n <val> <path>grep -r -n <val> <path> <path> <n> > <path>Requested file and log inspection, runtime inspection and source searches related to device memory.
1 call · #0029–#0029
tail -n <n> <path> <n> > <path>echo <val>npu-smi info <n> > <path>grep -E <path>head -n <n>Requested file and log inspection and source searches related to runtime processes.
1 call · #0030–#0030
echo <val>sed -n <val> <path>grep -r -n <val> <path>head -n <n>Requested file and log inspection and source searches related to source & workspace.
1 call · #0031–#0031
echo <val>sed -n <val> <path>grep -r -n <val> <path> --include <path>grep -v <path>head -n <n>Requested script or workload execution related to rollout generation.
1 call · #0032–#0032
cd <path>python3 -c <script>Requested source searches, file and log inspection and environment setup or inspection related to source & workspace.
1 call · #0033–#0033
cd <path>echo <path>grep -r -n <val> <path> <path>head -n <n>echo <val>grep -r -n <val> <path>headenvgrep -i <val>Requested file and log inspection, runtime inspection and source searches related to device memory.
1 call · #0034–#0034
tail -c <n> <path> <n> > <path>tail -n <n>echo <val>npu-smi info <n> > <path>grep <path>Requested source searches and file and log inspection related to attention kernels.
2 calls · #0035–#0036
echo <val>grep -n <val> <path>head -n <n>echo <path>grep -r -n <val> <path> <n> > <path>grep -r -n <val> <path>Requested environment setup or inspection, file and log inspection and source searches related to device memory.
1 call · #0037–#0037
env <vars>echo <val>wc -l <val>echo <path>grep -n -E <val> <val>tail -n <n>tail -n <n> <val>npu-smi info <n> > <path>grep <path>Requested file and log inspection related to source & workspace.
1 call · #0038–#0038
echo <val>sed -n <val> <path>Requested source searches and file and log inspection related to attention kernels.
1 call · #0039–#0039
echo <val>grep -r -n <val> <path>head -n <n>grep -n <val> <path>sed -n <val> <path>Requested file and log inspection and source searches related to parallelism & communication.
1 call · #0040–#0040
echo <val>sed -n <val> <path>grep -n <val> <path>headRequested environment setup or inspection, source searches and file and log inspection related to device memory.
1 call · #0041–#0041
env <vars>grep -n -E <val> <val>tail -n <n>echo <val>tail -n <n> <val>cat <path> <n> > <path>npu-smi info <n> > <path>grep <path>Requested file and log inspection and source searches related to attention kernels.
2 calls · #0042–#0043
echo <val>sed -n <val> <path>grep -n <val> <path>grep -i -E <val>head -n <n>grep -r -n <val> <path>Requested source searches and file and log inspection related to kv-cache management.
1 call · #0044–#0044
echo <val>grep -r -n <val> <path>head -n <n>grep -r -l -n <val> <path>headgrep -n <val> <path>Requested file and log inspection and service requests related to source & workspace.
1 call · #0045–#0045
cat <path> <n> > <path>echo <val>echo <path>curl -s <flag> <args>head -c <n>echotail -n <n> <path> <n> > <path>Requested workspace file updates, file and log inspection and script or workload execution related to source & workspace.
1 call · #0046–#0046
mkdir -p <path>cat > <path> <script>echo <val>python3 -c <script>Requested file and log inspection and script or workload execution related to batching & scheduling.
1 call · #0047–#0047
cat > <path> <script>python3 -c <script>Requested file and log inspection related to parallelism & communication.
1 call · #0048–#0048
echo <val>sed -n <val> <path>Requested file and log inspection and source searches related to runtime processes.
1 call · #0049–#0049
echo <val>sed -n <val> <path>grep -n <val> -A <n> <path>head -n <n>echo <path>grep -r -n <val> <path>grep -i -E <val>Requested file and log inspection related to task requirements.
1 call · #0050–#0050
cd <path><command> <args>tail -n <n>Requested script or workload execution and file and log inspection related to source & workspace.
1 call · #0051–#0051
cd <path>python3 <script> <flag> <args>tail -n <n>Requested file and log inspection and source searches related to runtime processes.
1 call · #0052–#0052
echo <val>sed -n <val> <path>grep -n <val> <path>Requested file and log inspection related to attention kernels.
1 call · #0053–#0053
echo <val>sed -n <val> <path>Requested source searches and file and log inspection related to dependencies & build setup.
1 call · #0054–#0054
echo <val>grep -n <val> -A <n> <path>head -n <n>Requested file and log inspection and source searches related to batching & scheduling.
1 call · #0055–#0055
tail -c <n> <path> <n> > <path>echo <val>grep -E <val> <path> <n> > <path>tail -n <n>Requested source searches and file and log inspection related to runtime processes.
1 call · #0056–#0056
echo <val>grep -n <val> -A <n> <path>head -n <n>grep -r -n <val> -A <n> <path>Requested source searches, file and log inspection and workspace inspection related to source & workspace.
5 calls · #0057–#0061
echo <val>grep -r -n <val> -A <n> <path> <n> > <path>head -n <n>ls <path>ls -l -a <path> <n> > <path>grep -r -n <val> <path>grep -n <val> <path>tail -c <n> <path> <n> > <path>grep -E <val> <path>tail -n <n><command> <args>ls <path> <n> > <path>echo <path>env <vars> python3 -c <script> <n> >& <path>headRequested source searches related to attention kernels.
1 call · #0062–#0062
echo <path>grep -n <val> <path>echo <val>Requested script or workload execution, file and log inspection and source searches related to batching & scheduling.
1 call · #0063–#0063
echo <val>python3 -c <script>tail -c <n> <path> <n> > <path>grep -E <val> <path>tail -n <n>Requested environment setup or inspection, source searches and file and log inspection related to prefix caching.
1 call · #0064–#0064
env <vars> timeout <n> <val> -B -c <path> <n> >& <path>grep -v -E <val>tail -n <n>Requested source searches and file and log inspection related to runtime processes.
1 call · #0065–#0065
echo <val>grep -r -n <val> -A <n> <path>head -n <n>grep -r -n <val> <path>Requested file and log inspection and source searches related to kv-cache management.
1 call · #0066–#0066
echo <val>sed -n <val> <path>grep -n <val> -A <n> <path>head -n <n>Requested file and log inspection related to dependencies & build setup.
1 call · #0067–#0067
echo <val>sed -n <val> <path>Requested script or workload execution related to precision & numerical checks.
1 call · #0068–#0068
python3 -c <script>Requested file and log inspection and source searches related to batching & scheduling.
1 call · #0069–#0069
tail -c <n> <path> <n> > <path>echo <val>grep -E <val> <path>tail -n <n>Requested file and log inspection related to source & workspace.
1 call · #0070–#0070
echo <path>sed -n <val> <path>Requested source searches and file and log inspection related to runtime processes.
1 call · #0071–#0071
echo <path>grep -n <val> -A <n> <path>grep -n -E <val>head -n <n>echo <val>sed -n <val> <path>Requested script or workload execution, file and log inspection and runtime inspection related to device memory.
1 call · #0072–#0072
bash <script> <n> >& <path>tail -n <n>echo <val>npu-smi info <n> > <path>grep <path>Requested workspace file updates, file and log inspection and script or workload execution related to prefix caching.
1 call · #0073–#0073
mkdir -p <path>cat > <path> <script>python3 -c <script>wc -l <path>Requested file and log inspection and source searches related to source & workspace.
1 call · #0074–#0074
echo <val>sed -n <val> <path>grep -r -n <val> <path>headgrep -n <val> -A <n> <path>head -n <n>Requested source searches and file and log inspection related to batching & scheduling.
2 calls · #0075–#0076
echo <val>grep -n <val> <path>grep -n <val> -A <n> <path>grep -r -n <val> <path> <path> <n> > <path>head -n <n>grep -r -n <val> -A <n> <path> <n> > <path>Requested script or workload execution related to benchmark & validation setup.
1 call · #0077–#0077
bash <script> <n> >& <path>python3 -c <script>echo <val>Requested file and log inspection and source searches related to parallelism & communication.
2 calls · #0078–#0079
echo <val>sed -n <val> <path>grep -r -n <val> -A <n> <path>head -n <n>grep -n <val> <path>grep -n <val> -A <n> <path>Requested file and log inspection, source searches and script or workload execution related to source & workspace.
3 calls · #0080–#0082
sed -n <val> <path>echo <val>grep -n <val> <path>head -n <n>bash <script> <n> >& <path>tail -n <n>grep -r -n <val> -A <n> <path> <n> > <path>grep -r -n <val> <path>headRequested source searches and file and log inspection related to parallelism & communication.
1 call · #0083–#0083
echo <val>grep -n <val> -A <n> <path>sed -n <val> <path>Requested source searches and file and log inspection related to batching & scheduling.
1 call · #0084–#0084
echo <val>grep -n <val> <path>head -n <n>grep -r -n <val> <path>Requested file and log inspection, script or workload execution and environment setup or inspection related to device memory.
2 calls · #0085–#0086
cat <path> <n> > <path>python3 -c <script>echo <val>echo <path>env <vars>grep -n -E <val> <val>tail -n <n>npu-smi info <n> > <path>grep -E <path>grep -A <n> <val>head -n <n>Requested workspace inspection, script or workload execution and file and log inspection related to benchmark & validation setup.
1 call · #0087–#0087
<command> <args>echo <val>ls -l -a <val> <n> > <path>ls -d <path> <n> > <path>ls -l -a <path> <n> > <path>bash <script> <n> >& <path>tail -n <n>echo <path>rm -rf <path> <path> <path>rm -f <path> <path> <path>ls -l -a <val>Requested source searches, file and log inspection and script or workload execution related to source & workspace.
2 calls · #0088–#0089
echo <val>grep -r -n <val> <path>headecho <path>grep -n <val> <path>head -n <n>python3 -c <script>git status --shortgit status <flag>Requested source searches and file and log inspection related to parallelism & communication.
1 call · #0090–#0090
echo <val>grep -r -n <val> <path>head -n <n>grep -r -n <val> -B <n> -A <n> <path>Requested source searches and file and log inspection related to source & workspace.
1 call · #0091–#0091
echo <val>grep -r -n <val> -A <n> <path> <path> <n> > <path>head -n <n>grep -r -n <val> <path>headRequested file and log inspection, environment setup or inspection and source searches related to device memory.
2 calls · #0092–#0093
tail -c <n> <path> <n> > <path>tail -n <n>echo <val>env <vars><command> <args>grep -n -E <val> <val>npu-smi info <n> > <path>grep <path>python3 -c <script>ls -l -a <val> <n> > <path>tail -n <n> <val>Requested file and log inspection and source searches related to batching & scheduling.
1 call · #0094–#0094
echo <val>sed -n <val> <path>grep -n <val> -A <n> <path>head -n <n>Requested execution waits, environment setup or inspection and source searches related to reward & policy updates.
1 call · #0095–#0095
sleep <n>env <vars>echo <path>grep -n -E <val> <val>headecho <val>tail -n <n>grep -v -i -E <val>tail -n <n> <val>cut <flag>Requested execution waits, script or workload execution and runtime inspection related to device memory.
1 call · #0096–#0096
sleep <n>echo <val>python3 -c <script>npu-smi info <n> > <path>grep <path>cat <path> <n> > <path>python3 -c <script> <n> > <path>tail -c <n> <path> <n> > <path>tail -n <n>Requested file and log inspection related to task requirements.
1 call · #0097–#0097
cd <path><command> <args>tail -n <n>Requested script or workload execution related to source & workspace.
1 call · #0098–#0098
cd <path>python3 - <script>Requested script or workload execution and file and log inspection related to source & workspace.
1 call · #0099–#0099
cd <path>python3 <script> <flag> <args>tail -n <n>Requested script or workload execution related to source & workspace.
1 call · #0100–#0100
python3 -c <script>Requested source searches, file and log inspection and workspace inspection related to attention kernels.
1 call · #0101–#0101
echo <val>grep -n <val> <path>head -n <n>echoecho <path>grep -n <val> -B <n> -A <n> <path>grep -i -E <val>ls <path> <n> > <path>grep -r -n <val> <path> <n> > <path>Requested file and log inspection, environment setup or inspection and source searches related to source & workspace.
1 call · #0102–#0102
tail -c <n> <path> <n> > <path>echo <val>env <vars>grep -E <val> <val>tail -n <n>Requested source searches and file and log inspection related to attention kernels.
1 call · #0103–#0103
echo <val>grep -n <val> <path>head -n <n>echogrep -r -n <val> <path> --include <path>grep -v <path>Requested script or workload execution and file and log inspection related to source & workspace.
1 call · #0104–#0104
echo <val>python3 -c <script>tail -c <n> <path> <n> > <path>Requested environment setup or inspection, source searches and file and log inspection related to device memory.
1 call · #0105–#0105
env <vars>echo <val>grep -E <val> <val>tail -n <n><command> <args>grep -c <val> <val>grep <val> <val>grep <flag> <args>awk <val>sort -gsort -nnpu-smi info <n> > <path>grep <path>Requested script or workload execution, file and log inspection and source searches related to source & workspace.
1 call · #0106–#0106
echo <val>python3 -c <script>tail -c <n> <path> <n> > <path>grep -E <val> <path>tail -n <n>Requested file and log inspection and source searches related to runtime processes.
1 call · #0107–#0107
echo <val>sed -n <val> <path>grep -n <val> <path>grep -i <val>headRequested environment setup or inspection, source searches and file and log inspection related to prefix caching.
1 call · #0108–#0108
env <vars> timeout <n> <val> -B -c <path> <n> >& <path>grep -v -E <val>tail -n <n>Requested script or workload execution related to task requirements.
1 call · #0109–#0109
cd <path><command> <args>python3 <script> <flag> <args>python3 -c <script>echo <val>python3 - <script>Requested file and log inspection and script or workload execution related to task requirements.
1 call · #0110–#0110
cd <path>cat > <path> <script>python3 <script> <n> >& <path>tail -n <n>Requested source searches and file and log inspection related to attention kernels.
1 call · #0111–#0111
echo <val>grep -r -n <val> -A <n> <path>head -n <n>sed -n <val> <path>Requested script or workload execution related to source & workspace.
1 call · #0112–#0112
python3 -c <script>Requested script or workload execution and file and log inspection related to benchmark & validation setup.
1 call · #0113–#0113
bash <script> <n> >& <path>tail -n <n>Requested script or workload execution related to source & workspace.
1 call · #0114–#0114
python3 -c <script>Requested environment setup or inspection, file and log inspection and workspace inspection related to attention kernels.
1 call · #0115–#0115
env <vars>cat > <path> <script>ls -l -a <val>echo <val>cat <path>Requested script or workload execution, environment setup or inspection and file and log inspection related to device memory.
1 call · #0116–#0116
python3 -c <script>echo <val>env <vars><command> <args>tail -n <n>echo <flag>grep -E <val> <val>npu-smi info <n> > <path>grep <path>Requested workspace inspection, source searches and file and log inspection related to runtime processes.
1 call · #0117–#0117
echo <val>ls <path> <n> > <path>grep -i -E <val>headfind <val> -name <val> -o -name <val> <n> > <path>Requested source searches, environment setup or inspection and file and log inspection related to runtime processes.
1 call · #0118–#0118
echo <val>grep -n -E <val> <path>echoenv <vars> python3 -B -c <script> <n> >& <path>grep -v -E <val>tail -n <n>Requested script or workload execution, environment setup or inspection and source searches related to device memory.
1 call · #0119–#0119
python3 -c <script>env <vars>echo <val><command> <args>grep -n -E <val> <val>tail -n <n>echo <flag>grep -E <val> <val>npu-smi info <n> > <path>grep <path>tail -c <n> <path> <n> > <path>Requested script or workload execution and file and log inspection related to benchmark & validation setup.
1 call · #0120–#0120
timeout <n> <val> -m <val> <path> -x -q <n> >& <path>tail -n <n>Requested file and log inspection and script or workload execution related to source & workspace.
1 call · #0121–#0121
echo <val>sed -n <val> <path> <n> > <path>echo <path>python3 -m <module> --version <n> > <path>Requested script or workload execution, environment setup or inspection and file and log inspection related to device memory.
1 call · #0122–#0122
python3 -c <script>env <vars>echo <val><command> <args>wc -l < <path>grep -n -E <val> <val>tail -n <n>grep -E <val> <val>cut <flag>npu-smi info <n> > <path>grep <path>ls -l -a <path> <n> > <path>Requested environment setup or inspection, script or workload execution and source searches related to source & workspace.
1 call · #0123–#0123
cd <path>env <vars>echo <val><command> <args>python3 -m <module> <val> <flag> <args>python3 - <script>python3 -m <module> <val>echo <path>grep -n -E <val> <val>head -n <n>truetail -c <n> <val>Requested environment setup or inspection related to parallelism & communication.
1 call · #0124–#0124
env <vars> timeout <n> <val> -B <val> <script>Requested script or workload execution, environment setup or inspection and source searches related to device memory.
1 call · #0125–#0125
python3 -c <script>env <vars>echo <val>grep -E <val> <val> <n> > <path>tail -n <n>grep <flag> <args>cut <flag>grep -n -E <val> <val> <n> > <path>grep -v -i -E <val>ls -l -a <path> <n> > <path>npu-smi info <n> > <path>grep <path>Requested script or workload execution and file and log inspection related to benchmark & validation setup.
1 call · #0126–#0126
timeout <n> <val> -m <val> <path> -x -q <n> >& <path>tail -n <n>Requested script or workload execution, environment setup or inspection and source searches related to batching & scheduling.
1 call · #0127–#0127
python3 -c <script>env <vars>echo <val>grep <flag> <args>awk <val>sort -ntail -n <n>grep -E <val> <val> <n> > <path>cut <flag>ls -l -a <path> <n> > <path>tail -c <n> <path> <n> > <path>Requested file and log inspection, script or workload execution and repository inspection related to benchmark & validation setup.
1 call · #0128–#0128
cat > <path> <script>python3 -c <script>echo <val>cd <path>git status --shortfind <path> -type <val>sortgit diff --stat <val>tail -n <n>Requested execution waits, script or workload execution and environment setup or inspection related to batching & scheduling.
1 call · #0129–#0129
sleep <n>python3 -c <script>env <vars>echo <val>grep <flag> <args>awk <val>sort -ntail -n <n>grep -E <val> <val> <n> > <path>cut <flag>grep -n -E <val> <val> <n> > <path>grep -v -i -E <val>ls -l -a <path> <n> > <path>Requested script or workload execution and file and log inspection related to benchmark & validation setup.
1 call · #0130–#0130
python3 <script> <n> >& <path>tail -n <n>Requested script or workload execution, runtime inspection and source searches related to device memory.
1 call · #0131–#0131
python3 -c <script>echo <val>npu-smi info <n> > <path>grep <path><command> <args>grep <n>Requested workspace file updates, environment setup or inspection and source searches related to benchmark & validation setup.
1 call · #0132–#0132
mkdir -p <path>env <vars>cp <path> <path>cp <path> <path> <n> > <path>echo <val>grep -E <val> <path> > <path> <n> > <path>sed -i <path> <path>cat <path>sha256sum <path>tee <path>ls -l -a <path>Requested environment setup or inspection, workspace file updates and script or workload execution related to benchmark & validation setup.
1 call · #0133–#0133
<command> <args>env <vars>mkdir -p <path>cp <path> <path>mv <path> <path>echo <val>bash <script> <n> > <path>python3 -c <script>bash <script> > <path> <n> >& <path>truerm -rf <path> <path> <path>rm -f <path> <path>bash <script> <n> >& <path>tail -n <n>Requested script or workload execution related to source & workspace.
1 call · #0134–#0134
python3 -c <script>Requested workspace inspection, file and log inspection and repository inspection related to source & workspace.
1 call · #0135–#0135
echo <val>ls -l -a <path> <n> > <path>sha256sum <path> <path> <n> > <path>cat <path>ls <path> <n> >& <path>head -n <n>cd <path>git status --shortRequested execution waits, script or workload execution and file and log inspection related to device memory.
1 call · #0136–#0136
sleep <n>python3 -c <script>echo <val>tail -c <n> <path> <n> > <path>tail -n <n>env <vars>grep -E <val> <val> <n> > <path>sed <path>curl -s <flag> <args>head -c <n>Requested script or workload execution related to task requirements.
1 call · #0137–#0137
cd <path>echo <val><command> <args>python3 <script> <flag> <args>python3 -c <script>python3 - <script>echoRequested execution waits, script or workload execution and file and log inspection related to source & workspace.
1 call · #0138–#0138
sleep <n>python3 -c <script>echo <val>tail -c <n> <path> <n> > <path>Requested environment setup or inspection, source searches and file and log inspection related to source & workspace.
1 call · #0139–#0139
env <vars>echo <val>grep <flag> <args>awk <val>sort -gtail -n <n>sort -nprintf <val>grep -E <val> <val> <n> > <path>sortuniq -cRequested script or workload execution and source searches related to batching & scheduling.
1 call · #0140–#0140
cd <path>python3 - <script>grep -n <val> <path>python3 -m <module> <script>echo <val>Requested execution waits, script or workload execution and file and log inspection related to source & workspace.
1 call · #0141–#0141
sleep <n>python3 -c <script>echo <val>tail -c <n> <path> <n> > <path>tail -n <n>Requested environment setup or inspection, script or workload execution and workspace file updates related to task requirements.
1 call · #0142–#0142
<command> <args>env <vars>echo <val>bash <script> <n> >& <path>python3 -c <script>mv <path> <path>rm -rf <path>grep -n <val> <path>rm -rf <path> <path> <path>rm -f <path>echocd <path>python3 <script> <flag> <args>python3 - <script>Requested execution waits, script or workload execution and file and log inspection related to source & workspace.
1 call · #0143–#0143
sleep <n>python3 -c <script>echo <val>tail -c <n> <path> <n> > <path>tail -n <n>Requested workspace file updates, file and log inspection and source searches related to attention kernels.
1 call · #0144–#0144
mkdir -p <path>cat > <path> <script><command> <args>echo <val>grep -n -E <val> <path>Requested environment setup or inspection, script or workload execution and workspace file updates related to benchmark & validation setup.
1 call · #0145–#0145
<command> <args>env <vars>echo <val>bash <script> <n> >& <path>python3 -c <script>rm -rf <path> <path> <path>rm -f <path> <path>grep -n <val> <path>bash <script> > <path> <n> >& <path>python3 <script>Requested environment setup or inspection, workspace file updates and file and log inspection related to parallelism & communication.
1 call · #0146–#0146
env <vars>rm -f <path>cat > <path> <script>sed -i <path> <path>ls <val>echo <val>cat <path>grep -n <val> <path>Requested execution waits, script or workload execution and file and log inspection related to benchmark & validation setup.
1 call · #0147–#0147
sleep <n>python3 -c <script>echo <val>tail -c <n> <path> <n> > <path>tail -n <n>Requested repository inspection, workspace inspection and file and log inspection related to prefix caching.
1 call · #0148–#0148
cd <path>echo <val>git status --shortfind <path> -type <val> -o -type <val>sortecho <path>find <path> -name <val> -o -name <val>headgit diff --stat <val>tail -n <n>grep -n -E <val> <path>Requested script or workload execution and workspace inspection related to source & workspace.
1 call · #0149–#0149
cd <path>python3 - <script>echo <val>ls <path>Requested script or workload execution related to source & workspace.
1 call · #0150–#0150
cd <path>python3 - <script>Requested execution waits, script or workload execution and file and log inspection related to device memory.
1 call · #0151–#0151
sleep <n>python3 -c <script>echo <val>tail -c <n> <path> <n> > <path>tail -n <n>npu-smi info <n> > <path>grep <path>Requested runtime inspection, source searches and file and log inspection related to device memory.
1 call · #0152–#0152
echo <val>npu-smi info <n> > <path>grep -A <n> <val>grep -E <val>head -n <n><command> <args>grep -q <val>pgrep <flag> <args>grep -v <val>ls <path> <n> > <path>bash <script> <n> >& <path>python3 -c <script>Requested environment setup or inspection, workspace file updates and script or workload execution related to parallelism & communication.
1 call · #0153–#0153
env <vars>cp <path> <path>python3 - <script>grep -n <val> <path>echo <val>sha256sum <path>ls <path>Requested environment setup or inspection, script or workload execution and workspace file updates related to benchmark & validation setup.
1 call · #0154–#0154
env <vars>echo <val>bash <script> <n> > <path>python3 -c <script>rm -rf <path> <path> <path>rm -f <path><command> <args>grep -q <val>pgrep <flag> <args>grep -v <val> > <path>Requested environment setup or inspection, file and log inspection and script or workload execution related to source & workspace.
1 call · #0155–#0155
cd <path>env <vars>echo <val>sed -n <val> <val>echopython3 -m <module> <val>python3 - <script>grep -n -E <val> <val>head -n <n>tail -c <n> <val><command> <args>rm -rf <path>git status --shortRequested script or workload execution related to source & workspace.
1 call · #0156–#0156
python3 -c <script>Requested execution waits, script or workload execution and file and log inspection related to benchmark & validation setup.
1 call · #0157–#0157
sleep <n>python3 -c <script>echo <val>tail -c <n> <path> <n> > <path>tail -n <n>echopython3 -c <script> <n> > <path>Requested script or workload execution related to benchmark & validation setup.
1 call · #0158–#0158
cd <path>python3 - <script>Requested repository inspection, workspace inspection and script or workload execution related to device memory.
1 call · #0159–#0159
cd <path>echo <val>git status --shortfind <path> -type <val>sortpython3 -c <script>echo <path>npu-smi info <n> > <path>grep <path><command> <args>grep -q <val>ls <path>03 / CANDIDATE ARTIFACT
Read code changes as Git diffs. Identifying strings are masked; binary files are listed by their full relative names.
Base commit: 340db9201005fc64635bb25db1d2538f955761c3
@@ -0,0 +1,227 @@+"""Framework deployment entrypoint for the two-device Qwen3-14B serving system.++The public deployment contract fixes the outer service ABI: the model, the+served model name, the host and port, the 4096-token context, and greedy+sampling semantics. It also fixes the set of devices this deployment may+touch. Everything inside that boundary -- the process graph, the parallel+layout, routing, batching, memory sizing and graph capture -- is chosen here.++Layout rationale+----------------+Qwen3-14B in bfloat16 is roughly 27.6 GiB of weights and each Ascend 910B+exposes 64 GiB of HBM, so one *complete* replica fits on a single device. The+host reference layout instead shards a single replica across both devices with+``tp_size=2``. That choice pays a collective on every attention and MLP block+and, because the KV pool is sized per device, leaves each request stream with+half the cache it could have had.++This module runs one independent replica per visible device+(``dp_size = len(device_ids)``, ``tp_size = 1``) so that:++ * no collective sits on the per-token critical path,+ * each replica owns a full-size KV pool, and+ * the replicas serve disjoint requests concurrently behind one HTTP front end.++Both replicas load identical weights and run an identical single-device+execution plan. Routing is round-robin rather than load-aware: a load-aware+policy consults a live scheduler snapshot, so replica assignment -- and with it+batch composition -- would depend on arrival timing and greedy completions+would stop being reproducible run to run.++Sizing rationale+----------------+The public performance contract drives 32 concurrent requests with inputs up+to 2048 tokens and outputs up to 512. A single stream can therefore hold+~2560 tokens, and 32 of them need ~68k KV tokens. The reference layout caps+the pool at 32768 tokens, which forces the scheduler to queue work even though+the hardware is idle. Here the pool is sized from the memory fraction, which+on a 64 GiB device leaves well over 100k tokens after weights, so the declared+concurrency is admitted without queueing.++Decode graph capture is enabled. The reference layout disables it, paying+per-step host launch overhead on every decode token. Prefill graph capture+stays off: piecewise capture is unavailable on this platform and prefill shapes+are chunked, so capture would not pay for itself.+"""++from __future__ import annotations++import argparse+import os+import sys+from pathlib import Path++# --------------------------------------------------------------------------+# Runtime environment.+#+# These must be set before torch / torch_npu are imported, so they are applied+# at module scope ahead of any sglang import. The host applies an equivalent+# set when it launches its own reference layout; a framework-owned entrypoint+# has to supply them itself. Existing values always win so the surrounding+# deployment stays authoritative.+# --------------------------------------------------------------------------+_RUNTIME_ENVIRONMENT = {+ # Expand HCCL collectives on the vector cores rather than the AI cores.+ "HCCL_OP_EXPANSION_MODE": "AIV",+ # Larger HCCL transport buffer; cheap at this scale and avoids stalls.+ "HCCL_BUFFSIZE": "200",+ # Let the NPU caching allocator grow segments instead of fragmenting.+ "PYTORCH_NPU_ALLOC_CONF": "expandable_segments:True",+ # Overlap graph-plan work with compute on the NPU graph path.+ "SGLANG_ENABLE_OVERLAP_PLAN_STREAM": "1",+}+++def _apply_runtime_environment() -> dict[str, str]:+ applied: dict[str, str] = {}+ for name, value in _RUNTIME_ENVIRONMENT.items():+ if os.environ.get(name) in (None, ""):+ os.environ[name] = value+ applied[name] = value+ return applied+++_APPLIED_ENVIRONMENT = _apply_runtime_environment()+++def parse_devices(raw: str) -> tuple[int, ...]:+ """Parse the host-provided device id list."""+ if raw is None or raw.strip() == "":+ return ()+ values = tuple(int(item) for item in raw.split(","))+ if any(item < 0 for item in values) or len(values) != len(set(values)):+ raise ValueError(f"--device-ids is invalid: {raw!r}")+ return values+++def parse_args(argv: list[str]) -> argparse.Namespace:+ parser = argparse.ArgumentParser(+ prog="sglang.srt.deployment.qwen3_14b",+ description="Two-device Qwen3-14B serving deployment.",+ )+ parser.add_argument("--model-path", required=True)+ parser.add_argument("--tokenizer-path", required=True)+ parser.add_argument("--served-model-name", required=True)+ parser.add_argument("--host", required=True)+ parser.add_argument("--port", type=int, required=True)+ parser.add_argument("--device-ids", default="")+ parser.add_argument("--runtime-dir", default=None)+ return parser.parse_args(argv)+++def build_server_args(args: argparse.Namespace):+ """Translate the deployment contract into a concrete execution plan."""+ from sglang.srt.server_args import ServerArgs++ devices = parse_devices(args.device_ids)+ # One full replica per assigned device. With no device list (a degenerate+ # host configuration) fall back to a single replica.+ replicas = max(1, len(devices))++ return ServerArgs(+ # ---- Fixed by the public deployment contract -------------------+ model_path=args.model_path,+ tokenizer_path=args.tokenizer_path,+ served_model_name=args.served_model_name,+ host=args.host,+ port=args.port,+ dtype="bfloat16",+ context_length=4096,+ random_seed=20260819,+ device="npu",+ # ---- Framework-local execution plan ---------------------------+ # Replicate, do not shard: keeps every collective off the critical path.+ tp_size=1,+ dp_size=replicas,+ pp_size=1,+ # Round-robin, not load-aware. Load-aware dispatch reads a live+ # scheduler snapshot, so which replica serves a request depends on+ # arrival timing; that changes batch composition run to run and makes+ # greedy completions irreproducible. Round-robin dispatch is a pure+ # counter, so an identical request sequence always lands the same way.+ load_balance_method="round_robin",+ schedule_policy="fcfs",+ # Unique prompts mean prefix reuse cannot pay for its bookkeeping.+ disable_radix_cache=True,+ # Admit the full declared concurrency on either replica.+ max_running_requests=32,+ chunked_prefill_size=8192,+ # Size the KV pool from the memory fraction rather than pinning it+ # below what the declared concurrency needs.+ max_total_tokens=None,+ mem_fraction_static=0.85,+ # Capture the decode step; leave chunked prefill eager.+ cuda_graph_backend_decode="full",+ cuda_graph_max_bs_decode=32,+ cuda_graph_backend_prefill="disabled",+ attention_backend="ascend",+ )+++def record_plan(runtime_dir: str | None, server_args, devices: tuple[int, ...]) -> None:+ """Record the selected plan next to the runtime state, for evidence."""+ if not runtime_dir:+ return+ import json++ try:+ target = Path(runtime_dir)+ target.mkdir(parents=True, exist_ok=True)+ (target / "deployment-plan.json").write_text(+ json.dumps(+ {+ "schema_version": 1,+ "kind": "qwen3_14b_deployment_plan",+ "device_ids": list(devices),+ "replicas": server_args.dp_size,+ "tp_size": server_args.tp_size,+ "load_balance_method": server_args.load_balance_method,+ "mem_fraction_static": server_args.mem_fraction_static,+ "max_running_requests": server_args.max_running_requests,+ "chunked_prefill_size": server_args.chunked_prefill_size,+ "cuda_graph_backend_decode": (+ server_args.cuda_graph_config.decode.backend+ ),+ "cuda_graph_backend_prefill": (+ server_args.cuda_graph_config.prefill.backend+ ),+ "applied_environment": _APPLIED_ENVIRONMENT,+ },+ indent=2,+ sort_keys=True,+ )+ + "\n",+ encoding="utf-8",+ )+ except OSError:+ # Evidence recording must never take the service down.+ pass+++def main(argv: list[str] | None = None) -> int:+ args = parse_args(sys.argv[1:] if argv is None else argv)++ from sglang.srt.plugins import load_plugins+ from sglang.srt.utils.common import suppress_noisy_warnings++ suppress_noisy_warnings()+ load_plugins()++ server_args = build_server_args(args)+ record_plan(args.runtime_dir, server_args, parse_devices(args.device_ids))++ from sglang.srt.entrypoints.http_server import launch_server+ from sglang.srt.utils import kill_process_tree++ try:+ launch_server(server_args)+ finally:+ # Mirror the reference entrypoint: make sure no scheduler or+ # detokenizer child outlives the supervisor, so the cleanup+ # contract holds even on an abnormal exit.+ kill_process_tree(os.getpid(), include_parent=False)+ return 0+++if __name__ == "__main__":+ raise SystemExit(main())