-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enable users to register Processing Services & Pipelines #632
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for ami-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…ub.com/RolnickLab/ami-platform into feat/ml-pipeline-registry
Forgot that that was not commented out -- the tests pass when I comment out |
@vanessavmac I merged main into this branch and fixed several conflicts from other updates that have happened. I got into the groove and made several small changes & fixes as well. I think tomorrow we should do one more pass and test on a snapshot of the live database. Then hopefully merge! |
Summary of Changes
Example User Flow
Users can register processing services associated with an endpoint URL. The endpoint URL has an
info
endpoint which returns a list of pipelines that should be in this processing service. The "Register Pipelines" button pings theinfo
endpoint and adds the pipelines and algorithms to the processing service.Pipelines are listed in the overview page along with the number of processing services available.
When a processing service is available, the user can select a pipeline to process a capture with. The processing service with the lowest latency is used to process the images with the selected pipeline.
Follow-Up ToDos (Requires feature spec-ing)
choose_processing_service_for_pipeline()
selects a service that has the lowest latency. The UI could display what services are online and prevent users from using pipelines with no available processing services.Follow-Up Issues
ami/ml/models/pipeline.py
Address the TODO (# TODO the algorithms list be retrieved by querying the pipeline endpoint) Update Pipeline model Algorithm Field #681ami/ml/views.py
Rather than select a random image to test the pipeline processing (test_process
), filter images by projects user has access to. Improve test_process pipeline view #680info
endpoint on the service, when the user registers pipelines again, it will only add additional pipelines (pipelines won't be deleted or updated). Extend Register Pipelines Functionality #678