[BUG]: Adding a TritonInferenceStage
to a pipeline adversely impacts dask performance
#1891
Open
2 tasks done
Labels
bug
Something isn't working
Version
24.10
Which installation method(s) does this occur on?
Source
Describe the bug.
This issue was discovered while migrating the
ransomware_detection
example pipeline to use C++ mode, and the bug only occurs with the C++ impl of theTritonInferenceStage
.The issue appears to be that
AsyncioRunnable
creates a newasyncio
loop per thread, settingTritonInferenceStage._num_threads=1
works-around the issue.Note I modified the
CreateFeaturesRWStage
from theransomware_detection
example to not actually emit messages, in part to illustrate thatTritonInferenceStage
never actually receives any messages.repro scripts:
Minimum reproducible example
Drop the two scripts into the root of a branch-24.10 Morpheus repo:
Relevant log output
Click here to see error details
Full env printout
Click here to see environment details
Other/Misc.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: