Tooling#
Primus ships a set of auxiliary tools for analysis, benchmarking, visualization, installation, and diagnostics. They live under tools/ in the repository; each tool keeps its own README with detailed usage instructions. This page is a lightweight index so the tooling is discoverable from the documentation.
Available tools#
Tool |
Directory |
What it does |
Docs |
|---|---|---|---|
IRLens |
|
Parses XLA HLO text dumps and prints an execution skeleton with control flow, separating communication vs compute ops. |
README |
model_stats |
|
Generates charts from the model config registry under |
README |
Pipeline Visualization |
|
Visualizes pipeline-parallelism schedules from dumped data or PP-simulator JSON via a local web UI. |
README |
Auto Benchmark |
|
Interactive benchmark menu for Megatron/TorchTitan on MI300X/MI355X with metrics collection. |
README |
Backend Gap Report / Engineering Dashboard |
|
Generation and publishing toolchain for the shared Primus engineering dashboard and backend-gap reports. |
README |
Installation (venv) |
|
Reproduces the Primus training Docker environment in a Python virtual environment (no Docker, no sudo). |
README |
Daily Report |
|
Benchmark summary CSV generation used by CI workflows. |
— |
Docker Helpers |
|
Container startup and proxy scripts. |
— |
Profile Trace |
|
Trace-file merging utility. |
— |