mirror of
https://github.com/ollama/ollama.git
synced 2026-04-30 07:57:51 -05: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