KEMBAR78
[CD] Enable pypi dependencies both for XPU linux and Windows whls by chuanqi129 · Pull Request #141135 · pytorch/pytorch · GitHub
Skip to content

Conversation

@chuanqi129
Copy link
Collaborator

@chuanqi129 chuanqi129 commented Nov 20, 2024

Enable xpu runtime pypi packages as dependencies of XPU CD wheels both for Linux and Windows.
Fixes #135867
Works for #139722 and #114850

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 20, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/141135

Note: Links to docs will display an error until the docs builds have been completed.

❌ 11 New Failures

As of commit 6621b54 with merge base ce572fe (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Nov 20, 2024
@chuanqi129 chuanqi129 added ciflow/binaries Trigger all binary build and upload jobs on the PR ciflow/xpu Run XPU CI tasks labels Nov 20, 2024
@chuanqi129 chuanqi129 force-pushed the xpu_cd_pip branch 2 times, most recently from 34af335 to 2d2a488 Compare November 21, 2024 08:21
@chuanqi129 chuanqi129 marked this pull request as ready for review November 21, 2024 08:21
@chuanqi129 chuanqi129 requested a review from a team as a code owner November 21, 2024 08:21
@chuanqi129 chuanqi129 requested a review from atalman November 21, 2024 08:21
@chuanqi129 chuanqi129 force-pushed the xpu_cd_pip branch 2 times, most recently from 79e0319 to fd826ed Compare November 21, 2024 14:35
@atalman
Copy link
Contributor

atalman commented Nov 21, 2024

@chuanqi129 this looks good. After the pypi depenencies are uploaded. We would need to rebase and retest this PR

"nvidia-nvtx-cu12==12.6.77; platform_system == 'Linux' and platform_machine == 'x86_64' | "
"nvidia-nvjitlink-cu12==12.6.77; platform_system == 'Linux' and platform_machine == 'x86_64'"
),
"xpu": (
Copy link
Contributor

@atalman atalman Nov 21, 2024

Choose a reason for hiding this comment

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

Hi @chuanqi129 please add these packages here: https://github.com/pytorch/test-infra/edit/main/s3_management/manage.py to PACKAGE_ALLOW_LIST

Copy link
Contributor

Choose a reason for hiding this comment

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

And perhaps here as well: https://github.com/pytorch/test-infra/blob/main/s3_management/update_dependencies.py#L11
So we can update them via script.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks @atalman help to point it out, the PR has been submitted pytorch/test-infra#5965. Please help to review it

@chuanqi129 chuanqi129 force-pushed the xpu_cd_pip branch 5 times, most recently from 1fe010e to ec55550 Compare November 25, 2024 16:54
@bdhirsh bdhirsh added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Nov 26, 2024
@chuanqi129 chuanqi129 force-pushed the xpu_cd_pip branch 2 times, most recently from 6be8a84 to b070428 Compare November 28, 2024 14:24
@chuanqi129 chuanqi129 added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 28, 2024
@chuanqi129
Copy link
Collaborator Author

@pytorchbot rebase -b main

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Successfully rebased xpu_cd_pip onto refs/remotes/origin/main, please pull locally before adding more changes (for example, via git checkout xpu_cd_pip && git pull --rebase)

@chuanqi129 chuanqi129 requested a review from atalman November 29, 2024 03:34
@chuanqi129 chuanqi129 added ciflow/xpu Run XPU CI tasks and removed ciflow/xpu Run XPU CI tasks labels Nov 29, 2024
@chuanqi129
Copy link
Collaborator Author

Hi @atalman, I have retriggered the CI test and all PR change related tests are passed, could you please help to review it again?

Copy link
Contributor

@atalman atalman left a comment

Choose a reason for hiding this comment

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

lgtm

@atalman
Copy link
Contributor

atalman commented Nov 29, 2024

@pytorchmergebot merge -f "lgtm, failures are not related"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
…torch#141135)

Enable xpu runtime pypi packages as dependencies of XPU CD wheels both for Linux and Windows.
Fixes pytorch#135867
Works for pytorch#139722 and pytorch#114850
Pull Request resolved: pytorch#141135
Approved by: https://github.com/atalman
pytorchmergebot pushed a commit that referenced this pull request Dec 30, 2024
Due to XPU CD wheels enabled pypi dependencies by #141135, so the PYTORCH_EXTRA_INSTALL_REQUIREMENTS has value for XPU CD wheel build.
Works for #139722 and #114850
Fixes #143838

Pull Request resolved: #143839
Approved by: https://github.com/huydhn
pytorchbot pushed a commit that referenced this pull request Dec 30, 2024
Due to XPU CD wheels enabled pypi dependencies by #141135, so the PYTORCH_EXTRA_INSTALL_REQUIREMENTS has value for XPU CD wheel build.
Works for #139722 and #114850
Fixes #143838

Pull Request resolved: #143839
Approved by: https://github.com/huydhn

(cherry picked from commit 438698b)
huydhn pushed a commit that referenced this pull request Jan 2, 2025
[CD] Remove redundant triton dependency for xpu wheels (#143839)

Due to XPU CD wheels enabled pypi dependencies by #141135, so the PYTORCH_EXTRA_INSTALL_REQUIREMENTS has value for XPU CD wheel build.
Works for #139722 and #114850
Fixes #143838

Pull Request resolved: #143839
Approved by: https://github.com/huydhn

(cherry picked from commit 438698b)

Co-authored-by: chuanqiw <chuanqi.wang@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/binaries Trigger all binary build and upload jobs on the PR ciflow/trunk Trigger trunk jobs on your pull request Merged open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

import torch fails on stock ubuntu if one uses XPU nightly binaries

5 participants