Skip to content

Conversation

@leizhenyuan
Copy link
Contributor

add support for pin memory on xpu device

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 9, 2022

🔗 Helpful Links

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

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

❗ 3 Active SEVs

There are 3 currently active SEVs. If your PR is affected, please view them below:

❌ 1 Failures

As of commit cf05cea:

The following jobs have failed:

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

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 9, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@pytorch-bot pytorch-bot bot added the release notes: dataloader release notes category label Oct 9, 2022
@leizhenyuan
Copy link
Contributor Author

@ezyang I would like to add a xpu support for pin_memory, pls check is there and problem in this pr?

@dagitses dagitses added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Oct 10, 2022
@ezyang
Copy link
Contributor

ezyang commented Oct 10, 2022

Seems alright. Need cla

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 10, 2022
@leizhenyuan
Copy link
Contributor Author

Finished CLA

@ezyang
Copy link
Contributor

ezyang commented Oct 11, 2022

Fix ci and i will land

@ezyang
Copy link
Contributor

ezyang commented Oct 12, 2022

Ci fail is real

@gujinghui
Copy link
Collaborator

@leizhenyuan pls fix the CI fail ASAP.

@leizhenyuan
Copy link
Contributor Author

hi, @ezyang i met this in build test :
Build should have OpenMP enabled, but torch.backends.openmp.is_available() is False
can u give me some advice on how to enable openMP to pass the build test?
thanks a lot

@ezyang
Copy link
Contributor

ezyang commented Oct 17, 2022

it seems unlikely to be your problem

@ezyang
Copy link
Contributor

ezyang commented Oct 17, 2022

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a rebase job. Check the current status here

@pytorchmergebot
Copy link
Collaborator

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

@pytorchmergebot pytorchmergebot force-pushed the zhenyuan_pin_memory_xpu branch from 5af2e4b to a0e6685 Compare October 17, 2022 14:26
@ezyang
Copy link
Contributor

ezyang commented Oct 18, 2022

@pytorchbot merge --rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a rebase job. Check the current status here

@pytorchmergebot
Copy link
Collaborator

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

@pytorchmergebot pytorchmergebot force-pushed the zhenyuan_pin_memory_xpu branch from bcb9683 to c0d0e4f Compare October 18, 2022 03:18
@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: 9 additional jobs have failed, first few of them are: trunk ,trunk / ios-12-5-1-x86-64 / build ,trunk / android-emulator-build-test / build-and-test ,trunk / macos-12-py3-x86-64 / build ,trunk / macos-12-py3-x86-64-lite-interpreter / build

Details for Dev Infra team Raised by workflow job

@leizhenyuan
Copy link
Contributor Author

There are still some build test failed, could u please help me pass these tests? @ezyang
Thanks a lot.

@ezyang
Copy link
Contributor

ezyang commented Oct 18, 2022

@pytorchbot merge --rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a rebase job. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Tried to rebase and push PR #86545, but it was already up to date

@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: 9 additional jobs have failed, first few of them are: trunk ,trunk / ios-12-5-1-x86-64 / build ,trunk / android-emulator-build-test / build-and-test ,trunk / macos-12-py3-x86-64 / build ,trunk / macos-12-py3-x86-64-lite-interpreter / build

Details for Dev Infra team Raised by workflow job

@ezyang
Copy link
Contributor

ezyang commented Oct 18, 2022

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a rebase job. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Tried to rebase and push PR #86545, but it was already up to date

@ezyang
Copy link
Contributor

ezyang commented Oct 18, 2022

@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

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 2 additional jobs have failed, first few of them are: trunk ,trunk / ios-12-5-1-x86-64 / build

Details for Dev Infra team Raised by workflow job

@leizhenyuan
Copy link
Contributor Author

seems build still failed for some filed cannot be found

@ezyang
Copy link
Contributor

ezyang commented Oct 19, 2022

@pytorchbot merge -f "unrelated ci problem"

@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).

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

@github-actions
Copy link
Contributor

Hey @leizhenyuan.
You've committed this PR, but it does not have both a 'release notes: ...' and 'topics: ...' label. Please add one of each to the PR. The 'release notes: ...' label should represent the part of PyTorch that this PR changes (fx, autograd, distributed, etc) and the 'topics: ...' label should represent the kind of PR it is (not user facing, new feature, bug fix, perf improvement, etc). The list of valid labels can be found here for the 'release notes: ...' and here for the 'topics: ...'.
For changes that are 'topic: not user facing' there is no need for a release notes label.

neggles pushed a commit to neggles/pytorch that referenced this pull request Mar 9, 2023
add support for pin memory on xpu device

Pull Request resolved: pytorch#86545
Approved by: https://github.com/ezyang
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 release notes: dataloader release notes 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.

6 participants