Grok the GIL (opensource.com)
Grok the GIL (opensource.com)
Posted Apr 21, 2017 15:51 UTC (Fri) by Sesse (subscriber, #53779)In reply to: Grok the GIL (opensource.com) by khim
Parent article: Grok the GIL (opensource.com)
As someone who has had TensorFlow optimization as a day job (in the Google Brain team)… sorry, it's a bad example. :-) But it doesn't really use Python for much except just setting up the graph and then pressing play.
Posted Apr 22, 2017 18:45 UTC (Sat)
by khim (subscriber, #9252)
[Link]
Grok the GIL (opensource.com)
Yes, TensorFlow does not use Python for much... and usually GIL is not a problem... yet in certain use cases almost half of wall-clock time in spent in Python. I believe dvyukov have some numbers.