-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing support for MultiMessage
from stages
#1803
Removing support for MultiMessage
from stages
#1803
Conversation
/ok to test |
/ok to test |
/ok to test |
/ok to test |
/ok to test |
/ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed. Will check for completness in #1886
/ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one small docstring fix needed
python/morpheus/morpheus/_lib/include/morpheus/stages/add_scores_stage_base.hpp
Show resolved
Hide resolved
/ok to test |
/ok to test |
/merge |
Should be merged after merging #1803. The Final step of completely remove `MultiMessage` from the whole Morpheus repo. This PR removes `MultiMessage` and its sub-classes. All occurrences of `MultiMessage` and its sub-classes in examples and docs are updated to `ControlMessage`. Closes #1802 ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md). - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - Yuchen Zhang (https://github.com/yczhang-nv) - Michael Demoret (https://github.com/mdemoret-nv) Approvers: - David Gardner (https://github.com/dagardner-nv) - Michael Demoret (https://github.com/mdemoret-nv) URL: #1886
Description
Part of finalizing
MultiMessage
deprecation. Previously the stages support processing bothControlMessage
andMultiMessage
- this PR removes the code paths forMultiMessage
from the following stages (from both C++ & Python implementation):Pre-process stages:
deserialize_stage
preprocess_base_stage
preprocess_ae_stage
preprocess_fil_stage
preprocess_nlp_stage
train_ae_stage
Post-process stages:
serialize_stage
add_scores_stage_base_stage
add_scores_stage
add_classification_stage
filter_detections_stage
generate_viz_frames_stage
ml_flow_drift_stage
time_series_stage
validation_stage
Inference stages:
auto_encoder_inference_stage
identity_inference_stage
inference_stage
pytorch_inference_stage
triton_inference_stage
Output stages:
write_to_vector_db_stage
The related unit tests are also updated to use only
ControlMessage
.Morpheus examples that imports stages/messages directly (rather than creating their own version) are also updated to get CI passed for this PR.
Closes #1887
By Submitting this PR I confirm: