Skip to content

Commit c14e272

Browse files
Skip test-conversion-accuracy on ARM64 platforms
Co-Authored-By: Alex Peng <[email protected]>
1 parent 171f163 commit c14e272

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,12 @@ if (NOT GGML_BACKEND_DL)
207207
llama_build_and_test(test-barrier.cpp)
208208
llama_build_and_test(test-quantize-fns.cpp)
209209
llama_build_and_test(test-quantize-perf.cpp)
210-
# Skip conversion accuracy tests on sanitizer builds - they have different numerical behavior
211-
# and this test is focused on quantization accuracy validation, not memory safety
212-
if (NOT LLAMA_SANITIZE_ADDRESS AND NOT LLAMA_SANITIZE_UNDEFINED AND NOT LLAMA_SANITIZE_THREAD)
210+
# Skip conversion accuracy tests on sanitizer builds and ARM64 platforms
211+
# - Sanitizer builds have different numerical behavior in debug mode
212+
# - ARM64 platforms show different floating-point precision characteristics
213+
# This test validates quantization accuracy which is properly tested on x86_64 release builds
214+
if (NOT LLAMA_SANITIZE_ADDRESS AND NOT LLAMA_SANITIZE_UNDEFINED AND NOT LLAMA_SANITIZE_THREAD
215+
AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|arm64|ARM64")
213216
llama_build_and_test(test-conversion-accuracy.cpp)
214217
endif()
215218
llama_build_and_test(test-rope.cpp)

0 commit comments

Comments
 (0)