Skip to content
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
9 changes: 7 additions & 2 deletions cmake/onnxruntime_unittests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1553,8 +1553,13 @@ endif()
onnxruntime_common ${CMAKE_DL_LIBS})
set_target_properties(onnxruntime_runtime_path_test_shared_library PROPERTIES AIX_SHARED_LIBRARY_ARCHIVE OFF)
else()
target_link_libraries(onnxruntime_runtime_path_test_shared_library PRIVATE
onnxruntime_common cpuinfo ${CMAKE_DL_LIBS})
if (CPUINFO_SUPPORTED)
target_link_libraries(onnxruntime_runtime_path_test_shared_library PRIVATE
onnxruntime_common cpuinfo ${CMAKE_DL_LIBS})
else()
target_link_libraries(onnxruntime_runtime_path_test_shared_library PRIVATE
onnxruntime_common ${CMAKE_DL_LIBS})
endif()
endif()
target_include_directories(onnxruntime_runtime_path_test_shared_library PRIVATE ${ONNXRUNTIME_ROOT})

Expand Down
1 change: 1 addition & 0 deletions onnxruntime/test/python/transformers/test_gqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -1775,6 +1775,7 @@ def test_flash_decode_parity(self):
del os.environ["ORT_DISABLE_FLASH_DECODE"]


@unittest.skipIf(not has_flash_attention(), "Flash Attention is not available, skipping tests.")
class TestGQARegressions(unittest.TestCase):
"""Specific regression tests for historical bugs."""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,10 @@
"^test_reduce_max_empty_set_cpu", // DNNL result in "(shapes (2, 1, 4), (1, 0, 1) mismatch)". this is the same for test_reduce_min_empty_set which is already in the list
"^test_reduce_min_empty_set_cpu",
"^test_resize_upsample_sizes_nearest_not_smaller_cpu",
"^test_clip_min_greater_than_max_cpu"
"^test_clip_min_greater_than_max_cpu",
// Fail since v1.20.1 (new matmul 1D tests)
"^test_matmul_1d_1d_cpu",
"^test_matmul_4d_1d_cpu"
],
// ORT first supported opset 7, so models with nodes that require versions prior to opset 7 are not supported
"tests_with_pre_opset7_dependencies": [
Expand Down
Loading