[CI] Restore MI350 Slow parity collection #3789
@pablo-garay Can you please review this logic?
<!-- rocm-security-gh:pr-findings:v1 -->
[!CAUTION]
5 potential secret finding(s) were committed in this pull request. Treat each credential as compromised and revoke or rotate it now, even if a later commit removed it. Deleting the line or force-pushing does not undo the leak: the commits stay reachable from this pull request and from every clone or fork, and automated scanners harvest secrets pushed to public repositories within minutes.
> If a finding is a test fixture or a false positive, allowlist it in the configuration of the scanner that reported it.
<details>
<summary><b>Security scan found 5 critical or high finding(s) on lines changed by this pull request</b></summary>
| Scanner | Severity | Rule | Location | Finding |
|---|---|---|---|---|
| Gitleaks | HIGH | generic-api-key | tools/test/test\_native\_aot.py:391 | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. |
| Gitleaks | HIGH | generic-api-key | torch/\_inductor/codegen/nv\_universal\_gemm/nv\_universal\_gemm.py:924 | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. |
| Gitleaks | HIGH | generic-api-key | torch/fx/graph.py:2348 | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. |
| Gitleaks | HIGH | generic-api-key | torch/testing/\_internal/common\_modules.py:3176 | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. |
| Gitleaks | HIGH | generic-api-key | torch/testing/\_internal/common\_modules.py:3198 | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. |
View the security scan run for complete reports.
_“New” means the finding is located in a changed file on an added or modified line; it is not a base-versus-head findings delta._
</details>
If I read the two regexes here, the only difference seems to be the "-sm86" before the " /" in the latter. And the "^" in the beginning of the latter, but I assume that's irrelevant. Do we need to have them be two different regexes? Please explain why?
What does "rename-tolerant" mean? Is it unique to the slow config?
jithunnair-amd
ethanwee1
Problem
The Parity HUD has a separate MI350 Slow target, but it has shown no Slow data since Oct 2.
parity.ymlalways passes--exclude_slow, so parity artifacts contain no Slow rows.Changes
parity_job_config.json:- Registers three-shard Slow sources: MI350 (
slowworkflow) and CUDA (sm86build).- Adds a CUDA
slow_checkrun_regex. It is separate fromcheckrun_regexbecauseslow.ymlruns CUDA Slow on the-sm86build rather than the trunk build. Likecheckrun_regex, it accepts any py3.N/gccN.parity-auto.yml:- Waits for complete ROCm and CUDA Slow shards on arches that register a Slow source. Today that is only MI350.
- Dispatches with
exclude_slow=truewhen no arch is collecting Slow.parity.yml: adds anexclude_slowinput. Slow is collected only when it isn't excluded and the arch has a Slow source.download_testlogs:resolve_non_variant_runpicks the push run that has real Slow shards. It skips the newer scheduled re-run, which only has rerun_disabled_tests / mem_leak_check variants.Validation
All runs are on the current head, with
developmerged in.parity.yml, MI350 only, at trunk commit681a0229: https://github.com/ROCm/pytorch/actions/runs/44556666036. It succeeded with 3/3 ROCm MI350 and 3/3 CUDA sm86 Slow shards. TEST SLOW: 952 CUDA, 847 ROCm, 11.45% disagree. Overall agree: 99.17%.parity-auto: https://github.com/ROCm/pytorch/actions/runs/44557696789. It succeeded and loaded the new CUDA Slow regex.- 196 of 200 commits were already covered by existing reports and were skipped.
- 3 were waiting on pending shards.
-
67803349was held atmi350 slow shards incomplete (0/3 present); itsslow.ymlrun failed.linux-jammy-cuda13.2-…-sm86 / test (slow, …)among currentslow.ymljob names. No new unit tests.Tracked in AIPYTORCH-1244.