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
I'm using flask with mxnet to write a server. Since it is a web app, we want the GPU memory is fully static allocated.
However, as the title said, I found the GPU memory usage keeps increasing and then raise a OOM when the version of mxnet is 1.6.0post0 and 1.7.0.
Please use Stack Overflow for questions about your own code. This tracker is for issues related to the project itself. Be sure to include a minimal, complete, and verifiable example.
I created this issue because I'm not sure the memory leak is caused by mxnet itself or just FLASK.
The original issue in mxnet is apache/mxnet#19159.
I'm using flask with mxnet to write a server. Since it is a web app, we want the GPU memory is fully static allocated.
However, as the title said, I found the GPU memory usage keeps increasing and then raise a OOM when the version of mxnet is 1.6.0post0 and 1.7.0.
Expected Behavior
The GPU memory usage should remain unchanged.
And just run the following code to request the server:
Actual Behavior
I found the GPU memory usage keeps increasing.
Environment
The text was updated successfully, but these errors were encountered: