pytorch
f4b9690f - Use pybind11::gil_scoped_* functions instead of AutoGIL/AutoNoGIL (#29095)

Commit
6 years ago
Use pybind11::gil_scoped_* functions instead of AutoGIL/AutoNoGIL (#29095) Summary: Given that pybind11 implements these gil functions, I don't think it makes sense for Pytorch to have its own bespoke versions. Fixes https://github.com/pytorch/pytorch/issues/29065 Pull Request resolved: https://github.com/pytorch/pytorch/pull/29095 Differential Revision: D18301806 Pulled By: ezyang fbshipit-source-id: 03da6a26c41ee65aaadf7b67b9f0b14d2def2a5a
Author
Parents
Loading