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

DM-40210: Clean up ap_pipe and ap_verify pipelines #196

Merged
merged 5 commits into from Aug 3, 2023

Conversation

kfindeisen
Copy link
Member

This PR merges the rbClassify task from instrument-specific pipelines to the base (_ingredients) pipeline and removes some configs that are redundant at the instrument level. This leaves the pipelines cleaner and with clearer responsibilities, and will prevent changes to the base pipeline from unexpectedly not working.

Unfortunately, the ApVerify pipeline still contains a few elements that should be in ApPipe but that shouldn't be moved at this time. These have been marked with TODO comments.

These changes were overlooked on #186.
This config override was added in error because it's unused
(processVisitFakes.calibrate should not be running photoCal at all).
This override turns out to be a hack for alert-broker support that has
nothing to do with ap_verify, metrics, or testing. However, it will
need to be fixed later because of scheduling constraints.
rbClassify is not instrument-specific, and should not be introduced in
instrument pipelines; at present they also have no instrument-specific
configs. They properly belong in ApPipe, but moving them there is
impractical at present.
The modelPackageName override assumes that modelPackageStorageMode is
left at its default of neighbor, which may cause trouble if the
default changes. This way, the config will remain valid unless
rbResnet50-DC2 itself moves.
Copy link
Contributor

@rai-harshit rai-harshit left a comment

Choose a reason for hiding this comment

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

Went through the Jira ticket and reviewed the code. Looks good and in alignment with ticket description/comments.

@kfindeisen kfindeisen merged commit d3b853d into main Aug 3, 2023
2 checks passed
@kfindeisen kfindeisen deleted the tickets/DM-40210 branch August 3, 2023 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants