← Back to Pull requests

Upgrade ci to therock 10.0 #736

Closed
unknown closed this pull request without merging on Oct 16, 2026 18:44 UTC
View on GitHub
unknown unknown commented on Sep 10, 2026 19:23 UTC
Author

Description

Upgrade the CI to the TheRock ROCm 10.0 image and fix the fallout it exposed.

Moving to ROCm 10.0 pulls in JAX 0.11.1 / a newer XLA, which changed how
distributed collectives are emitted and broke 189 JAX multi-GPU CI tests.
XLA now emits synchronous collectives — a single all-reduce op tagged
collective_backend_config "is_sync":true — instead of the async
all-reduce-start / -done pair. The distributed test harness only counted the
async -start form, so count_collectives read all-reduce = 0 and every
collective-count assertion failed:

Expected collective count is {'all-reduce': 4, ...}, but got {'all-reduce': 0, ...}.

The JAX-side fixes are cherry-picked as-is from upstream NVIDIA/TransformerEngine.
Only one is production code (pure Python, no library rebuild); the rest are test-harness fixes.

Type of change

  • Documentation change

  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Breaking change

  • Infra/Build change

  • Code refactoring
  • Changes

  • Upgrade CI to TheRock 10.0 — bump the CI dependency image / ci_config.json,

  • simplify Dockerfile.ci.deps, drop the obsolete deps-publish workflow steps.
  • Remove ROCm HSA-shutdown WAR for triton_kernels tests — the conftest.py

  • workaround is no longer needed on the 10.0 image.
  • Cherry-pick 4 upstream JAX collective/spec fixes for the failures the new image exposed:

  • - #3272 — Bugfix spec check for DP+FSDP configurations — flatten tuple mesh axes (e.g. ("dp","fsdp")) in the GEMM operand-spec check; adds the n8_dp2_fsdp2_tp2 config.
    (Only production change: jax/cpp_extensions/gemm.py.)
    - #3398 — Support synchronous collectives in HLO collective bytes assert tests — count unsuffixed "is_sync":true collectives, not just
    -start.
    - #3412 — Fix counting of synced and wrapped (async, fusion) collectives in HLO — resolve collectives hidden in async/fusion wrappers; strip the ROOT prefix.
    - #3425 — Fix classification of sync-tagged collective start instructions — classify the async *-start form first so sync-tagged starts aren't double-counted.

    Verification for XLA related tests

    ROCm 10.0 image, gfx950, 8 GPUs,

    | Suite | Config | Result |
    |---|---|---|
    | test_distributed_fused_attn.py (SelfAttn + CrossAttn) | auto / L1 | 20 passed, 76 skipped |
    | test_distributed_fused_attn.py (SelfAttn + CrossAttn) | aotriton / L2 | 8 passed, 88 skipped |
    | test_distributed_dense.py (incl. n8_dp2_fsdp2_tp2 FSDP) | auto / L1 | 16 passed |
    | test_distributed_softmax.py | — | 256 passed, 128 skipped |
    | test_distributed_layernorm.py | — | 144 passed |

    Checklist:

  • I have read and followed the contributing guidelines

  • The functionality is complete

  • I have commented my code, particularly in hard-to-understand areas

  • I have made corresponding changes to the documentation

  • My changes generate no new warnings

  • I have added tests that prove my fix is effective or that my feature works

  • New and existing unit tests pass locally with my changes
  • Diff: 439 lines (+329 / -110) across 5 files Reviewer: aris134 Review duration: 51800m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 439 lines diff across 5 files
    0.45
    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.364
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #736"
    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: 45.3% (MEDIUM) · Higher = larger blast radius
    45.3%
    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: 17.9% · Safe to merge
    17.9%