You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm memory leak in Phi-3-vision. Probably this is related to the following issue: #590
But fixing 'max_length' parameter suggested by @PatriceVignola does not change anything for me. Probably the image-text processing is somewhat different from text alone.
I am using cuda onnx-genai version. The GPU memory remains constant but CPU memory increases every iteration
Describe the bug
When calling the Phi-3-vision multimodal processor, a memory leak appears to occur, causing memory usage to continuously increase.
To Reproduce
Run the following script:
Expected behavior
Memory usage remains constant no matter how many times the multimodal processor is called.
Desktop (please complete the following information):
onnxruntime-genai==0.4.0
The text was updated successfully, but these errors were encountered: