← Back to Pull requests

build: Add CUDA runtime and UCX support to Prestissimo runtime image #27972

Closed
unknown closed this pull request without merging on Nov 03, 2026 16:24 UTC
View on GitHub
unknown unknown commented on Jun 11, 2026 13:47 UTC
Author

Description


Updates the Prestissimo CentOS dependency and runtime Docker images so the produced runtime image can execute a CUDA/cuDF-enabled presto_server:
  • Install the CUDA runtime packages (matching the CUDA version detected at build time) and RDMA libraries (librdmacm, libibverbs) in the runtime stage.

  • Bundle the UCX libraries built in the dependency image into the runtime image and register the UCX and CUDA library paths with ldconfig.

  • Broaden the default CUDA_ARCHITECTURES from a single 70 to a multi-architecture list and expose it as an environment variable.

  • Allow libcuda to be missing during the ldd validation step, since the CUDA driver library is supplied by the host at run time, not bundled.

  • Bump default CUDA to 13.0 and UCX to 1.20.1, and make the UCX version configurable via a build arg.

  • Build the UCX Exchange when cuDF-enabled Presto is built.
  • Motivation and Context


    The existing runtime image targets CPU-only Prestissimo and does not ship the CUDA runtime, UCX, or RDMA libraries needed to run a GPU/cuDF-enabled worker. The ldd "not found" check also failed because libcuda is intentionally absent from the image and delegated to the Nvidia docker runtime.

    Impact


    Docker build and packaging only; no changes to Presto code, SQL, or public APIs. The runtime image grows due to the bundled CUDA runtime, UCX, and RDMA libraries. Default CUDA/UCX versions change for native-execution Docker builds and remain overridable via build args. UCX-Exchange is built when Presto-cuDF is built.

    == RELEASE NOTES ==
    Prestissimo (Native Execution) Changes
    * Add CUDA runtime, UCX, and RDMA libraries to the Prestissimo runtime Docker image to support GPU/cuDF-enabled native workers. :pr:`27972`
    

    Summary by Sourcery

    Update Prestissimo CentOS dependency and runtime Docker images to support CUDA/UCX-enabled GPU runtimes and modernize default CUDA/UCX versions.

    New Features:

  • Enable CUDA runtime installation and RDMA library support in the Prestissimo runtime image for GPU/cuDF workers.

  • Expose CUDA_ARCHITECTURES as a configurable environment variable with a multi-architecture default set.
  • Enhancements:

  • Bundle UCX libraries from the dependency image into the runtime image and register UCX and CUDA library paths with ldconfig.

  • Relax runtime ldd validation to allow missing libcuda, which is expected to be supplied by the host driver.

  • Bump default CUDA to 13.0 and UCX to 1.20.1 and make the UCX version configurable through a build argument.
  • Diff: 317 lines (+237 / -80) across 3 files Reviewer: lga-zurich Review duration: 208956m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 317 lines diff across 3 files
    0.40
    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.345
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #27972"
    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: 40.4% (MEDIUM) · Higher = larger blast radius
    40.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: 16.0% · Safe to merge
    16.0%