mirror of
https://github.com/ollama/ollama.git
synced 2026-03-28 03:08:44 +07:00
The normalize function now checks for NaN and Inf values in the embedding vector before processing. This prevents JSON encoding failures when models produce invalid floating-point values. Fixes #13572 Signed-off-by: majiayu000 <1835304752@qq.com>
26 KiB
26 KiB