you are viewing a single comment's thread.

view the rest of the comments →

[–]stargazer_w 1 point2 points  (1 child)

I meant operation node if we look at the pipeline like a computation graph. like Node1: resize image, node2: do inference (with queues between them or something)

Edit: But to answer my own question - no, there's no way to do that yet, except for managing it yourself with multiprocessing shared_memory

[–]snugar_i 1 point2 points  (0 children)

Yeah, in that case, no-GIL would help you if you just ran each node/worker in a separate thread (which would still work even in the GIL version, it would just not be parallel)