Skip to content

Handle pyzes import failures gracefully on machines without level zero driver - #187422

Merged
atalman merged 1 commit into
release/2.13from
cherry-pick-187232-by-pytorch_bot_bot_
Jun 16, 2026
Merged

atalman merged 1 commit into
release/2.13from
cherry-pick-187232-by-pytorch_bot_bot_

Conversation

@pytorchbot

Copy link
Copy Markdown
Collaborator

Stack from ghstack (oldest at bottom):

Motivation

Previously, we didn't handle pyzes import failures gracefully on machines without level zero driver.
Without this PR:
image

With this PR:
image

Additional Context

image

This needs to be cherry-picked to the release branch.

…o driver (#187232)

# Motivation
Previously, we didn't handle pyzes import failures gracefully on machines without level zero driver.
Without this PR:
<img width="510" height="436" alt="image" src="https://github.com/user-attachments/assets/5c6db7ff-ee8d-4ebe-9177-db2ff80916c1" />

With this PR:
<img width="530" height="179" alt="image" src="https://github.com/user-attachments/assets/9239ac61-3722-42d7-8411-68f61abd2e0a" />

# Additional Context
<img width="1004" height="36" alt="image" src="https://github.com/user-attachments/assets/0035d2c6-2e49-4570-97de-3a4b48ae0575" />

This needs to be cherry-picked to the release branch.

Pull Request resolved: #187232
Approved by: https://github.com/EikanWang, https://github.com/atalman
ghstack dependencies: #181233, #187137

(cherry picked from commit fd79a5f)
@pytorch-bot

pytorch-bot Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit 5a82cab with merge base 636bc91 (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 commented Jun 16, 2026

Copy link
Copy Markdown

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@atalman
atalman merged commit 730dfa1 into release/2.13 Jun 16, 2026
129 checks passed
@github-actions
github-actions Bot deleted the cherry-pick-187232-by-pytorch_bot_bot_ branch July 17, 2026 02:25
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.

3 participants