Tutorial: from the CLI to the dashboard
User documentation · Prerequisite: installation
Run from your DevitoPRO repository. Choose a real application or the demonstration below. All screenshots use the demonstration: timings and evidence labels are simulated, and no GPU or profiler is used.
1. Start a session
Choose a persistent result directory. For this walkthrough:
export WARPER_SESSION_ROOT="$PWD/tutorial-sessions"Try the interface without a GPU
python3 -m warper FakeForward \
--fixture phase2 --optimize-for 1m --plain-output -- \
fake-app --size 16This finishes quickly and creates a real session directory with synthetic results. fake-app is a demonstration argument; no file or extra package is needed. Your session ID will differ from the screenshots.
Tune a real application instead
First confirm the application runs normally. For an Operator named Forward:
python3 -m warper Forward \
--optimize-for 15m --max-workers 3 --scenario My-application -- \
app.pyUse the Operator’s name, for example Operator(..., name="Forward"), and append your usual application arguments after --. If the same name is invoked repeatedly, select it with --operator-occurrence N, counting from one.
--max-workers controls parallel builds; GPU evaluations run one at a time. The search budget includes compilation and profiling. Final validation and reporting may finish after it expires.
2. Read the CLI output

| Term | Meaning |
|---|---|
| Baseline | The first measured configuration. |
| Trial | A complete Operator built with a candidate configuration. |
| Champion | The retained configuration after correctness, performance and evidence checks. |
| Final result | Performance at the original application horizon, including saving and compression, without setup. |
Finishing with the baseline is a valid result when no eligible trial improves on it. CUDA search measurements normally cover 20 timesteps; profiler durations are separate evidence.
Keep the printed session ID and the entire directory at $WARPER_SESSION_ROOT/SESSION_ID. Resume needs more than the summary files.
In an interactive terminal, click a trial row or use Up/Down and Enter to inspect it. --plain-output prints the full plan in ordinary scrollback.
3. Open the dashboard
In a second terminal, from the same source root:
python3 warper-gui/server --sessions-root "$PWD/tutorial-sessions"Open the printed URL. If you chose another result directory, pass that path. The dashboard reads results; it does not start tuning.

Open your session’s scenario, then select the instance. Real sessions can use --scenario to group runs of the same problem across GPUs or configurations. The demonstration uses its session ID as the scenario.

For the demonstration, choose Search · NCU attached in the chart’s Timing selector to see the synthetic search points. Native measurements are absent. For real sessions, the completed headline reports the full application result; the history shows the shorter search experiments.
4. Inspect a trial
Click a trial in the history or trial view. Check its correctness, exact options and changes from its parent. Real profiled trials also offer generated code, kernel evidence, logs and retained reports.

Open Loop 0 to explore the workflow, rulebook and worked examples. Its examples explain the policy using illustrative values.

Use Download .ncu-rep or Download .nsys-rep for detailed inspection in the corresponding NVIDIA GUI when those reports are available.
5. Resume an interrupted session
In the original compute environment, with the same session root, dependencies, application and inputs:
python3 -m warper --resume SESSION_ID --optimize-for 15mReplace SESSION_ID with the printed ID. The recorded application command and settings are restored; omit --fixture and the application arguments.
For an incomplete session, this adds 15 minutes of search time. A completed session only validates and reprints its result. To tune further, start a new seeded session below.
Resume from the original session. A laptop collection omits executable artifacts.
Reuse the result
| Goal | Action |
|---|---|
| Run the measured configuration | Copy Run champion from the dashboard. Use its recorded working directory and environment. It runs the full application without tuning. |
| Tune further | Copy the CLI recommendation command containing --seed, then choose a new budget or scenario. The configuration becomes a freshly checked baseline. |
Run champion uses Devito’s named option support. For occurrence selectors greater than one, apply the provided opt expression in your application; a name-only command cannot select that invocation.
Copy complete measured expressions. Per-kernel vectors belong to their original Operator topology; copying individual positions to another workload is unsafe. The demonstration’s recommendation is only sample data.
Collect results from a cluster
Keep compute results in persistent shared storage. On your laptop:
python3 warper-gui/server --config ~/.config/warper/dashboard.jsonThe first invocation creates a starter config and exits. Edit its SSH target and remote sessions_root, then rerun. Use Sync sources after new sessions finish. See remote setup.
Next: CLI reference · GUI reference.