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 trying to get the memory usage of my infer model. Following ChatGPT to create a python script below, but the result seems to work incorrectly, because I always get 4-5 KB, even the onnx file is more than 50KB. Any comments are highly appreciated.
apiissues related to all other APIs: C, C++, Python, etc.
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm trying to get the memory usage of my infer model. Following ChatGPT to create a python script below, but the result seems to work incorrectly, because I always get 4-5 KB, even the onnx file is more than 50KB. Any comments are highly appreciated.
Another similar question is #7205, but it is not clear how to get the memory usage via Python API. Thanks if any furthur comments.
Beta Was this translation helpful? Give feedback.
All reactions