Skip to content

[rhoai-2.25] Add pytorch-llmcompressor PR pipeline and FIPS check blocking - #2233

Closed
yash2189 wants to merge 0 commit into
rhoai-2.25from
add-pr-pipelines-2.25
Closed

[rhoai-2.25] Add pytorch-llmcompressor PR pipeline and FIPS check blocking#2233
yash2189 wants to merge 0 commit into
rhoai-2.25from
add-pr-pipelines-2.25

Conversation

@yash2189

@yash2189 yash2189 commented May 13, 2026

Copy link
Copy Markdown

Description

Add pull-request pipeline for pytorch-llmcompressor runtime and add FIPS check blocking parameter to all notebook pull-request pipelines for rhoai-2.25.
Per konflux-central PR #2106, FIPS checks have been disabled for affected notebook
components. This PR updates all pull-request pipelines to reflect that change.

How Has This Been Tested?

Self checklist (all need to be checked):

  • Ensure that you have run make test (gmake on macOS) before asking for review
  • Changes to everything except Dockerfile.konflux files should be done in odh/notebooks and automatically synced to rhds/notebooks. For Konflux-specific changes, modify Dockerfile.konflux files directly in rhds/notebooks as these require special attention in the downstream repository and flow to the upcoming RHOAI release.

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

Summary by CodeRabbit

  • Chores
    • Added a new fips-check-blocking configuration parameter (set to "false" by default) across multiple build pipeline definitions, enabling flexible control over FIPS-related build checks.
    • Updated build trigger annotations in select pipeline configurations to refine pull request command matching patterns.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 13, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This PR adds a new fips-check-blocking parameter set to "false" across 16 Tekton PipelineRun manifests for both runtime and workbench builds. It also introduces a new complete PipelineRun definition for PyTorch LLMCompressor CUDA builds, and narrows trigger annotations in two TensorFlow ROCm configurations to use only the unified ^/build-konflux command.

Changes

FIPS-Blocking Parameter and PyTorch LLMCompressor Runtime

Layer / File(s) Summary
New PyTorch LLMCompressor CUDA PipelineRun definition
.tekton/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-pull-request.yaml
Introduces a complete new PipelineRun manifest for PyTorch LLMCompressor CUDA builds, configuring metadata, build parameters (image naming, Dockerfile, platform list, FIPS flag), pipeline reference to the Konflux multi-arch build, compute resources, service account, and git-auth workspace.
Add fips-check-blocking to runtime PipelineRun manifests
.tekton/odh-pipeline-runtime-datascience-cpu-py312-pull-request.yaml, .tekton/odh-pipeline-runtime-minimal-cpu-py312-pull-request.yaml, .tekton/odh-pipeline-runtime-pytorch-cuda-py312-pull-request.yaml, .tekton/odh-pipeline-runtime-pytorch-rocm-py312-pull-request.yaml, .tekton/odh-pipeline-runtime-tensorflow-cuda-py312-pull-request.yaml
Adds the fips-check-blocking: "false" parameter to five runtime pipeline manifests.
Update TensorFlow ROCm runtime annotations and add fips-check-blocking
.tekton/odh-pipeline-runtime-tensorflow-rocm-py312-pull-request.yaml
Narrows the pipelinesascode.tekton.dev/on-comment trigger pattern to ^/build-konflux and adds the fips-check-blocking: "false" parameter.
Add fips-check-blocking to workbench PipelineRun manifests
.tekton/odh-workbench-codeserver-datascience-cpu-py312-pull-request.yaml, .tekton/odh-workbench-jupyter-datascience-cpu-py312-pull-request.yaml, .tekton/odh-workbench-jupyter-minimal-cpu-py312-pull-request.yaml, .tekton/odh-workbench-jupyter-minimal-cuda-py312-pull-request.yaml, .tekton/odh-workbench-jupyter-minimal-rocm-py312-pull-request.yaml, .tekton/odh-workbench-jupyter-pytorch-cuda-py312-pull-request.yaml, .tekton/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-pull-request.yaml, .tekton/odh-workbench-jupyter-pytorch-rocm-py312-pull-request.yaml, .tekton/odh-workbench-jupyter-tensorflow-cuda-py312-pull-request.yaml, .tekton/odh-workbench-jupyter-trustyai-cpu-py312-pull-request.yaml
Adds the fips-check-blocking: "false" parameter to eleven workbench manifests across multiple hardware/framework configurations.
Update TensorFlow ROCm workbench annotations and add fips-check-blocking
.tekton/odh-workbench-jupyter-tensorflow-rocm-py312-pull-request.yaml
Narrows the pipelinesascode.tekton.dev/on-comment trigger pattern to ^/build-konflux and adds the fips-check-blocking: "false" parameter.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • red-hat-data-services/notebooks#1986: Both PRs modify the Tekton manifest .tekton/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-pull-request.yaml, with this PR adding the new fips-check-blocking parameter to that configuration.

Suggested labels

review-requested

Suggested reviewers

  • daniellutz
  • dibryant
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete. While it provides context about adding FIPS check blocking parameters and references a konflux-central PR, it lacks specific testing details and has all checklist items unchecked. Complete the testing section with specific details about how changes were tested, check the self-checklist items (especially confirming make test was run), and verify merge criteria are met before requesting review.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the two main changes: adding the pytorch-llmcompressor PR pipeline and enabling FIPS check blocking.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-pr-pipelines-2.25

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@yash2189
yash2189 force-pushed the add-pr-pipelines-2.25 branch from 4891374 to f28965d Compare May 13, 2026 19:53

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
.tekton/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-pull-request.yaml (1)

43-43: Consider documenting why hermetic builds are disabled.

Setting hermetic: false disables hermetic builds, which can impact build reproducibility and supply chain security. If this is intentional due to specific runtime requirements (e.g., network access during build for PyTorch/LLMCompressor dependencies), consider adding a comment to document the rationale.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
@.tekton/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-pull-request.yaml
at line 43, Add a concise comment explaining why hermetic: false is used (e.g.,
required network access to fetch PyTorch/LLMCompressor binaries or other
runtime-only dependencies) so readers understand the intentional tradeoff;
update the YAML near the hermetic: false setting to document the specific
rationale, any security/replicability implications, and any mitigation steps
(pinning versions, verifying artifacts, or CI-only allowances) and reference the
related runtime requirement that necessitates non-hermetic builds.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In
@.tekton/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-pull-request.yaml:
- Line 43: Add a concise comment explaining why hermetic: false is used (e.g.,
required network access to fetch PyTorch/LLMCompressor binaries or other
runtime-only dependencies) so readers understand the intentional tradeoff;
update the YAML near the hermetic: false setting to document the specific
rationale, any security/replicability implications, and any mitigation steps
(pinning versions, verifying artifacts, or CI-only allowances) and reference the
related runtime requirement that necessitates non-hermetic builds.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 1a60772d-1635-455a-b5b8-2eab9a90f07f

📥 Commits

Reviewing files that changed from the base of the PR and between dfd8b15 and 4891374.

📒 Files selected for processing (18)
  • .tekton/odh-pipeline-runtime-datascience-cpu-py312-pull-request.yaml
  • .tekton/odh-pipeline-runtime-minimal-cpu-py312-pull-request.yaml
  • .tekton/odh-pipeline-runtime-pytorch-cuda-py312-pull-request.yaml
  • .tekton/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-pull-request.yaml
  • .tekton/odh-pipeline-runtime-pytorch-rocm-py312-pull-request.yaml
  • .tekton/odh-pipeline-runtime-tensorflow-cuda-py312-pull-request.yaml
  • .tekton/odh-pipeline-runtime-tensorflow-rocm-py312-pull-request.yaml
  • .tekton/odh-workbench-codeserver-datascience-cpu-py312-pull-request.yaml
  • .tekton/odh-workbench-jupyter-datascience-cpu-py312-pull-request.yaml
  • .tekton/odh-workbench-jupyter-minimal-cpu-py312-pull-request.yaml
  • .tekton/odh-workbench-jupyter-minimal-cuda-py312-pull-request.yaml
  • .tekton/odh-workbench-jupyter-minimal-rocm-py312-pull-request.yaml
  • .tekton/odh-workbench-jupyter-pytorch-cuda-py312-pull-request.yaml
  • .tekton/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-pull-request.yaml
  • .tekton/odh-workbench-jupyter-pytorch-rocm-py312-pull-request.yaml
  • .tekton/odh-workbench-jupyter-tensorflow-cuda-py312-pull-request.yaml
  • .tekton/odh-workbench-jupyter-tensorflow-rocm-py312-pull-request.yaml
  • .tekton/odh-workbench-jupyter-trustyai-cpu-py312-pull-request.yaml

@yash2189 yash2189 changed the title Added pr request pipeline , fips-check missing Add pytorch-llmcompressor PR pipeline and FIPS check blocking May 13, 2026
@yash2189
yash2189 requested review from crackcodecamp and san7ket May 14, 2026 04:48
@yash2189
yash2189 marked this pull request as draft May 14, 2026 05:51
@jiridanek
jiridanek force-pushed the add-pr-pipelines-2.25 branch from f28965d to 1c4d0d5 Compare May 29, 2026 10:55
@jiridanek

Copy link
Copy Markdown
Member

/build-konflux

@openshift-ci

openshift-ci Bot commented Jul 11, 2026

Copy link
Copy Markdown

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek jiridanek changed the title Add pytorch-llmcompressor PR pipeline and FIPS check blocking [rhoai-2.25] Add pytorch-llmcompressor PR pipeline and FIPS check blocking Jul 27, 2026
@jiridanek

jiridanek commented Aug 3, 2026

Copy link
Copy Markdown
Member

PR Review: #2233

Verdict: Do not merge — close as superseded.

The PR’s intent is sound, but the work is already on rhoai-2.25 via other merges. The branch is stale (191 commits behind, merge conflicts), draft, and would regress one file if merged without careful rebase.


What the PR tries to do

  1. Add fips-check-blocking: "false" to all 18 notebook pull-request Tekton pipelines (aligned with konflux-central #2106).
  2. Add the missing odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-pull-request.yaml runtime PR pipeline.

Both are reasonable and match existing patterns (push pipelines already use fips-check-blocking: "false").


Critical: work already landed on rhoai-2.25

Change Already on rhoai-2.25 Via
fips-check-blocking on all PR pipelines Yes #2355 (2026-06-12)
llmcompressor runtime PR pipeline Yes RHAIENG-6036 commit by jiridanek (2026-07-03)
Component-specific on-comment triggers Yes Commit by Vath. Sok (2026-07-15)

Raw comparison of the llmcompressor runtime file shows base is better than this PR branch:

# PR branch adds (wrong):
+ # retrigger Konflux builds to fix RHOAIENG-31914   # stale, copied from pytorch-cuda

# PR branch has narrower trigger (wrong):
< on-comment: "^/(build-konflux|build-runtime-pytorch-llmcompressor)"   # rhoai-2.25
> on-comment: "^/build-konflux"                                      # PR branch

fips-check-blocking is identical on both branches for files like odh-pipeline-runtime-datascience-cpu-py312-pull-request.yaml.


PR hygiene issues (if it were still needed)

Issue Status
Draft / do-not-merge/work-in-progress Open
needs-rebase + merge conflict (tide error) Open
Checklist unchecked All items unchecked
Commit message Added pr request pipeline , fips-check missing — not conventional
Testing No Konflux /build-konflux or /build-runtime-pytorch-llmcompressor evidence documented
CodeRabbit nit on hermetic: false Low priority — consistent with other CUDA runtime PR pipelines

Code quality notes (for reference)

fips-check-blocking additions — Correct pattern, placed consistently after enable-slack-failure-notification, value "false" matches push pipelines and konflux-central.

New llmcompressor runtime pipeline — Structure mirrors odh-pipeline-runtime-pytorch-cuda-py312-pull-request.yaml (dockerfile paths, taskRunSpecs, timeouts, service account). Issues in the PR version:

  1. Missing component trigger build-runtime-pytorch-llmcompressor (workbench uses build-pytorch-llmcompressor; runtime should follow build-runtime-* convention).
  2. Stale RHOAIENG-31914 retrigger comment — inappropriate on a new file.
  3. rhoai-version: "2.25.3" — consistent with other PR pipelines (push uses 2.25.9); fine for PR builds.

hermetic: false — Matches all CUDA runtime PR pipelines; no change needed unless repo policy shifts.


Recommendation

  1. Close PR [rhoai-2.25] Add pytorch-llmcompressor PR pipeline and FIPS check blocking #2233 with a note that #2355 and RHAIENG-6036 already delivered this on rhoai-2.25.
  2. Delete branch add-pr-pipelines-2.25 after close to avoid confusion.
  3. No further review or merge work required unless you want to verify Konflux PR builds on rhoai-2.25 directly (/build-runtime-pytorch-llmcompressor on a test PR).

@jiridanek jiridanek closed this Aug 3, 2026
@jiridanek
jiridanek force-pushed the add-pr-pipelines-2.25 branch from 1c4d0d5 to 763378f Compare August 3, 2026 08:47
@openshift-ci

openshift-ci Bot commented Aug 3, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jiridanek
jiridanek deleted the add-pr-pipelines-2.25 branch August 3, 2026 08:47
@jiridanek

Copy link
Copy Markdown
Member

Rebase and push are done.

What happened

  1. Checked out add-pr-pipelines-2.25 from rhds.
  2. Rebased onto rhds/rhoai-2.25.
  3. Skipped the single commit (1c4d0d5) — its changes were already on rhoai-2.25 via #2355 and RHAIENG-6036. Conflicts were only in:
    • odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-pull-request.yaml (upstream has the better on-comment trigger)
    • odh-workbench-codeserver-datascience-cpu-py312-pull-request.yaml (upstream has codeserver prefetch config)
  4. Force-pushed with lease: 1c4d0d57763378ff2.

Result

The branch now matches rhoai-2.25 exactly — no diff. GitHub shows PR #2233 as closed (head SHA equals base SHA).

If you still need this work tracked, it’s already on rhoai-2.25; no merge is required. If you want the PR reopened for documentation, you’d need a new commit with actual changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants