Skip to content

inter_op_num_threads and intra_op_num_threads #570

Closed Answered by snakers4
formater asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Would it be wise to set these to 0 to get the maximum performance utilizing all cores, or there was some other underlying intention, and we must keep it at 1?

It is best to keep it at 1 for two reasons:

  • Using more may be slower (and sometimes libraries default to using all cpu threads, which massively slows down the whole CPU);
  • 1 is enough for the VAD, it is small and optimized enough;

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@formater
Comment options

@snakers4
Comment options

@formater
Comment options

Answer selected by snakers4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants