You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c727b0f
Browse filesBrowse the repository at this point in the historyBrowse files
Comments and docstrings that restated the code are gone, the rest shortened; README,
CI.md and CI_zh.md follow the main README's style. No code changes.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
`mode=timing` (default) records latency, telemetry and a profiler replay per op.
49
-
`mode=counters` instead runs each op once under Nsight Compute (NVIDIA; the host's
50
-
`/opt/nvidia/nsight-compute`) or rocprofv3 (AMD; 12 counter passes, so use a smaller
51
-
`chunk_size`), with raw counter files under `results/counters/`. Latencies from a
52
-
counters run are perturbed by the profiler.
53
-
54
-
For a quick infrastructure smoke check, explicitly select `testlists=gemm_perf`
55
-
and `chunk_size=50` (11 BF16 cases). `attn_deepseek_v4`, `attn_kimi_k3` and `attn_minimax_m3` hold attention modules; dispatch
56
-
them separately from gemm / moe lists. Test runs set `-f ingest=false` so their results stay
57
-
out of the OperatorX database; a dispatched run is ingested by default. `gemm_serving_8k1k_min` and
58
-
`gemm_serving_all_min` hold the GEMMs of InferenceX serving configurations. Unsupported operations remain visible in results. Backend
59
-
import errors, benchmark errors, and zero successful rows fail the shard.
60
-
Start with BF16 GEMM, then the quantized formats.
61
-
Do not infer that Blackwell-specific FP4 kernels work on Hopper.
27
+
- Inputs: `runner`, `backends` (`vllm`; AMD also `torch`), `testlists`, `mode` (`timing` | `counters`), `world_sizes` (1, 2, 4, 8), `chunk_size` (1-500), `recovery_run_id`, `ingest` (default true; `false` for test runs).
28
+
-`mode=counters`: each op once under Nsight Compute (NVIDIA) or rocprofv3 (AMD, 12 passes: use a smaller `chunk_size`); raw files in `results/counters/`; latencies perturbed.
metadata, allocation/import/benchmark logs, status and any raw result JSONs.
119
-
Startup failures can have logs without results; cancellation checkpoints are
120
-
partial coverage. A successful shard requires successful measurements, not just
121
-
successful Slurm submission. Result environments record the workflow run,
122
-
attempt, shard, source SHA and image digest.
123
-
124
-
Download artifacts through `gh run download`. Preserve raw files and provenance;
125
-
`scripts/consolidate_results.py` is not part of CI.
33
+
- Planning: shards per backend image, `parallel` split and InferenceX recipe (`recipes.py`: image, launch env, `vllm serve` args), chunked by `chunk_size`; at most 256 shards; a case with no recipe runs on the backend's image from `containers.toml`.
34
+
- One exclusive Slurm node per shard (GB200/GB300: one 4-GPU tray, no world size 8); 45 min allocation, 70 min job.
35
+
- Image: digest resolved at planning, imported with enroot on the allocated node, cached by image + digest + arch; a tag that moved since planning fails the shard.
36
+
- Ranks: one process per GPU of the split's world size, env:// rendezvous; runner settings from CollectiveX's platform registry overlaid by `platforms.json`.
37
+
- Results: rows checkpointed after each op; unsupported cases stay visible as rows, errors or zero successful rows fail the shard; artifacts `operatorx-manifest-<run_id>` and `operatorx-shard-<run_id>-<attempt>-<shard>`; ingested into the OperatorX database unless `ingest=false`.
38
+
- Cleanup: cancellation and the `always()` step cancel the allocation and keep partial results; after a failed cleanup, rerun one shard with `recovery_run_id`.
126
39
127
-
## Local validation
128
-
129
-
Planning requires Python 3.11 or newer. Compute-side control code uses the existing
130
-
Python 3.10+ Slurm-host environment. CPU tests run the real planner, benchmark
131
-
orchestration and launcher with external GPU/Slurm collaborators substituted.
0 commit comments