aorta

Running the Benchmark

This guide covers different ways to launch the AORTA benchmark on CUDA and ROCm systems.

Quick Start

ROCm

bash scripts/launch_rocm.sh config/default.yaml

CUDA

bash scripts/launch_cuda.sh config/default.yaml

Both scripts:

Direct Invocation

For more control over the launch:

torchrun --nproc_per_node 4 train.py --config config/default.yaml --override training.max_steps=100

Use dotted --override arguments to mutate configuration values without editing the YAML file.

Torch Compile Acceleration

Enable AOT compilation by toggling the compile block or CLI overrides:

torchrun --nproc_per_node 4 train.py \
  --config config/default.yaml \
  --override compile.enabled=true compile.backend=inductor compile.mode=max-autotune

Compile Behavior

SDMA Prototype Benchmark

SDMA Benchmark

To measure theoretical compute/SDMA overlap on ROCm without modifying the full training loop:

python scripts/run_sdma_prototype.py --device 0 --matrix-size 4096 --copy-mb 64

The script:

Use rocprofv3 (or scripts/rocprof_capture.sh) against this benchmark to inspect SDMA engine utilization and validate whether transfers run concurrently with compute.

Next Steps