← Back to Pull requests

[ci] Add more pytorch/jax path filters for CI triggering #9746

Closed
unknown closed this pull request without merging on Nov 06, 2026 19:50 UTC
View on GitHub
unknown unknown commented on Nov 04, 2026 19:35 UTC
Author

Motivation

Related to https://github.com/ROCm/TheRock/issues/7346
Follow-up to https://github.com/ROCm/TheRock/pull/9325

Now changes to these files will be eligible to skip straight to JAX and/or PyTorch workflows, without needing to also build ROCm from source:

PyTorch-exclusive helpers outside of external-builds/pytorch/:

  • build_tools/github_actions/configure_pytorch_release_matrix.py

  • build_tools/github_actions/configure_pytorch_test_matrix.py

  • build_tools/github_actions/compute_pytorch_cache_type.py

  • build_tools/github_actions/write_pytorch_versions.py

  • build_tools/github_actions/publish_pytorch_to_release_bucket.py

  • build_tools/github_actions/summarize_test_pytorch_workflow.py
  • JAX-exclusive helpers outside of external-builds/jax/:

  • build_tools/github_actions/configure_jax_release_matrix.py

  • build_tools/github_actions/configure_jax_test_matrix.py

  • build_tools/github_actions/resolve_jax_version.py

  • build_tools/github_actions/compute_jax_package_version.py

  • build_tools/github_actions/write_jax_versions.py

  • build_tools/github_actions/publish_jax_to_release_bucket.py
  • Technical Details

    [!NOTE]

    I also considered moving more files to external-builds/, but I like at least keeping:

    configure__matrix.py files centralized

    publish__to_release_bucket.py files centralized

    > We can also rename the remaining files to bring them closer together.

    These files used by PyTorch and/or JAX workflows are also used by other workflows and will still run full CI:

  • build_tools/github_actions/determine_version.py

  • build_tools/github_actions/python_to_cp_version.py

  • build_tools/github_actions/expand_amdgpu_families.py

  • build_tools/github_actions/upload_python_packages.py

  • build_tools/github_actions/capture_job_summary.py

  • build_tools/setup_venv.py

  • build_tools/print_driver_gpu_info.py

  • build_tools/health_status.py
  • Test Plan

    Unit tests.
    Watch future PRs modifying these files and check that jobs are skipped.

    Submission Checklist

  • Look over the contributing guidelines at https://github.com/ROCm/TheRock/blob/main/CONTRIBUTING.md.
  • Diff: 270 lines (+202 / -68) across 3 files Reviewer: ethanwee1 Review duration: 2894m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 270 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.335
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #9746"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.4% (MEDIUM) · Higher = larger blast radius
    39.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.6% · Safe to merge
    15.6%
    Repository