-
Notifications
You must be signed in to change notification settings - Fork 766
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
Repository and Deployment refactor and cleanup #771
Conversation
…del server startup
Codecov Report
@@ Coverage Diff @@
## master #771 +/- ##
==========================================
+ Coverage 55.04% 55.33% +0.28%
==========================================
Files 105 108 +3
Lines 8182 8158 -24
==========================================
+ Hits 4504 4514 +10
+ Misses 3678 3644 -34
Continue to review full report at Codecov.
|
@@ -37,7 +37,7 @@ def _serve(): | |||
subprocess.check_call(['ln', '-sf', '/dev/stdout', '/var/log/nginx/access.log']) | |||
subprocess.check_call(['ln', '-sf', '/dev/stderr', '/var/log/nginx/error.log']) | |||
|
|||
nginx = subprocess.Popen(['nginx', '-c', '/opt/program/nginx.conf']) | |||
nginx = subprocess.Popen(['nginx', '-c', '/bento/nginx.conf']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @yubozhao for visibility
* make sagemaker docker image have same file structure * use consistent file names * move operator code out of __init__ to avoid loading unused code in model server startup * refactor deployment validator * reorganize bento repository code * deployment valiator test&linting error fix * more repository code cleanup * renaming and adding inline comments * move out lambda operator code to separate file
* Repository and Deployment refactor and cleanup (#771) * make sagemaker docker image have same file structure * use consistent file names * move operator code out of __init__ to avoid loading unused code in model server startup * refactor deployment validator * reorganize bento repository code * deployment valiator test&linting error fix * more repository code cleanup * renaming and adding inline comments * move out lambda operator code to separate file * Improve robustness of shell scripts * Fix header * Fix issues in generate.sh * Fix -type in call to find Co-authored-by: cory <cory.massaro@gmail.com>
* Repository and Deployment refactor and cleanup (#771) * make sagemaker docker image have same file structure * use consistent file names * move operator code out of __init__ to avoid loading unused code in model server startup * refactor deployment validator * reorganize bento repository code * deployment valiator test&linting error fix * more repository code cleanup * renaming and adding inline comments * move out lambda operator code to separate file * fix some typos + adding logging to lambda callback * fix some linting problems * fix mock not returning proper form * add trailing comma * add better logging + docs * whitespace fixes * move logging and consolidate debug line * update docs + fixed logging * fix linting issues * remove redundant logging and switch to bento logger * update docs Co-authored-by: Chaoyu <paranoyang@gmail.com> Co-authored-by: cory <cory.massaro@gmail.com>
* Repository and Deployment refactor and cleanup (#771) * make sagemaker docker image have same file structure * use consistent file names * move operator code out of __init__ to avoid loading unused code in model server startup * refactor deployment validator * reorganize bento repository code * deployment valiator test&linting error fix * more repository code cleanup * renaming and adding inline comments * move out lambda operator code to separate file * fixed dockerfile to use multi-stage builds * add some docs for alternative docker images * add bash script support for building multiple python versions * add more docs * update name of docker files to reflect naming conventions and fixed docs Co-authored-by: Chaoyu <paranoyang@gmail.com> Co-authored-by: cory <cory.massaro@gmail.com>
* make sagemaker docker image have same file structure * use consistent file names * move operator code out of __init__ to avoid loading unused code in model server startup * refactor deployment validator * reorganize bento repository code * deployment valiator test&linting error fix * more repository code cleanup * renaming and adding inline comments * move out lambda operator code to separate file
* make sagemaker docker image have same file structure * use consistent file names * move operator code out of __init__ to avoid loading unused code in model server startup * refactor deployment validator * reorganize bento repository code * deployment valiator test&linting error fix * more repository code cleanup * renaming and adding inline comments * move out lambda operator code to separate file
* make sagemaker docker image have same file structure * use consistent file names * move operator code out of __init__ to avoid loading unused code in model server startup * refactor deployment validator * reorganize bento repository code * deployment valiator test&linting error fix * more repository code cleanup * renaming and adding inline comments * move out lambda operator code to separate file
* Repository and Deployment refactor and cleanup (bentoml#771) * make sagemaker docker image have same file structure * use consistent file names * move operator code out of __init__ to avoid loading unused code in model server startup * refactor deployment validator * reorganize bento repository code * deployment valiator test&linting error fix * more repository code cleanup * renaming and adding inline comments * move out lambda operator code to separate file * Improve robustness of shell scripts * Fix header * Fix issues in generate.sh * Fix -type in call to find Co-authored-by: cory <cory.massaro@gmail.com>
* Repository and Deployment refactor and cleanup (bentoml#771) * make sagemaker docker image have same file structure * use consistent file names * move operator code out of __init__ to avoid loading unused code in model server startup * refactor deployment validator * reorganize bento repository code * deployment valiator test&linting error fix * more repository code cleanup * renaming and adding inline comments * move out lambda operator code to separate file * fix some typos + adding logging to lambda callback * fix some linting problems * fix mock not returning proper form * add trailing comma * add better logging + docs * whitespace fixes * move logging and consolidate debug line * update docs + fixed logging * fix linting issues * remove redundant logging and switch to bento logger * update docs Co-authored-by: Chaoyu <paranoyang@gmail.com> Co-authored-by: cory <cory.massaro@gmail.com>
* Repository and Deployment refactor and cleanup (bentoml#771) * make sagemaker docker image have same file structure * use consistent file names * move operator code out of __init__ to avoid loading unused code in model server startup * refactor deployment validator * reorganize bento repository code * deployment valiator test&linting error fix * more repository code cleanup * renaming and adding inline comments * move out lambda operator code to separate file * fixed dockerfile to use multi-stage builds * add some docs for alternative docker images * add bash script support for building multiple python versions * add more docs * update name of docker files to reflect naming conventions and fixed docs Co-authored-by: Chaoyu <paranoyang@gmail.com> Co-authored-by: cory <cory.massaro@gmail.com>
Description
As part of the effort to improve code quality and make it easier for new contributors to get on board. This PR:
Motivation and Context
How Has This Been Tested?
Types of changes
Components (if applicable)
Checklist:
./dev/format.sh
and./dev/lint.sh
script have passed(instructions).