Veergopu/upgrade ci rock 714 #690
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 · 437 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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 #690"
general
weight: 0.35
VeeraRajasekhar
Description
Upgrade the TransformerEngine (ROCm fork) CI stack to ROCk 7.14 using the
new multi-arch TheRock wheelhouse. A single CI deps image now serves both
GPUs (
gfx950;gfx942), with ROCm provided by the piprocm-sdkwheels (no
/opt/rocminstall). The version bump moves the stack totorch 2.12 / triton 3.7.1 / jax 0.11 / FA 2.8.3, ROCm 7.14, which surfaced several
failures; this PR contains the upgrade plus the triage fixes and interim
workarounds needed to get the suite green.
Most of the newly-exposed failures are upstream torch 2.12 + ROCm regressions
(not TE bugs), each root-caused and reproduced with a TE-free reproducer; where
no upstream fix has landed yet, a narrowly-scoped, ROCm-gated interim workaround
is applied so CI stays green.
Fixes # (issue)
Type of change
Changes
CI / build infrastructure
- Rebuild the CI deps image from the TheRock multi-arch wheelhouse (ROCm 7.14,
gfx950;gfx942); ROCm now comes fromrocm-sdkwheels instead of/opt/rocm.- Resolve ROCm via
rocm-sdk path --rootin the core C++ suite (ci/_utils.sh,transformer_engine/common/CMakeLists.txt,cuda_runtime.cpp) so it buildsand runs on an image with no
/opt/rocm.- Update the default CI docker image (
ci/ci_config.json).-
benchmark_attention_rocm.py: use the rocm-sdk-corerocprofv3to avoid aduplicate
librocprofiler-sdk.so.1(core vs devel) SIGABRT.-
test_sanity_import.py: adjust for the wheel-based ROCm layout(
test_lazy_initnow passes).Test fixes and interim workarounds
-
test_torch_compile::test_autocast_nested_custom— cherry-pick upstreamPR #3130 (
[torch.compile] ...). Fixes a latent TE 2.17 bug (recipe reusein
set_meta_tensor+ a missingget_quantizer_roles()override) that onlyruns under torch ≥ 2.11. https://github.com/NVIDIA/TransformerEngine/commit/43093f16d6dc
-
test_gpt_cuda_graph— interim WAR:preferred_blas_library("cublas"),IS_HIP_EXTENSION-gated. torch 2.12 creates a per-(device,stream) hipBLASLthandle during graph capture → HIP 900. Upstream (PyTorch) fix pending.
-
triton_kernels/test_norms.py— interim WAR: new ROCm-gatedconftest.pythat
os._exit()s pytest's real status onpytest_sessionfinish. torch 2.12'sHIP teardown ordering trips a latent ROCr
hsa_shut_downuse-after-free atprocess exit (segfault after all tests pass). Bypasses the buggy atexit path;
JUnit report and real exit status preserved.
Checklist: