b9906
📦 llama-cppView on GitHub →
✨ 1 features🐛 1 fixes🔧 1 symbols
Summary
This release addresses a build issue on ROCm platforms by explicitly adding -fno-finite-math-only when using -ffast-math, preventing build failures related to NaN/Infinity handling.
✨ New Features
- Added support for compiling ggml-hip with -fno-finite-math-only flag alongside -ffast-math to ensure INFINITY/NaN handling is preserved under ROCm/clang 22.
🐛 Bug Fixes
- Fixed an issue where -ffast-math implied -ffinite-math-only under ROCm/clang 22, which disabled INFINITY/NaN and caused -Wnan-infinity-disabled errors when -Werror was active (Fixes #25361).