Inspect · Source & workspace
Requested workspace inspection related to source & workspace.
1 call · #0066–#0066
echo <val>ls -l -a <val> <n> > <path>Kimi K3 · Serving
vLLM Ascend Qwen3-30B-A3B MoE system serving 2dev · Joint Optimization
01 / PROCESS MAP
Compare agents on one time axis; overlapping spans line up vertically. Select an agent or bar to inspect its events.
Time starts at the first recorded activity. Select a bar or agent to open its events. Bars span the first and last recorded observation, including gaps; colored ticks mark tool calls. A hollow diamond marks a delegation whose child timing is unavailable.
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>. Each branch belongs to its named agent. Expand a delegation to inspect its child; branches can run concurrently. Call numbers preserve source order, not a serial schedule. Times are relative to the first recorded activity.
Requested workspace inspection related to source & workspace.
1 call · #0066–#0066
echo <val>ls -l -a <val> <n> > <path>Requested file and log inspection related to task requirements.
2 calls · #0067–#0068
Read <path>Requested environment setup or inspection, workspace inspection and file and log inspection related to source & workspace.
3 calls · #0069–#0071
env <vars>find <val> -type <val>sortRead <path>Requested file and log inspection related to task requirements.
3 calls · #0072–#0074
Read <path>Requested file and log inspection related to source & workspace.
3 calls · #0075–#0077
Read <path>Requested file and log inspection related to runtime processes.
1 call · #0078–#0078
Read <path>Requested environment setup or inspection and file and log inspection related to benchmark & validation setup.
1 call · #0079–#0079
env <vars><command> <args>cat <path>Requested environment setup or inspection and script or workload execution related to batching & scheduling.
1 call · #0080–#0080
env <vars>python3 -c <script>Requested file and log inspection, environment setup or inspection and source searches related to source & workspace.
2 calls · #0081–#0082
Read <path>envgrep -E <val>sortecho <flag>ls <path>Requested file and log inspection and runtime inspection related to device memory.
1 call · #0083–#0083
cat <path> <n> > <path>head -n <n>echo <flag>npu-smi info <n> > <path>Requested workspace inspection and file and log inspection related to source & workspace.
1 call · #0084–#0084
ls <path>echo <flag>ls <path> <n> > <path>head -n <n>Requested file and log inspection related to task requirements.
1 call · #0085–#0085
Read <path>Requested repository inspection, file and log inspection and workspace inspection related to source & workspace.
2 calls · #0086–#0087
cd <path>git log --oneline <flag>git status --shortheadecho <flag>date -uls -l -a <path> <path> <n> > <path>df -h <path>tail -n <n>free -ghead -n <n>Requested script or workload execution related to benchmark & validation setup.
1 call · #0088–#0088
bash <script>Requested source searches, file and log inspection and repository inspection related to source & workspace.
2 calls · #0089–#0090
cd <path>grep -n <val> <path>head -n <n>cat <path> <n> > <path>git log <flag> <args>python3 -c <script> <n> > <path>Requested task coordination related to source & workspace.
1 call · #0091–#0091
Delegate <task>Delegated by Main agent at call #0091. Observed activity +08:02–+18:35.
Requested workspace inspection related to attention kernels.
1 call · #0001–#0001
ls <path>ls <path> <path> <path> <path> <path> <n> >& <path>Requested workspace inspection, file and log inspection and source searches related to source & workspace.
14 calls · #0002–#0015
ls <path> <path> <n> >& <path>ls <path>head -n <n>Read <path>ls <path> <path> <path>grep -n <val> -r <path>grep -n <val> <path>grep -r -n <val> <path>headgrep -n <val> -A <n> <path>Requested source searches and file and log inspection related to speculative decoding.
1 call · #0016–#0016
grep -n <val> -A <n> <path>head -n <n>Requested source searches, file and log inspection and workspace inspection related to source & workspace.
14 calls · #0017–#0030
grep -n <val> <path> <path>head -n <n>grep -n <val> <path>Read <path>grep -r -n <val> <path> <path> --include <path> -i -lheadsed -n <val> <path>grep -r -n <val> <path>grep -r -n <val> <path> <path> <n> > <path>echo <flag>grep -n <val> -A <n> <path>ls <path> <path>echo <val>grep -r -n <val> <path> <path>Requested source searches and file and log inspection related to attention kernels.
1 call · #0031–#0031
grep -r -n <val> <path>head -n <n>grep -n <val> <path>Requested file and log inspection, source searches and workspace inspection related to source & workspace.
8 calls · #0032–#0039
Read <path>grep -r -n <val> <path> <n> > <path>headls <path>head -n <n>grep -r -n <val> <path> --include <path> -lgrep -v <val>grep -n <val> <path>grep -r -n <val> <path>grep -r -n <val> <path> <path>grep -r -n <val> -A <n> <path> --include <path>grep -n <val> -A <n> <path>sed -n <val> <path>Requested source searches and file and log inspection related to attention kernels.
1 call · #0040–#0040
grep -n <val> <path> <path> <path> <path> <path> <n> > <path>head -n <n>Requested source searches and file and log inspection related to source & workspace.
1 call · #0041–#0041
grep -r -n <val> <path> --include <path>head -n <n>Requested source searches and file and log inspection related to attention kernels.
1 call · #0042–#0042
grep -r -n <val> <path>headgrep -n <val> <path>Requested file and log inspection and source searches related to source & workspace.
3 calls · #0043–#0045
sed -n <val> <path>grep -r -n <val> <path> <path> <n> > <path>headgrep -r -n <val> <path>head -n <n>grep -n <val> <path>Read <path>Requested source searches and file and log inspection related to attention kernels.
2 calls · #0046–#0047
grep -n <val> <path>head -n <n>grep -r -n <val> <path> <path> <n> > <path>grep -n <val> -A <n> <path>Requested file and log inspection and source searches related to source & workspace.
2 calls · #0048–#0049
sed -n <val> <path>grep -n <val> <path>head -n <n>Requested source searches and file and log inspection related to batching & scheduling.
2 calls · #0050–#0051
grep -n <val> <path>head -n <n>grep -r -n <val> <path> <path> <n> > <path>Requested source searches, file and log inspection and workspace inspection related to attention kernels.
1 call · #0052–#0052
grep -r -n <val> <path>headls <path> <n> > <path>ls <path>Requested source searches and file and log inspection related to batching & scheduling.
1 call · #0053–#0053
grep -r -n <val> <path> --include <path>grep <val>head -n <n>sed -n <val> <path>Requested workspace inspection, file and log inspection and source searches related to source & workspace.
2 calls · #0054–#0055
ls <path>ls <path> <n> > <path>head -n <n>grep -n <val> <path>sed -n <val> <path>Requested source searches and file and log inspection related to attention kernels.
2 calls · #0056–#0057
grep -n <val> <path>head -n <n>sed -n <val> <path>Requested source searches and file and log inspection related to source & workspace.
2 calls · #0058–#0059
grep -n <val> <path>head -n <n>head -n <n> <path>grep -r -n <val> <path>Requested source searches and file and log inspection related to batching & scheduling.
1 call · #0060–#0060
grep -n <val> <path>head -n <n>grep -r -n <val> <path> --include <path>grep -v <val>Requested file and log inspection related to source & workspace.
1 call · #0061–#0061
sed -n <val> <path>Requested source searches and file and log inspection related to batching & scheduling.
1 call · #0062–#0062
grep -r -n <val> <path> -r --include <path>head -n <n>grep -r -n <val> <path> <path> <n> > <path>Requested source searches and file and log inspection related to attention kernels.
1 call · #0063–#0063
grep -n <val> <path>head -n <n>Requested source searches and file and log inspection related to source & workspace.
2 calls · #0064–#0065
grep -n <val> <path>head -n <n>cat <path> <n> > <path>grep -r -n <val> <path> <n> > <path>Requested file and log inspection and script or workload execution related to benchmark & validation setup.
1 call · #0092–#0092
cat <path> <n> > <path>python3 -m <module>head -n <n>echo <val>tail -n <n> <path>Requested environment setup or inspection and script or workload execution related to task requirements.
1 call · #0093–#0093
env <vars>python3 -c <script>Requested script or workload execution related to benchmark & validation setup.
1 call · #0094–#0094
bash <script>Requested workspace file updates related to source & workspace.
1 call · #0095–#0095
mkdir -p <path>Requested code edits related to source & workspace.
2 calls · #0096–#0097
Write <path>Requested script or workload execution and file and log inspection related to runtime processes.
1 call · #0098–#0098
cd <path>python3 -c <script> <n> >& <path>tail -n <n>Requested script or workload execution, source searches and file and log inspection related to runtime processes.
2 calls · #0099–#0100
cd <path>python3 -m <module> <val> --help <n> > <path>grep -E <val>headtimeout <n> <val> -m <val> <val> --help <n> >& <path>grep <flag> <args>head -n <n>Requested source searches and file and log inspection related to batching & scheduling.
1 call · #0101–#0101
cd <path>grep -r -n <val> <path>head -n <n>Requested file and log inspection related to source & workspace.
1 call · #0102–#0102
cd <path>sed -n <val> <path>Requested file and log inspection, workspace inspection and source searches related to benchmark & validation setup.
2 calls · #0103–#0104
tail -n <n> <path> <n> > <path>ls -l -a <path>grep -E <path> <path> <n> > <path>tail -n <n>grep -E <val> <path> <n> > <path>grep <flag> <args>Requested execution waits related to source & workspace.
1 call · #0105–#0105
Wait for <task>Requested workspace inspection related to source & workspace.
1 call · #0106–#0106
ls <path> <val> -rf <path> <path> <val> <path>Requested workspace file updates and script or workload execution related to benchmark & validation setup.
2 calls · #0107–#0108
cp <path> <path>echo <val>bash <script>Requested file and log inspection and source searches related to source & workspace.
3 calls · #0109–#0111
cd <path>sed -n <val> <path>Search <pattern> <path>Read <path>Requested workspace file updates and script or workload execution related to benchmark & validation setup.
2 calls · #0112–#0113
rm -f <path> <path>rm -rf <path> <val> <path> <path>bash <script>Requested source searches and file and log inspection related to source & workspace.
2 calls · #0114–#0115
cd <path>grep -n <val> <path> <path> <path>head -n <n>sed -n <val> <path>grep -n <val> <path>Requested file and log inspection, source searches and script or workload execution related to benchmark & validation setup.
2 calls · #0116–#0117
head -n <n> <path> <n> > <path>grep -v -E <val>head -n <n>grep <flag> <args>cat <path> <n> > <path>python3 -c <script>Requested execution waits related to source & workspace.
1 call · #0118–#0118
Wait for <task>Requested workspace file updates and workspace inspection related to task requirements.
1 call · #0119–#0119
mkdir -p <path>cp <path> <path> <path>ls -l -a <path>rm -rf <path>rm -f <path>Requested environment setup or inspection related to benchmark & validation setup.
1 call · #0120–#0120
env <vars> bash <script>Requested source searches, file and log inspection and runtime inspection related to device memory.
1 call · #0121–#0121
grep <flag> <args>headnpu-smi info <n> > <path>grep -E <val>head -n <n>Requested source searches and file and log inspection related to benchmark & validation setup.
2 calls · #0122–#0123
grep <flag> <args>grep -v <val>head -n <n>tail -n <n> <path>cut <flag>Requested execution waits related to source & workspace.
1 call · #0124–#0124
Wait for <task>Requested workspace file updates and environment setup or inspection related to benchmark & validation setup.
2 calls · #0125–#0126
cp <path> <path>mv <path> <path>rm -rf <path>rm -f <path>echo <val>env <vars> bash <script>Requested workspace file updates and workspace inspection related to source & workspace.
1 call · #0127–#0127
mv <path> <path>ls -l -a <path>Requested source searches and file and log inspection related to runtime processes.
1 call · #0128–#0128
cd <path>grep -n <val> <path>headgrep -r -n <val> <path> --include <val> --include <val> -l <n> > <path>head -n <n>Requested execution waits related to source & workspace.
1 call · #0129–#0129
Wait for <task>Requested workspace file updates and script or workload execution related to benchmark & validation setup.
1 call · #0130–#0130
rm -rf <path>rm -f <path>bash <script>Requested source searches and file and log inspection related to source & workspace.
2 calls · #0131–#0132
cd <path>grep -r -n <val> <path> --include <path>grep -v <val>headsed -n <val> <path>Requested source searches related to attention kernels.
1 call · #0133–#0133
grep -E <val> <path>Requested source searches and file and log inspection related to source & workspace.
1 call · #0134–#0134
cd <path>grep -n <val> <path>head -n <n>grep -r -n <val> <path>Requested execution waits related to source & workspace.
1 call · #0135–#0135
Wait for <task>Requested workspace file updates, environment setup or inspection and source searches related to benchmark & validation setup.
1 call · #0136–#0136
cp <path> <path>env <vars>grep <val> <val>awk <flag> <args>awk <val>sort -nRequested file and log inspection related to source & workspace.
1 call · #0137–#0137
Read <path>Requested code edits related to source & workspace.
2 calls · #0138–#0139
Edit <path>Requested workspace file updates, script or workload execution and environment setup or inspection related to benchmark & validation setup.
3 calls · #0140–#0142
rm -rf <path>rm -f <path>bash <script>env <vars>grep <val> <val> <n> > <path>tail -n <n>head -n <n>sleep <n>tail -n <n> <path>cut <flag>grep -c <path> <path>Requested execution waits related to source & workspace.
1 call · #0143–#0143
Wait for <task>Requested source searches and file and log inspection related to source & workspace.
1 call · #0144–#0144
cd <path>grep -r -n <val> <path> --include <path>grep -v <val>head -n <n>Requested workspace file updates and environment setup or inspection related to benchmark & validation setup.
1 call · #0145–#0145
cp <path> <path>rm -rf <path>rm -f <path>env <vars> bash <script>Requested file and log inspection related to source & workspace.
1 call · #0146–#0146
Read <path>Requested code edits related to source & workspace.
1 call · #0147–#0147
Edit <path>Requested execution waits related to source & workspace.
1 call · #0148–#0148
Wait for <task>Requested code edits related to source & workspace.
1 call · #0149–#0149
Edit <path>Requested workspace file updates and script or workload execution related to benchmark & validation setup.
1 call · #0150–#0150
rm -rf <path>rm -f <path>bash <script>Requested repository inspection related to source & workspace.
1 call · #0151–#0151
cd <path>git status --shortecho <flag>Requested execution waits related to source & workspace.
1 call · #0152–#0152
Wait for <task>Requested workspace file updates and environment setup or inspection related to benchmark & validation setup.
1 call · #0153–#0153
cp <path> <path>rm -rf <path>rm -f <path>env <vars> bash <script>Requested code edits related to source & workspace.
1 call · #0154–#0154
Edit <path>Requested execution waits related to source & workspace.
1 call · #0155–#0155
Wait for <task>Requested script or workload execution, file and log inspection and repository inspection related to source & workspace.
1 call · #0156–#0156
bash <script> <n> >& <path>tail -n <n>cd <path>git status --shortpython3 -c <script>03 / CANDIDATE ARTIFACT
Read code changes as Git diffs. Identifying strings are masked; binary files are listed by their full relative names.
Base commit: 7c254c14e2f2db1185d739075ee3cdc1da3cfde2
@@ -0,0 +1,2 @@+# SPDX-License-Identifier: Apache-2.0+"""Framework-owned deployment entrypoints for vLLM Ascend."""@@ -0,0 +1,135 @@+# SPDX-License-Identifier: Apache-2.0+"""Framework-owned serving deployment for Qwen3-30B-A3B on Ascend 910B.++The host invokes this module as the outer service ABI:++ python -B -m vllm_ascend.deployment.qwen3_30b_a3b \+ --model-path PATH --tokenizer-path PATH \+ --served-model-name Qwen/Qwen3-30B-A3B \+ --host 127.0.0.1 --port PORT \+ --device-ids ID0,ID1 --runtime-dir PATH++The process stays in the foreground, exposes /v1/models and+/v1/completions, and shuts down cleanly on SIGTERM. Internally it+launches the vLLM OpenAI-compatible server with a TP/EP plan and+scheduler configuration tuned for two Ascend 910B devices.++Tuning notes (all changes are numerically neutral with respect to the+reference deployment; per-token math, chunking at low concurrency, and+the decode graph capture sizes are unchanged):++* ``gpu_memory_utilization`` 0.60 -> 0.85: the reference leaves little+ headroom beyond weights and KV cache on the 64GB HBM. The larger+ budget avoids allocation pressure for big chunked-prefill steps and+ the ACL graph memory pool. Memory sizing does not alter math.+* ``max_num_batched_tokens`` 8192 -> 32768: the shifted-prefill profile+ submits 32 concurrent 2048-token prompts. A 32K token budget packs+ up to 16 prompts per scheduler step, cutting the number of MoE+ allgather rounds per phase by 4x. At the correctness-probe scale+ (concurrency <= 8, prompts <= 2048 tokens) every step fits in one+ chunk under both budgets, so low-concurrency numerics are identical.+* ``weight_prefetch_config.enabled``: prefetch the next layer's+ attention and MoE gate_up weights on a side stream during compute.+ Pure data movement; kernel numerics are unchanged.+* Async scheduling stays enabled (upstream default); it overlaps CPU+ scheduling with device execution without changing batch contents.+"""++from __future__ import annotations++import argparse+import json+import os+import sys++MODEL_ID = "Qwen/Qwen3-30B-A3B"++# Scheduler / memory plan for two 910B (64GB HBM) devices.+GPU_MEMORY_UTILIZATION = 0.85+MAX_MODEL_LEN = 4096+MAX_NUM_SEQS = 64+MAX_NUM_BATCHED_TOKENS = 32768++# Decode profile runs at concurrency 64 and the prefill profile at 32;+# capture exactly those uniform decode batch sizes plus the small sizes+# used by warmup and correctness traffic.+COMPILATION_CONFIG = {+ "cudagraph_mode": "FULL_DECODE_ONLY",+ "cudagraph_capture_sizes": [8, 16, 32, 64],+}++# Prefetch the next layer's attention and MoE gate_up weights on a side+# stream while the current layer computes. Pure data movement, so the+# numerics of every kernel stay unchanged.+ADDITIONAL_CONFIG = {+ "weight_prefetch_config": {"enabled": True},+}+++def parse_args() -> argparse.Namespace:+ parser = argparse.ArgumentParser()+ parser.add_argument("--model-path", required=True)+ parser.add_argument("--tokenizer-path", required=True)+ parser.add_argument("--served-model-name", default=MODEL_ID)+ parser.add_argument("--host", default="127.0.0.1")+ 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()+++def build_serve_argv(args: argparse.Namespace) -> list[str]:+ device_ids = [item for item in args.device_ids.split(",") if item]+ tensor_parallel_size = max(1, len(device_ids))+ return [+ sys.executable,+ "-B",+ "-m",+ "vllm.entrypoints.cli.main",+ "serve",+ args.model_path,+ "--tokenizer",+ args.tokenizer_path,+ "--served-model-name",+ args.served_model_name,+ "--host",+ args.host,+ "--port",+ str(args.port),+ "--dtype",+ "bfloat16",+ "--max-model-len",+ str(MAX_MODEL_LEN),+ "--tensor-parallel-size",+ str(tensor_parallel_size),+ "--enable-expert-parallel",+ "--gpu-memory-utilization",+ str(GPU_MEMORY_UTILIZATION),+ "--max-num-seqs",+ str(MAX_NUM_SEQS),+ "--max-num-batched-tokens",+ str(MAX_NUM_BATCHED_TOKENS),+ "--enable-chunked-prefill",+ "--no-enable-prefix-caching",+ "--async-scheduling",+ "--generation-config",+ "vllm",+ "--compilation-config",+ json.dumps(COMPILATION_CONFIG),+ "--additional-config",+ json.dumps(ADDITIONAL_CONFIG),+ ]+++def main() -> None:+ args = parse_args()+ argv = build_serve_argv(args)+ # Replace this process with the OpenAI server. The PID and process+ # group are preserved, so the host's SIGTERM/killpg lifecycle and+ # readiness probing apply unchanged, and engine-core children stay in+ # the same process group for cleanup.+ os.execvpe(argv[0], argv, os.environ)+++if __name__ == "__main__":+ main()