Skip to content
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

Separate Pipeline type inference/checking & MRC pipeline construction #1233

Conversation

dagardner-nv
Copy link
Contributor

@dagardner-nv dagardner-nv commented Oct 2, 2023

Description

  • Builds upon changes in PR Draft: Separate Pipeline type inference/checking & MRC pipeline construction #1175
  • Type inference/checking moved to Pipeline.pre_build and doesn't require MRC
  • Wraps input/output types between stages into a StageSchema class which can later be expanded to describe tensors and dataframe columns.
  • StreamWrapper renamed to BaseStage.
  • BaseStage defines a new abstract method compute_schema
  • Fix unrelated bug in generate_viz_frames_stage.py where the overwrite argument was ignored leading to a failed assert.
  • Calling add_edge, add_segment_edge, or add_stage after calling build will trigger a failed assert.

fixes #229
fixes #230

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • 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.

dagardner-nv and others added 30 commits August 1, 2023 16:29
…xplicitly release reference to the executor after join and stop
…potentially raising an exception, this prevents an attribute error in the destructor
This reverts commit e949da1.
…d from MRC's PyObjectWrapper"

This reverts commit 7394f23.
@dagardner-nv dagardner-nv changed the title Draft: Separate Pipeline type inference/checking & MRC pipeline construction pt2 Separate Pipeline type inference/checking & MRC pipeline construction Oct 9, 2023
@dagardner-nv dagardner-nv added breaking Breaking change feature request New feature or request improvement Improvement to existing functionality and removed improvement Improvement to existing functionality feature request New feature or request labels Oct 9, 2023
@dagardner-nv dagardner-nv self-assigned this Oct 9, 2023
Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving based on our many discussions of this PR. Documentation and full testing to come later

@mdemoret-nv
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit a0084e3 into nv-morpheus:branch-23.11 Oct 19, 2023
7 checks passed
rapids-bot bot pushed a commit that referenced this pull request Nov 30, 2023
…own process (#1392)

Due to the changes in #1233, the pipeline shutdown process has been slightly altered. This updates the viz demo to shutdown correctly without error. Also added support for exiting on Ctrl+C

Fixes #1391

Authors:
  - Michael Demoret (https://github.com/mdemoret-nv)

Approvers:
  - Eli Fajardo (https://github.com/efajardo-nv)
  - David Gardner (https://github.com/dagardner-nv)

URL: #1392
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change improvement Improvement to existing functionality
Projects
Archived in project
2 participants