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
Currently, when running DAPHNE with the --vec flag, the WorkerCPUconstructor creates a new std::thread for every call to the constructor.
Meaning, for every call to a _vectorizedPipeline__* we create new std::threads. For scripts that call have lots of vectorized pipelines, this induces a significant overhead in execution time when running with --vec.
Currently, when running DAPHNE with the
--vec
flag, theWorkerCPU
constructor creates a newstd::thread
for every call to the constructor.Meaning, for every call to a
_vectorizedPipeline__*
we create newstd::threads
. For scripts that call have lots of vectorized pipelines, this induces a significant overhead in execution time when running with--vec
.Possible solutions:
The text was updated successfully, but these errors were encountered: