Files
FabledGrimoire/tests
bvandeusenandClaude Opus 5.5 6052a66aca fix(8822): the embedding model runs one call at a time, on at most 8 threads
onnxruntime keeps a memory arena per run in flight and never returns it, so
overlapping requests grew the app a step at a time and it never came down:
measured in the live container, 32 concurrent callers reached 17.3 GB where
the same work one call at a time stayed flat at 1.07 GB. Every model call now
runs on a single worker thread, and the model loads with a thread pool capped
at 8 instead of one thread per host core.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 10:50:23 -05:00
..