Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Condition Checking for Intel GPUs Enabling #3220

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

Kanya-Mo
Copy link
Contributor

@Kanya-Mo Kanya-Mo commented Jul 1, 2024

Description

#3132 and #3141 introduced support for Intel GPU devices, but the condition checking here might cause problems for versions without torch.xpu. This PR fixed it.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • Did you have fun?
  • Have you added tests that prove your fix is effective or that this feature works?
  • Has code been commented, particularly in hard-to-understand areas?
  • Have you made corresponding changes to the documentation?

@agunapal agunapal added this pull request to the merge queue Jul 2, 2024
Merged via the queue into pytorch:master with commit f80e906 Jul 2, 2024
12 checks passed
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.

3 participants