Skip to content

Commit

Permalink
Revert "[Security] fix security problem for run_cmd (PaddlePaddle#61285
Browse files Browse the repository at this point in the history
…) (PaddlePaddle#61398)"

This reverts commit 9cd0c91.
  • Loading branch information
hanhaowen-mt committed May 13, 2024
1 parent 7a9ad11 commit e25e382
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/paddle/utils/cpp_extension/extension_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e25e382

Please sign in to comment.