pytorch
821b6aa7 - [pytorch] Minor: avoid acquiring GIL twice in PyRRef::localValue() (#32785)

Commit
4 years ago
[pytorch] Minor: avoid acquiring GIL twice in PyRRef::localValue() (#32785) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/32785 Add PythonRpcHandler::handleExceptionWithGIL() so that in PyRRef::localValue(), we don't need to release the GIL and re-acquire the following line. ghstack-source-id: 97418465 Test Plan: existing test coverage Differential Revision: D19626195 fbshipit-source-id: db694d04b078811f819626789e1e86f1b35adb5b
Author
Parents
Loading