[OpenReg] Add tests of device and memory for OpenReg#161773
[OpenReg] Add tests of device and memory for OpenReg#161773fffrog wants to merge 6 commits intogh/fffrog/146/basefrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/161773
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 59eddd1 with merge base d8a0bdb ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
albanD
left a comment
There was a problem hiding this comment.
Thx.
Do these run in CI? Or only manually?
Also we can focus on python tests for overall behavior as I think that everything should be accessible from python one way or the other.
|
Thank you a lot @albanD
These tests will be run automatically in CI. Because the previous commit was quite large, I've split the OpenReg tests into two parts for easier review. These tests are designed for the OpenReg Accelerator (which is similar to a GPU) and are therefore implemented using gtest in C++.
Yes, the basic functionality of the OpenReg Accelerator is already available, and additional features will be added based on PyTorch integration requirements. Next, we will focus on integrating it into PyTorch and will add relevant tests from Python and documentation. |
|
Starting merge as part of PR stack under #160100 |
|
Starting merge as part of PR stack under #160100 |
|
Starting merge as part of PR stack under #160100 |
As the title stated. Pull Request resolved: pytorch#161773 Approved by: https://github.com/albanD ghstack dependencies: pytorch#161603, pytorch#160099
…ytorch#160100) We integrated the openreg backend’s `Stream` and `Event` into PyTorch, all of which are similar to other accelerators like `CUDA`, `XPUs`, etc. Pull Request resolved: pytorch#160100 Approved by: https://github.com/albanD ghstack dependencies: pytorch#161603, pytorch#160099, pytorch#161773
As the title stated. Pull Request resolved: pytorch#161773 Approved by: https://github.com/albanD ghstack dependencies: pytorch#161603, pytorch#160099
…ytorch#160100) We integrated the openreg backend’s `Stream` and `Event` into PyTorch, all of which are similar to other accelerators like `CUDA`, `XPUs`, etc. Pull Request resolved: pytorch#160100 Approved by: https://github.com/albanD ghstack dependencies: pytorch#161603, pytorch#160099, pytorch#161773
Stack from ghstack (oldest at bottom):
As the title stated.