-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
enhancementNew feature or requestNew feature or request
Description
First off, amazing project, absolutely mind blowingly cool.
Problem
Restricting the number of CPUs a container can have access to does not get passed along to the app.
If I limit the container to 2 out of 8 available cores the worker still tries to spawn 8 threads, and 6 of them error with the following message:
2026-02-05 08:41:02.339811204 [E:onnxruntime:Default, env.cc:234 ThreadMain] pthread_setaffinity_np failed for thread: 232, index: 0, mask: {1, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
It would be great if we could specify a desired limit on the number of threads spawned so that we can be more in control of how many cores we dedicate to the audiomuse worker.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request