From 160abfbbf4161b4246ea4fc91030c75f0f10324d Mon Sep 17 00:00:00 2001 From: wangchao Date: Sat, 30 Aug 2025 15:40:20 +0800 Subject: [PATCH] IPC: remove clearIpcHandles in shutdown --- torch_npu/csrc/InitNpuBindings.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/torch_npu/csrc/InitNpuBindings.cpp b/torch_npu/csrc/InitNpuBindings.cpp index e18a6607d7..3344e7d231 100644 --- a/torch_npu/csrc/InitNpuBindings.cpp +++ b/torch_npu/csrc/InitNpuBindings.cpp @@ -81,7 +81,6 @@ PyObject* THPModule_npu_shutdown(PyObject* self, PyObject* arg) } catch (...) { ASCEND_LOGE("NPUSwappedMemoryAllocator::emptyCache failed"); } - c10_npu::NPUCachingAllocator::clearIpcHandles(); ASCEND_LOGI("NPU shutdown NpuSysCtrl Finalize."); c10_npu::NpuSysCtrl::SysStatus status = c10_npu::NpuSysCtrl::GetInstance().Finalize(); -- Gitee