Can you run two neural networks concurrently? #14432
Unanswered
elephantpanda
asked this question in
Other Q&A
Replies: 1 comment
-
Possibly. If your GPU isn't at 100% usage running the one model, then running a second at the same time in parallel should use the available power and you will come out ahead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Say you have two small neural networks, A and B.
I assume that the GPU calculates things one layer at a time.
If each of the layers were small enough, could it calculate a layer from A while simultaneously calculating a layer from B?
For example a GTX 3080 has 8704 cores. So if A was small enough it wouldn't use all the cores in a calculation.
Mind you for a 64x64x4 =16384 image, this is bigger than the number of cores. (But if A and B all had layers of size 32x32x4 could they be run together?)
So what I'm getting at it is if I two independent networks, is there any advantage in running the Inference session on different threads or should they just be run sequentially?
Beta Was this translation helpful? Give feedback.
All reactions