Skip to content
New issue

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

python使用onnxRuntime进行压测时,使用的是GPU计算,但是CPU也会上升,GPU和CPU都打满后停止压测,GPU资源迅速释放,但是CPU资源一直满负荷 #20657

Open
banbomo opened this issue May 11, 2024 · 1 comment
Labels
feature request request for unsupported feature or enhancement

Comments

@banbomo
Copy link

banbomo commented May 11, 2024

Describe the feature request

python使用onnxRuntime进行压测时,使用的是GPU计算,但是CPU也会上升,GPU和CPU都打满后停止压测,GPU资源迅速释放,但是CPU资源一直满负荷。

Describe scenario use case

如上所述,使用的onnx runtime版本是1.10.0

@banbomo banbomo added the feature request request for unsupported feature or enhancement label May 11, 2024
@tianleiwu
Copy link
Contributor

By default, Arena memory allocator is used so the allocated memory will not be released.
For more information, search "Share allocator(s) between sessions" and "Memory arena shrinkage" in the document: https://onnxruntime.ai/docs/get-started/with-c.html

If you still need help, please share a script and test data to reproduce the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request request for unsupported feature or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants