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

Controlling the number of threads #42

Closed
tstohn opened this issue Aug 24, 2020 · 2 comments
Closed

Controlling the number of threads #42

tstohn opened this issue Aug 24, 2020 · 2 comments

Comments

@tstohn
Copy link

tstohn commented Aug 24, 2020

  • MMSplice version: 2.0.0
  • Python version: 3.6
  • Operating System: Ubuntu

Is there any way to control the number of used threads in MMSplice?
Setting OMP_NUM_THREADS seems to control tensorflows thread number,
however MMSplice still uses all available cores.

All the best & Thanks,
Tim

@s6juncheng
Copy link
Collaborator

Hi Tim,

thanks for using MMSplice. Have you tried this? keras-team/keras#4740 (comment)

BTW, I'm also looking into the writeVCF option.

Best,
Jun

@tstohn
Copy link
Author

tstohn commented Aug 25, 2020

Hi Jun,

Thanks a lot for the quick reply. I've tried it and it also created a bunch of threads (more than specified).
However, I just saw that actually only the specified number of threads are running - so that is fine with me and anyway tensorflow dependant.

Thanks a lot also for looking into the writeVCF option,
Cheers,
Tim

@tstohn tstohn closed this as completed Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants