Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
69f3721
[fix] fix fail test when backend is mack
zhang-chenyi Sep 4, 2025
e45d324
[Metax] fix fail test when backend is mack
metax666 Sep 4, 2025
ef9d554
Merge branch 'PaddlePaddle:develop' into develop
metax666 Sep 4, 2025
a1530d2
[metax]change_cupti_and_fix_softmax (#7)
duqimeng Sep 9, 2025
352f02e
[Metax] fix dgc & mklml compile product path problem (#8)
StareAtYou Sep 9, 2025
8f13fae
[Metax] fix accuracy kernel & add test_accuracy_op_metax.py unit test…
StareAtYou Sep 11, 2025
8938293
[Metax] update metax_gpu CMakeLists.txt (#10)
StareAtYou Sep 11, 2025
f54187f
[metax] updata_qr_kernel (#11)
duqimeng Sep 11, 2025
7964c35
Merge branch 'PaddlePaddle:develop' into develop
metax666 Sep 12, 2025
1e04216
[Metax] fix illegal address access error in test_momentum_op (#12)
StareAtYou Sep 15, 2025
aca80a4
[Metax] fix cufft and fix some blas kernel apply (#13)
duqimeng Sep 15, 2025
1c54010
Merge branch 'PaddlePaddle:develop' into develop
metax666 Sep 15, 2025
fb547db
[metax] add warpctc_warprnn (#14)
duqimeng Sep 15, 2025
8e98198
[Metax] update metax CI (#15)
StareAtYou Sep 15, 2025
528ec55
[Metax] update metax CI CMakeLists (#16)
StareAtYou Sep 16, 2025
5b31405
[Metax] add github action (#18)
duqimeng Sep 16, 2025
b93c971
[metax] chang build (#19)
duqimeng Sep 16, 2025
6dbbe84
change_build (#20)
duqimeng Sep 16, 2025
ef1b28e
change_build (#21)
duqimeng Sep 16, 2025
3737e48
change_build (#22)
duqimeng Sep 16, 2025
16f3584
【metax】modify cmake for warpctc and warprnnt (#17)
jxwangmetax Sep 16, 2025
ce54693
[metax]modify library to static library (#24)
jxwangmetax Sep 16, 2025
4cda637
[Metax] organize documents (#25)
StareAtYou Sep 16, 2025
23fca59
[metax]fix_code style and index_elementwise_put_kernel (#27)
duqimeng Sep 17, 2025
a513aae
change_build_917 (#29)
duqimeng Sep 17, 2025
4eb455e
chang_build (#30)
duqimeng Sep 17, 2025
1773978
[metax]modify kernel (#31)
jxwangmetax Sep 17, 2025
69af381
change_metax_work (#32)
duqimeng Sep 17, 2025
7fe6f2d
change_build (#33)
duqimeng Sep 17, 2025
b22fc13
[metax] modify fused_bias_dropout_residual_layer_norm (#34)
jxwangmetax Sep 17, 2025
c3d1444
change_build (#35)
duqimeng Sep 17, 2025
569a867
change_build (#36)
duqimeng Sep 17, 2025
0edc6f6
change_warpctc.cmake (#38)
duqimeng Sep 18, 2025
2688c86
change_warpctc.cmake (#39)
duqimeng Sep 18, 2025
6f031fe
test (#40)
duqimeng Sep 18, 2025
e84d399
test_ut (#41)
duqimeng Sep 18, 2025
b5f2feb
tets (#43)
duqimeng Sep 18, 2025
e20eca7
test (#44)
duqimeng Sep 18, 2025
e37f633
[metax] modify compile (#42)
jxwangmetax Sep 19, 2025
1af5148
[Metax] add log analysis script (#46)
StareAtYou Sep 19, 2025
518bee8
add_generate_pb (#47)
duqimeng Sep 19, 2025
bc02549
modify blas (#51)
jxwangmetax Sep 22, 2025
1977ca8
[metax] modify tf32 (#52)
jxwangmetax Sep 22, 2025
1ae2618
[Metax] update metax backend CI test (#53)
StareAtYou Sep 22, 2025
76d5eb0
[Metax] fix log_analysis.py bug (#54)
StareAtYou Sep 23, 2025
9c17b6e
[Metax] update metax CI CMakeLists & scripts (#56)
StareAtYou Sep 23, 2025
51c98a2
[Metax] fix MatmulKernel problem (#57)
StareAtYou Sep 23, 2025
d113018
[metax]fix paddle bug" (#58)
duqimeng Sep 23, 2025
8991299
change—ut (#59)
duqimeng Sep 23, 2025
a770e6f
change_ut (#60)
duqimeng Sep 23, 2025
902112b
change_ut (#63)
duqimeng Sep 24, 2025
9a88a09
Merge branch 'PaddlePaddle:develop' into develop
metax666 Sep 24, 2025
4ae65f7
Merge branch 'PaddlePaddle:develop' into develop
metax666 Sep 24, 2025
61c32ba
[Metax] add keyword filter in CI CMakeLists.txt
StareAtYou Sep 24, 2025
642eb37
Merge branch 'metax666:develop' into develop
StareAtYou Sep 25, 2025
b2ddc81
[Metax] add ignore case list
StareAtYou Sep 25, 2025
cfe44ce
[Metax] add keyword filter in CI CMakeLists.txt (#64)
StareAtYou Sep 25, 2025
041e585
Merge branch 'metax666:develop' into develop
StareAtYou Sep 25, 2025
b296398
Update Paddle submodule to latest develop
tianshuo78520a Sep 25, 2025
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: 1 addition & 1 deletion Paddle
Submodule Paddle updated 156 files
62 changes: 29 additions & 33 deletions backends/metax_gpu/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ set(PADDLE_LEGACY_TEST_PATH
${CMAKE_CURRENT_LIST_DIR}/../../../Paddle/test/legacy_test)
set(METAX_UNIT_TEST_PATH ${CMAKE_CURRENT_LIST_DIR}/unit_test)

set(NEED_REMOVE_KEYWORDS "attention")

file(GLOB_RECURSE PYTHON_TEST_SCRIPTS "${METAX_UNIT_TEST_PATH}/*.py")

if(NOT TEST_LIST_FILE)
Expand All @@ -33,6 +35,20 @@ else()
endif()

foreach(test_name ${TEST_PROGRAMS})
set(IS_REMOVE FALSE)

foreach(keyword ${NEED_REMOVE_KEYWORDS})
string(FIND "${test_name}" "${keyword}" RES)
if(NOT RES EQUAL -1)
set(IS_REMOVE TRUE)
break()
endif()
endforeach()

if(IS_REMOVE)
continue()
endif()

set(CURRENT_TEST_PROGRAM ${PADDLE_LEGACY_TEST_PATH}/${test_name}.py)
if(NOT EXISTS ${CURRENT_TEST_PROGRAM})
message(WARNING "${CURRENT_TEST_PROGRAM} is not exist, skip it.")
Expand All @@ -44,39 +60,19 @@ endforeach()
list(REMOVE_DUPLICATES PYTHON_TEST_SCRIPTS)

if(NOT TEST_LIST_FILE)
list(
REMOVE_ITEM
PYTHON_TEST_SCRIPTS
# Metax unit test
${METAX_UNIT_TEST_PATH}/test_matmul_op_metax.py
# 精度问题
${PADDLE_LEGACY_TEST_PATH}/test_sum_op.py
${PADDLE_LEGACY_TEST_PATH}/test_max_op.py
${PADDLE_LEGACY_TEST_PATH}/test_cumsum_op.py
# core.cudnnversion
${PADDLE_LEGACY_TEST_PATH}/test_softmax_with_cross_entropy_op.py
${PADDLE_LEGACY_TEST_PATH}/test_softmax_op.py
${PADDLE_LEGACY_TEST_PATH}/test_elementwise_add_op.py
${PADDLE_LEGACY_TEST_PATH}/test_gather_op.py
# op_test.py 里 self._get_places()接口的适配问题
${PADDLE_LEGACY_TEST_PATH}/test_elementwise_pow_op.py
${PADDLE_LEGACY_TEST_PATH}/test_layer_norm_op.py
# device == "gpu" 适配问题
${PADDLE_LEGACY_TEST_PATH}/test_index_add_op.py
# paddle-gpu 报错一致
${PADDLE_LEGACY_TEST_PATH}/test_elementwise_div_op.py
${PADDLE_LEGACY_TEST_PATH}/test_stack_op.py
${PADDLE_LEGACY_TEST_PATH}/test_logical_op.py
${PADDLE_LEGACY_TEST_PATH}/test_mean_op.py
# paddle.device.cuda.get_device_properties
${PADDLE_LEGACY_TEST_PATH}/test_transpose_op.py
${PADDLE_LEGACY_TEST_PATH}/test_randint_op.py
${PADDLE_LEGACY_TEST_PATH}/test_uniform_random_op.py
# needs check_grad with fp64 precision
${PADDLE_LEGACY_TEST_PATH}/test_c_embedding_op.py
# CUDAPinnedPlace 问题
${PADDLE_LEGACY_TEST_PATH}/test_slice_op.py
${PADDLE_LEGACY_TEST_PATH}/test_compare_op.py)
set(NEED_IGNORE_FILE ${CMAKE_CURRENT_LIST_DIR}/ignore.txt)
if(EXISTS ${NEED_IGNORE_FILE})
file(STRINGS ${NEED_IGNORE_FILE} NEED_IGNORE_TEST_PROGRAMS)
foreach(test_name ${NEED_IGNORE_TEST_PROGRAMS})
if(EXISTS ${PADDLE_LEGACY_TEST_PATH}/${test_name}.py)
list(REMOVE_ITEM PYTHON_TEST_SCRIPTS
${PADDLE_LEGACY_TEST_PATH}/${test_name}.py)
else()
list(REMOVE_ITEM PYTHON_TEST_SCRIPTS
${METAX_UNIT_TEST_PATH}/${test_name}.py)
endif()
endforeach()
endif()
endif()

if(LOG_OUTPUT_DIR AND NOT EXISTS ${LOG_OUTPUT_DIR})
Expand Down
21 changes: 21 additions & 0 deletions backends/metax_gpu/tests/ignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
test_matmul_op_metax
test_sum_op
test_max_op
test_cumsum_op
test_softmax_with_cross_entropy_op
test_softmax_op
test_elementwise_add_op
test_gather_op
test_elementwise_pow_op
test_layer_norm_op
test_index_add_op
test_elementwise_div_op
test_stack_op
test_logical_op
test_mean_op
test_transpose_op
test_randint_op
test_uniform_random_op
test_c_embedding_op
test_slice_op
test_compare_op