Hello everyone.
Is it possible to run two modules in parallel in Pytorch?
Currently all I have seen so far, has been in a sequential manner but can I for example do sth like this :
       input 
p1       |        p2
|********|***********
|                   |
|                   |
|********|***********
         |
         |
     output

we can implement this in Pytorch easily by just first running operations in path1(p1) and then path2(p2)
and then combine their results.
But is there a way that I can make p1 and p2 run in parallel and execute them faster this way without one being delayed before the other one runs first?
Thanks in advance