ollamarunner: Fix memory leak when processing images
The context (and therefore associated input tensors) was not being properly closed when images were being processed. We were trying to close them but in reality we were closing over an empty list, preventing anything from actually being freed. Fixes #10434
Showing
Please register or sign in to comment