Skip to content

Conversation

grdryn
Copy link

@grdryn grdryn commented Oct 7, 2025

JIRA: https://issues.redhat.com/browse/RHOAIENG-34086

Triton here is a dependency of torch, and is just being explicitly re-declared so that the index to pull it from can be customized. Although torch was being pulled from the PyTorch index, all of its dependencies are still defaulting to coming from PyPI (or whatever default index is used for a build). In the triton case, PyPI only has x86_64 wheels for this version, but the PyTorch index has both x86_64 and aarch64 wheels, matching the arches that are available for torch.

Since it's a dependency of torch, I've also added same platform exclusion marker to omit for ppc64le.

JIRA: https://issues.redhat.com/browse/RHOAIENG-34086

Triton here is a dependency of torch, and is just being explicitly
re-declared so that the index to pull it from can be
customized. Although torch was being pulled from the PyTorch index,
all of its dependencies are still defaulting to coming from PyPI (or
whatever default index is used for a build). In the triton case, PyPI
only has x86_64 wheels for this version, but the PyTorch index has
both x86_64 and aarch64 wheels, matching the arches that are available
for torch.

Since it's a dependency of torch, I've also added same platform
exclusion marker to omit for ppc64le.
@openshift-ci openshift-ci bot requested review from atheo89 and daniellutz October 7, 2025 10:01
grdryn added a commit to grdryn/konflux-central that referenced this pull request Oct 7, 2025
JIRA: https://issues.redhat.com/browse/RHOAIENG-34086

This was removed recently because it was thought that it wasn't
currently possible to build it for Arm. It is, it just needed a
dependency fix.

That fix is proposed here:
red-hat-data-services/notebooks#1614
@atheo89
Copy link
Member

atheo89 commented Oct 7, 2025

/build-konflux odh-workbench-jupyter-trustyai-cpu-py312

@grdryn
Copy link
Author

grdryn commented Oct 7, 2025

/build-konflux odh-workbench-jupyter-trustyai-cpu-py312

@atheo89 I think that may not have an Arm build until red-hat-data-services/konflux-central#761 (I'm actually surprised that there's even a PR job for the release branch, I thought those were only for main). It's a good signal that the change isn't breaking anything else though.

Here's an example of a build of the PR on main (#1613) where it did have do an Arm build, and that task succeeded: https://konflux-ui.apps.stone-prod-p02.hjvn.p1.openshiftapps.com/ns/rhoai-tenant/applications/automation/pipelineruns/odh-workbench-jupyter-trustyai-cpu-py312-on-pull-request-g4rbg/

@atheo89
Copy link
Member

atheo89 commented Oct 7, 2025

Thank you for incorporating these changes in! Build looks fine
/lgtm

Copy link

openshift-ci bot commented Oct 7, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: atheo89

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

The pull request process is described here

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

@openshift-ci openshift-ci bot added the approved label Oct 7, 2025
@atheo89 atheo89 merged commit 044602e into red-hat-data-services:rhoai-2.25 Oct 7, 2025
40 of 47 checks passed
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