From afeedb949cbfdd041e42c65e2b8b5d66decea4ad Mon Sep 17 00:00:00 2001 From: hehongzhe <935062458@qq.com> Date: Fri, 29 Aug 2025 17:59:38 +0800 Subject: [PATCH] wc --- torch_npu/csrc/profiler/profiler_python.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/torch_npu/csrc/profiler/profiler_python.cpp b/torch_npu/csrc/profiler/profiler_python.cpp index cba33f749d..46ec6e58c6 100644 --- a/torch_npu/csrc/profiler/profiler_python.cpp +++ b/torch_npu/csrc/profiler/profiler_python.cpp @@ -252,6 +252,7 @@ private: PythonTracer& PythonTracer::singleton() { + pybind11::gil_scoped_release release_gil; static PythonTracer singleton_; return singleton_; } -- Gitee