-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Implement OpenReg device autoload mechanism #158555
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/158555
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 14c2ffd with merge base 05c4177 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@@ -125,7 +125,7 @@ graph LR | |||
|
|||
### Autoload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a section for Autoload
:
Take a introduction about background and design of Autoload
, and add detailed description to show how the new accelerator to use Autoload
mechinasm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I have added more details about Autoload mechanism. Please let me know if there any other problems :)
test/cpp_extensions/open_registration_extension/torch_openreg/setup.py
Outdated
Show resolved
Hide resolved
test/cpp_extensions/open_registration_extension/torch_openreg/torch_openreg/__init__.py
Outdated
Show resolved
Hide resolved
test/cpp_extensions/open_registration_extension/torch_openreg/torch_openreg/__init__.py
Outdated
Show resolved
Hide resolved
test/cpp_extensions/open_registration_extension/torch_openreg/torch_openreg/__init__.py
Outdated
Show resolved
Hide resolved
What iss more , please refer to this PR to find out the tests about |
…setup.py Co-authored-by: Jiawei Li <ljw1101.vip@gmail.com>
…torch_openreg/__init__.py Co-authored-by: Jiawei Li <ljw1101.vip@gmail.com>
Implement OpenReg device autoload mechanism
This PR aims to apply device autoload mechanism to the OpenReg module with some simple changes.
Change
Before
After
cc @FFFrog