You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the evaluation on the server the agent is only supposed to use 4 threads. This is however not activly limited. If the agent spawns more threads there will be a significant performance loss because of the overhead of the threads interleaving.
Torch can be a source for this problem because it will use all available cores by default. In Torch there is Inter-op parallelism and Intra-op parallelism which both have to be limited. The optimal thread distribution between the two depends on the application, one example is:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For the evaluation on the server the agent is only supposed to use 4 threads. This is however not activly limited. If the agent spawns more threads there will be a significant performance loss because of the overhead of the threads interleaving.
Torch can be a source for this problem because it will use all available cores by default. In Torch there is Inter-op parallelism and Intra-op parallelism which both have to be limited. The optimal thread distribution between the two depends on the application, one example is:
More information about torch threading can be found here.
Beta Was this translation helpful? Give feedback.
All reactions