Skip to content

Conversation

@guangyey
Copy link
Collaborator

@guangyey guangyey commented Nov 1, 2024

Stack from ghstack (oldest at bottom):

Motivation

We add a new attribute torch.version.xpu to facilitate the problem diagnosing and version control.

Additional Context

It is aligned with torch.version.cuda and torch.version.hip.

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 1, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 2888994 with merge base dfcf740 (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 Nov 1, 2024
guangyey added a commit that referenced this pull request Nov 1, 2024
ghstack-source-id: 17e163e
Pull Request resolved: #139466
[ghstack-poisoned]
@EikanWang EikanWang added the ciflow/xpu Run XPU CI tasks label Nov 5, 2024
@ezyang
Copy link
Contributor

ezyang commented Nov 5, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 5, 2024
@pytorchmergebot
Copy link
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
Collaborator

Merge failed

Reason: Approvers from one of the following sets are needed:

  • superuser (pytorch/metamates)
  • Core Reviewers (mruberry, lezcano, Skylion007, ngimel, peterbell10, ...)
  • Core Maintainers (soumith, gchanan, ezyang, dzhulgakov, malfet, ...)
Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

guangyey added a commit that referenced this pull request Nov 7, 2024
ghstack-source-id: 4d892f9
Pull Request resolved: #139466
guangyey added a commit that referenced this pull request Nov 7, 2024
ghstack-source-id: 3511352
Pull Request resolved: #139466
self.assertTrue(len(torch.version.xpu) == 8)
compiler_version = int(torch.version.xpu)
self.assertTrue(compiler_version >= 20230000)
if IS_LINUX:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

According to @atalman 's comments, I supplemented this UT to validate the build flow as we expected.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you

guangyey added a commit that referenced this pull request Nov 7, 2024
ghstack-source-id: 0b5eca7
Pull Request resolved: #139466
guangyey added a commit that referenced this pull request Nov 7, 2024
ghstack-source-id: f45dd91
Pull Request resolved: #139466
guangyey added a commit that referenced this pull request Nov 7, 2024
ghstack-source-id: 6002157
Pull Request resolved: #139466
guangyey added a commit that referenced this pull request Nov 7, 2024
ghstack-source-id: e195730
Pull Request resolved: #139466
guangyey added a commit that referenced this pull request Nov 7, 2024
ghstack-source-id: 5134c75
Pull Request resolved: #139466
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
guangyey added a commit that referenced this pull request Nov 7, 2024
ghstack-source-id: e652818
Pull Request resolved: #139466
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
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. Please fix lint before merging

[ghstack-poisoned]
guangyey added a commit that referenced this pull request Nov 8, 2024
ghstack-source-id: 2eae8db
Pull Request resolved: #139466
@guangyey
Copy link
Collaborator Author

guangyey commented Nov 8, 2024

Lgtm. Please fix lint before merging

Thanks @atalman, lint is fixed.

[ghstack-poisoned]
@guangyey
Copy link
Collaborator Author

guangyey commented Nov 8, 2024

The UT failure is unrelated to this PR, refer to #140095

guangyey added a commit that referenced this pull request Nov 9, 2024
ghstack-source-id: e4c8696
Pull Request resolved: #139466
[ghstack-poisoned]
@guangyey
Copy link
Collaborator Author

guangyey commented Nov 9, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
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

Ryo-not-rio pushed a commit to Ryo-not-rio/pytorch that referenced this pull request Dec 2, 2024
pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
@github-actions github-actions bot deleted the gh/guangyey/86/head branch December 10, 2024 02:12
fmo-mt pushed a commit to fmo-mt/pytorch that referenced this pull request Dec 11, 2024
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 ciflow/xpu Run XPU CI tasks Merged open source topic: not user facing topic category

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

8 participants