Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Fix PIR Unittest No.654,655】Fix some test case in PIR #64914

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/cpp_extension/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ if(WITH_TESTING)
set_tests_properties(test_cpp_extension_setup PROPERTIES TIMEOUT 120)
set_tests_properties(test_cpp_extension_jit PROPERTIES TIMEOUT 120)
endif()
py_test(test_mixed_extension_setup SRCS test_mixed_extension_setup.py)
set_tests_properties(test_mixed_extension_setup PROPERTIES TIMEOUT 120)
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
# limitations under the License.

import os
import sys

sys.path.append("../../cpp_extension")
from utils import paddle_includes

from paddle.utils.cpp_extension import CppExtension, setup
Expand Down
1 change: 0 additions & 1 deletion test/deprecated/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ if(WITH_TESTING)
add_subdirectory(autograd)
add_subdirectory(custom_op)
add_subdirectory(custom_runtime)
add_subdirectory(cpp_extension)
add_subdirectory(prim)
add_subdirectory(standalone_executor)
add_subdirectory(tokenizer)
Expand Down
2 changes: 0 additions & 2 deletions test/deprecated/cpp_extension/CMakeLists.txt

This file was deleted.

28 changes: 0 additions & 28 deletions test/deprecated/cpp_extension/custom_power.h

This file was deleted.