-
Notifications
You must be signed in to change notification settings - Fork 765
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 fastai2_model_artifact #596
Conversation
Hello @HenryDashwood, Thanks for updating this PR.
Comment last updated at 2020-05-05 22:13:41 UTC |
Codecov Report
@@ Coverage Diff @@
## master #596 +/- ##
==========================================
- Coverage 56.08% 56.04% -0.05%
==========================================
Files 99 100 +1
Lines 7542 7585 +43
==========================================
+ Hits 4230 4251 +21
- Misses 3312 3334 +22
Continue to review full report at Codecov.
|
@HenryDashwood thanks for updating the PR, I assume this is ready for review now? I will try it out on my end later today and update with you if I had any feedback. |
Cheers! There's a slight difference for the user when saving the model as we have to use Sylvain's context manager: with remove_patches_path():
saved_path = service.save() Would it be better if this were handled by Bentoml internally? |
@HenryDashwood I'm planning to make the following change in BentoML to avoid that issue with fastcore's patch: Instead of doing
I will create a PR for that soon and test it together with your PR. I think after that change, the user won't need to use the |
Ah that's perfect then! |
* added fastai2 artifact * bring up to date with upstream master * open pull request * rebase * delete write attr from Path and fix model path string in load * rebase * rebase Co-authored-by: EC2 Default User <ec2-user@ip-172-16-79-16.eu-west-1.compute.internal>
(Thanks for sending a pull request! Please make sure to read the contribution guidelines, then fill out the blanks below.)
What changes were proposed in this pull request?
Adds a fastai2_model_artifact
Does this close any currently open issues?
No
How was this patch tested?