We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The memory consumption keeps growing when using the library.
To Reproduce Steps to reproduce the behavior:
ps -p $(pgrep phi3) -o rss=
Here's a small shell script that helps you to see the memory usage in 5 second intervals:
$ while true; do while> mem_usage=$(ps -p $(pgrep phi3) -o rss=) while> mem_usage_mb=$(echo "scale=2; $mem_usage/1024" | bc) while> echo "Memory usage: $mem_usage_mb MB" while> sleep 5 while> done
Observed memory usage:
Memory usage: 680.28 MB Memory usage: 680.28 MB Memory usage: 927.48 MB Memory usage: 927.48 MB Memory usage: 927.48 MB Memory usage: 1019.68 MB Memory usage: 1019.68 MB Memory usage: 1019.68 MB Memory usage: 1019.68 MB Memory usage: 1019.68 MB Memory usage: 1054.14 MB Memory usage: 1056.70 MB Memory usage: 1056.70 MB Memory usage: 1061.62 MB Memory usage: 1062.57 MB Memory usage: 1127.75 MB Memory usage: 1127.93 MB Memory usage: 1128.82 MB Memory usage: 1129.09 MB
The Android version of the same release doesn't show this behavior, just an FYI.
Expected behavior Memory usage will stay within the certain bounds.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context N/A
The text was updated successfully, but these errors were encountered:
Thanks for the report! I'll take a look.
Sorry, something went wrong.
@avijit-chakroborty Are you using Phi-3-mini-4k-instruct-onnx? I'm seeing a memory usage capped at ~2.5GB on a M1 MacBook Pro 16GB.
Could you provide more information? For example the model of the device you're using?
skyline75489
No branches or pull requests
Describe the bug
The memory consumption keeps growing when using the library.
To Reproduce
Steps to reproduce the behavior:
ps -p $(pgrep phi3) -o rss=
command in a loopHere's a small shell script that helps you to see the memory usage in 5 second intervals:
Observed memory usage:
The Android version of the same release doesn't show this behavior, just an FYI.
Expected behavior
Memory usage will stay within the certain bounds.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: