-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
pythonPull requests that update Python codePull requests that update Python codetype:featureEnhancement in the New Functionality or Request for a New SolutionEnhancement in the New Functionality or Request for a New Solution
Description
MediaPipe Solution (you are using)
face_detection, face_mesh, vision
Programming language
Python
Are you willing to contribute it
None
Describe the feature and the current behaviour/state
Mediapipe does not support setting the maximum number of threads to use.
Will this change the current API? How?
Add a function or env var to set the macimum number of threads.
Who will benefit with this feature?
People with many cores on their system since the default number of threads seem related to it.
Please specify the use cases for this feature
Running multiple models in parallel (in different processes) creates mtoo many threads which is detrimental to efficiency.
Any Other info
No response
Metadata
Metadata
Assignees
Labels
pythonPull requests that update Python codePull requests that update Python codetype:featureEnhancement in the New Functionality or Request for a New SolutionEnhancement in the New Functionality or Request for a New Solution