← Back to Pull requests

RHOAIENG-80818: remove legacy v1 training images (cuda121, cuda124, r… #755

Closed
unknown closed this pull request without merging on Aug 10, 2026 11:07 UTC
View on GitHub
unknown unknown commented on Aug 10, 2026 09:19 UTC
Author

Summary

  • Remove 4 legacy v1 runtime training images that can no longer receive torch security patches:

  • - py311-cuda121-torch241 (CUDA 12.1, PyTorch 2.4.1)
    - py311-cuda124-torch251 (CUDA 12.4, PyTorch 2.5.1)
    - py311-rocm62-torch241 (ROCm 6.2, PyTorch 2.4.1)
    - py311-rocm62-torch251 (ROCm 6.2, PyTorch 2.5.1)
  • Migrate all tests and examples to use the cuda128-torch28 and rocm64-torch28 images
  • Motivation

    PyTorch dropped cu121/cu124 wheels after torch 2.6.0 — no 2.7, 2.8, or 2.9 builds exist for these CUDA versions. This means:

  • CVE-2025-32434 (Critical, 9.8 RCE) requires torch ≥ 2.6.0

  • 6 HIGH (7.5) CVEs require torch ≥ 2.7.0, which only ships cu126/cu128

  • These images are permanently unpatchable dead ends
  • The cuda128-torch28 and rocm64-torch28 images already exist and provide equivalent functionality with a fully patchable torch version.

    Changes

    | Area | What changed |
    |------|-------------|
    | images/runtime/training/ | Removed 4 image directories (Dockerfiles, Pipfiles, locks) |
    | .tekton/ | Removed 20 pipeline YAMLs (build/push/PR for all 4 images) |
    | tests/ | Removed 241/251 test functions, updated CPU tests to use torch28 image |
    | examples/ | Updated base_image references in notebooks and READMEs |
    | ARCHITECTURE.md | Updated directory listing |

    Migration path for users

    | Old image | Replacement |
    |-----------|-------------|
    | quay.io/modh/training:py311-cuda121-torch241 | quay.io/modh/training:py312-cuda128-torch28 |
    | quay.io/modh/training:py311-cuda124-torch251 | quay.io/modh/training:py312-cuda128-torch28 |
    | quay.io/modh/training:py311-rocm62-torch241 | quay.io/modh/training:py312-rocm64-torch28 |
    | quay.io/modh/training:py311-rocm62-torch251 | quay.io/modh/training:py312-rocm64-torch28 |

    Diff: 229 lines (+171 / -58) across 2 files Reviewer: kapil27 Review duration: 108m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 229 lines diff across 2 files
    0.37
    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.325
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #755"
    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: 37.0% (MEDIUM) · Higher = larger blast radius
    37.0%
    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: 14.6% · Safe to merge
    14.6%