• Jesse Gross's avatar
    ollamarunner: Fix memory leak when processing images · 8e8f2c6d
    Jesse Gross authored
    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
    8e8f2c6d
runner.go 23.4 KB