-
Notifications
You must be signed in to change notification settings - Fork 310
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
Add module loading support to pyflyte serve #3147
Conversation
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Code Review Agent Run #ff1a1eActionable Suggestions - 1
Review Details
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3147 +/- ##
===========================================
- Coverage 92.24% 76.84% -15.40%
===========================================
Files 118 206 +88
Lines 4991 21851 +16860
Branches 0 2837 +2837
===========================================
+ Hits 4604 16792 +12188
- Misses 387 4270 +3883
- Partials 0 789 +789 ☔ View full report in Codecov by Sentry. |
Changelist by BitoThis pull request implements the following key changes.
|
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Code Review Agent Run #8d6a5cActionable Suggestions - 0Additional Suggestions - 10
Review Details
|
Tracking issue
NA
Why are the changes needed?
Add support loading the module while running the agent server so that users don't need to publish their plugin to Pypi
What changes were proposed in this pull request?
Add new option
--modules
to pyflyte serveHow was this patch tested?
pyflyte serve agent --modules agent
Setup process
Screenshots
Check all the applicable boxes
Related PRs
NA
Docs link
NA
Summary by Bito
This PR enhances both PyFlyte serve functionality and Flytekit core features. It introduces a new --modules option for dynamic module loading without PyPI publication, while also implementing comprehensive improvements including enhanced caching system, strict type matching, improved error handling, and worker queue management. Additional features include shared memory support, improved launch plan handling, and standardized plugin outputs.Unit tests added: True
Estimated effort to review (1-5, lower is better): 5