-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Improve readability of cuda_lazy_init #80788
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
Conversation
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 6b04de2 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
@pytorchbot merge -g |
@pytorchbot successfully started a merge job. Check the current status here |
Hey @cbalioglu. |
Summary: This PR cleans up the implementation of `cuda_lazy_init.cpp` and improves its readability. No behavioral changes are introduced. Pull Request resolved: #80788 Approved by: https://github.com/ezyang Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/081b56fd41de591669bd1f61d4aadd7eb65ec335 Reviewed By: mehtanirav Differential Revision: D37604767 Pulled By: cbalioglu fbshipit-source-id: 82b360c68559ed9820a7499e4fb2dff87cd4ec1d
Fixes the buggy `set_requires_cuda_init` introduced in #80788. Pull Request resolved: #81183 Approved by: https://github.com/ezyang
Summary: Fixes the buggy `set_requires_cuda_init` introduced in #80788. Pull Request resolved: #81183 Approved by: https://github.com/ezyang Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/56dea92d973ff16b41cb812b69c5a7ab8c9d1109 Reviewed By: mehtanirav Differential Revision: D37760038 Pulled By: cbalioglu fbshipit-source-id: 934781cb9550806895683909d362b5ce856d826e
This PR cleans up the implementation of
cuda_lazy_init.cpp
and improves its readability. No behavioral changes are introduced.