hitachi-speech / EEND

End-to-End Neural Diarization
MIT License
360 stars 57 forks source link

Restrict the number of cores being used during inference #36

Open serendipity24 opened 2 years ago

serendipity24 commented 2 years ago

Is there a way to restrict the number of cores being used during inference? infer.py does not seem to have a parameter that can tweaked to achieve this. In a 32 core machine, the inference process occupies all the resources causing other important runs to crash. Since GPU based inference is not an option, any insight on this would be helpful. Thank You.