mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Summary: fix forward for S477887 leaking c++ singleton specifically when c++ shutdown, it tries to destruct the singleton and acquire GIL, at this moment python runtime exists already, causing undefined behavior. Leaking here specifically so that we won't try to destroy singleton at the shutdown phase Test Plan: n/a Differential Revision: D67400633 Pull Request resolved: https://github.com/pytorch/pytorch/pull/143509 Approved by: https://github.com/c-p-i-o |
||
|---|---|---|
| .. | ||
| counters.cpp | ||
| counters.h | ||
| events.cpp | ||
| events.h | ||
| python_init.cpp | ||
| python_init.h | ||