Skip to content

OLS-3752 RHOAI wheel build + retire LSC/GPU flavors - #787

Open
sriroopar wants to merge 1 commit into
openshift:mainfrom
sriroopar:rhoai_wheel_pytorch_build
Open

OLS-3752 RHOAI wheel build + retire LSC/GPU flavors #787
sriroopar wants to merge 1 commit into
openshift:mainfrom
sriroopar:rhoai_wheel_pytorch_build

Conversation

@sriroopar

@sriroopar sriroopar commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix EC violations: Replace allow_binary: "true" with split requirements (RHOAI wheel + PyPI source) and explicit binary.packages lists. Remove mode: "permissive" from prefetch-dependencies tasks.
  • Upgrade RHOAI 3.3 → 3.5: torch 2.11.0, transformers 5.14.1, numpy 2.5.1, tokenizers 0.23.1, scipy 1.18.0, huggingface-hub 1.23.0.
  • Retire LSC flavor: OCP docs now served by RHOKP sidecar — deleted lightspeed-ocp-rag Tekton pipelines and lsc/requirements.* lockfiles.
  • Retire GPU flavor: Same reason — deleted own-app-lightspeed-rag-content Tekton pipelines, GPU base image stage, CUDA libraries,
    NVIDIA_VISIBLE_DEVICES=void, and all GPU-specific lockfiles.
  • Simplify build: Containerfile is now CPU-only (no FLAVOR arg), scripts/konflux_requirements.sh takes no arguments, Makefile drops FLAVOR logic.
  • Lift huggingface-hub cap to >=1.5.0 for transformers 5.x compatibility.

Enterprise Contract Violations Fixed

Rule Count Fix
prefetch_dependencies.mode_not_permissive 1 Removed mode: "permissive"
sbom_spdx.disallowed_package_attributes 102 Split requirements + explicit binary.packages
sbom_spdx.allowed_package_sources 1 model.safetensors — requires EC policy exception (out of scope)

Files deleted (net −2700 lines)

  • .tekton/lightspeed-ocp-rag-{pull-request,push}.yaml (LSC pipelines)
  • .tekton/own-app-lightspeed-rag-content-{pull-request,push}.yaml (GPU pipelines)
  • lsc/requirements.{hashes.source,hashes.wheel,overrides}.txt
  • requirements.{hashes.source,hashes.wheel,overrides}.gpu.txt

Test plan

  • scripts/konflux_requirements.sh runs cleanly (regenerates cpu lockfiles)
  • grep -r "lsc\|gpu\|rhoai/3\.[34]\|permissive\|allow_binary" .tekton/ scripts/ Makefile Containerfile — no stale references
  • Konflux PR pipeline triggers and hermetic build succeeds
  • EC checks pass (except model.safetensors policy exception)

@openshift-ci
openshift-ci Bot requested review from asamal4 and tisnik August 10, 2026 17:40
@openshift-ci

openshift-ci Bot commented Aug 10, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tisnik for approval. For more information see the Code Review Process.

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

@sriroopar
sriroopar force-pushed the rhoai_wheel_pytorch_build branch from fb630f3 to 099d1c6 Compare August 11, 2026 01:39
@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 11, 2026
@sriroopar
sriroopar force-pushed the rhoai_wheel_pytorch_build branch from 099d1c6 to e44b02a Compare August 11, 2026 03:06
@sriroopar sriroopar changed the title OLS-3752 RHOAI wheel build to fix EC exceptions OLS-3752 RHOAI wheel build + retire LSC/GPU flavors Aug 11, 2026
@sriroopar
sriroopar force-pushed the rhoai_wheel_pytorch_build branch from e44b02a to 3bfc1df Compare August 11, 2026 03:35
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 11, 2026
- Replace allow_binary with split requirements (RHOAI wheel + PyPI)
  and explicit binary.packages lists for EC compliance
- Upgrade RHOAI 3.3 → 3.5 (torch 2.11.0, transformers 5.14.1)
- Fix base image registry to quay.io/aipcc (not registry.redhat.io)
- Delete lsc/ directory and all LSC pipeline infrastructure
- Delete lightspeed-ocp-rag and own-app Tekton pipelines
- Remove GPU flavor; CPU-only Containerfile
- Add konflux_requirements.sh for uv-based lockfile generation
- Update ARCHITECTURE.md, specs, and AGENTS.md to reflect removals

NOTE: The lightspeed-ocp-rag component must also be removed from
the OLS application in Konflux to avoid EC violations in snapshots.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sriroopar
sriroopar force-pushed the rhoai_wheel_pytorch_build branch from b344f0a to ded8797 Compare August 11, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant