[EAGLE-5027] Runners Model run locally#411
Merged
luv-bansal merged 4 commits intomasterfrom Oct 9, 2024
Merged
Conversation
luv-bansal
commented
Oct 8, 2024
| sys.exit(1) | ||
|
|
||
| # run the model server | ||
| def run_model_server(self): |
Contributor
Author
There was a problem hiding this comment.
I include this method to start the model runner server locally, but not sure if's useful here, @zeiler what do you think?
zeiler
approved these changes
Oct 8, 2024
Member
zeiler
left a comment
There was a problem hiding this comment.
This is great! I think we should have examples of how to call the model very easily too and maybe print out when the local dev server starts how to call it.
…into runners_run_locally
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
ModelRunLocallyclass that allows users to test and run a runners model locally.requirements.txt, and and tests the model locally.Why
How
Tests
Notes
model_run_locallyis the best name, let me know if need to change