Skip to content

Set RUNPATH on CUDA and XPU tests - #144305

Closed
oraluben wants to merge 1 commit into
pytorch:mainfrom
oraluben:fix-test-runpath
Closed

oraluben wants to merge 1 commit into
pytorch:mainfrom
oraluben:fix-test-runpath

Conversation

@oraluben

@oraluben oraluben commented Jan 7, 2025 •

Copy link
Copy Markdown
Contributor

#136627 has almost fixed the issue that test binaries' runpath has not been set correctly, with few cases left.

This PR fixes the rest.

The binaries are found by auditwheel repair a wheel built with BUILD_TEST=1.

@malfet

@pytorch-bot

pytorch-bot Bot commented Jan 7, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

⏳ No Failures, 1 Pending

As of commit 3780c6a with merge base 3cf7874 (image):
💚 Looks good so far! There are no failures yet. 💚

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 Jan 7, 2025
@cpuhrsch cpuhrsch added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jan 7, 2025
@EikanWang EikanWang added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 7, 2025
@pytorch-bot

pytorch-bot Bot commented Jan 7, 2025

Copy link
Copy Markdown

To add the ciflow label ciflow/trunk please first approve the workflows that are awaiting approval (scroll to the bottom of this page).

This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows.

@pytorch-bot pytorch-bot Bot removed the ciflow/trunk Trigger trunk jobs on your pull request label Jan 7, 2025
@EikanWang EikanWang added ciflow/trunk Trigger trunk jobs on your pull request ciflow/xpu Run XPU CI tasks labels Jan 7, 2025
@pytorch-bot

pytorch-bot Bot commented Jan 7, 2025

Copy link
Copy Markdown

To add the ciflow label ciflow/trunk please first approve the workflows that are awaiting approval (scroll to the bottom of this page).

This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows.

@pytorch-bot

pytorch-bot Bot commented Jan 7, 2025

Copy link
Copy Markdown

To add the ciflow label ciflow/xpu please first approve the workflows that are awaiting approval (scroll to the bottom of this page).

This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows.

@pytorch-bot pytorch-bot Bot removed ciflow/trunk Trigger trunk jobs on your pull request ciflow/xpu Run XPU CI tasks labels Jan 7, 2025
@atalman

atalman commented Jan 7, 2025

Copy link
Copy Markdown
Collaborator

hi @oraluben could you please include some testing scripts how do you verify that these use cases where actually broken ? Similar to description of this PR: #136627

@oraluben

oraluben commented Jan 8, 2025

Copy link
Copy Markdown
Contributor Author

hi @oraluben could you please include some testing scripts how do you verify that these use cases where actually broken ? Similar to description of this PR: #136627

Hi @atalman I didn't use a script. We're using auditwheel when building our PyTorch wheels, and it complained about some missing libraries. But I checked the script @kundaMwiza provided in #136627 and confirmed that the script could also detect binaries in this PR.
I guess the torch was not built with CUDA before.

@oraluben

Copy link
Copy Markdown
Contributor Author

ping

@malfet malfet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Sure, if CI is green, it's sounds ok (please note that usually wheels do not include tests in them)

@malfet

malfet commented Jan 26, 2025

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 26, 2025
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

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

@oraluben

Copy link
Copy Markdown
Contributor Author

please note that usually wheels do not include tests in them

Sure, it's just we found it that way, our release wheel do not actually contain tests.
This is not really a wheel issue, but those tests are already broken (by cannot find libs)

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: trunk / macos-py3-arm64 / test (default, 1, 3, macos-m1-stable)

Details for Dev Infra team Raised by workflow job

@malfet

malfet commented Jan 26, 2025

Copy link
Copy Markdown
Collaborator

@pytorchbot merge -r

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

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

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased fix-test-runpath onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout fix-test-runpath && git pull --rebase)

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

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

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 3 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@malfet

malfet commented Jan 26, 2025

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

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

@pytorch-bot
pytorch-bot Bot temporarily deployed to upload-benchmark-results January 26, 2025 06:06 Inactive
@pytorch-bot
pytorch-bot Bot temporarily deployed to upload-benchmark-results January 26, 2025 06:06 Inactive
@pytorch-bot
pytorch-bot Bot temporarily deployed to upload-benchmark-results January 26, 2025 06:06 Inactive
@oraluben
oraluben deleted the fix-test-runpath branch January 26, 2025 09:47
nWEIdia pushed a commit to nWEIdia/pytorch that referenced this pull request Jan 27, 2025
pytorch#136627 has almost fixed the issue that test binaries' runpath has not been set correctly, with few cases left.

This PR fixes the rest.

The binaries are found by `auditwheel repair` a wheel built with `BUILD_TEST=1`.

@malfet

Pull Request resolved: pytorch#144305
Approved by: https://github.com/malfet

This branch was previously deployed

1 inactive deployment
upload-benchmark-results — 3780c6ae Deployed Jan 26, 2025 by pytorch-bot[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

None yet

Development

Successfully merging this pull request may close these issues.

7 participants