CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
1.8 KiB
1.8 KiB
Ranking Regression Baselines
This directory contains golden baseline files for ranking regression tests.
File Structure
baselines/
└── rankings/
├── gfx90a.yaml
├── gfx942.yaml
├── gfx950.yaml
├── gfx1100.yaml
└── gfx1201.yaml
Each architecture has its own YAML file containing rankings for all dtype/transpose combinations.
Generating Baselines
Baselines should be generated from the develop branch to establish the expected
ranking behavior:
# From the origami python directory
pytest tests/test_ranking_regression.py -v --generate-baseline
This creates/updates YAML files containing the top-5 ranked configs for each architecture, data type, and transpose combination.
Updating Baselines
If a PR intentionally changes ranking behavior (e.g., fixing a bug or improving the heuristics), the baselines need to be updated:
- Ensure the changes are intentional and reviewed
- Run the baseline generation command above
- Commit the updated baseline files with the PR
Baseline File Format
Each YAML file has a hierarchical structure:
dtype:
transpose:
"MxNxKxBatch":
- [mt_m, mt_n, mt_k, mi_m, mi_n, mi_k, occ, wgm] # rank 0
- [mt_m, mt_n, mt_k, mi_m, mi_n, mi_k, occ, wgm] # rank 1
...
Where:
dtype: Data type (f16, bf16, f32)transpose: Matrix transpose combination (TN, TT, NN, NT)- T = Transposed, N = Non-transposed (first char = A, second = B)
- Config tuple:
[mt_m, mt_n, mt_k, mi_m, mi_n, mi_k, occ, wgm] - Rank is implicit from list position (0-4 for top-5)
Example (gfx90a.yaml):
f16:
TN:
36912x62832x4448x1:
- [256, 256, 64, 16, 16, 16, 2, 1]
- [256, 256, 64, 16, 16, 16, 2, 4]
- [256, 256, 64, 16, 16, 16, 2, 8]
...