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

Does threading work? #1

Open
hashbangCoder opened this issue May 25, 2016 · 1 comment
Open

Does threading work? #1

hashbangCoder opened this issue May 25, 2016 · 1 comment

Comments

@hashbangCoder
Copy link

Hi,

Nice Implementation! I was wondering if threading works on TF? Are you able to utilize all the cores?
Or do you have to switch to multiprocessing?

@originholic
Copy link
Owner

originholic commented May 26, 2016

Thanks for the information, threading should work fine for tensorflow, and unlock the GIL in python, as stated in the post Asynchronous computation in tensorflow, and it is slightly difficult to use multiprocessing in tensorflow with this code structure, as you cannot pass/share session across multiple processes.

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