From e25e3821879f70c47e849cc68c459d0488529568 Mon Sep 17 00:00:00 2001 From: "haowen.han@mthreads.com" Date: Mon, 13 May 2024 13:29:42 +0800 Subject: [PATCH] Revert "[Security] fix security problem for run_cmd (#61285) (#61398)" This reverts commit 9cd0c91934a313352eeb84dd3ee52df7821237a4. --- python/paddle/utils/cpp_extension/extension_utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/paddle/utils/cpp_extension/extension_utils.py b/python/paddle/utils/cpp_extension/extension_utils.py index 2ebff3f5cf25de..e64f5e6a25b3f6 100644 --- a/python/paddle/utils/cpp_extension/extension_utils.py +++ b/python/paddle/utils/cpp_extension/extension_utils.py @@ -1326,7 +1326,6 @@ def _jit_compile(file_path, verbose=False): """ Build shared library in subprocess """ - assert os.path.exists(file_path) ext_dir = os.path.dirname(file_path) setup_file = os.path.basename(file_path)