Disable -ffast-math on HIP (llama/25495)

This commit is contained in:
Beinsezii 2026-07-27 16:13:48 -07:00 committed by Georgi Gerganov
parent 7ebe1c2b8a
commit 0c1bd5dc9c
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 0 additions and 2 deletions

View File

@ -154,5 +154,3 @@ if (GGML_HIP_RCCL)
endif()
target_link_libraries(ggml-hip PRIVATE ggml-base hip::host roc::rocblas roc::hipblas)
target_compile_options(ggml-hip PRIVATE "$<$<COMPILE_LANGUAGE:HIP>:-ffast-math;-fno-finite-math-only>")