These 47 commits are when the Protocol Buffers files have changed:
Commit: | 10f2c39 | |
---|---|---|
Author: | Aaron Pham | |
Committer: | GitHub |
feat(gRPC): client implementation (#3280)
The documentation is generated from this commit.
Commit: | 970c5b2 | |
---|---|---|
Author: | Aaron Pham | |
Committer: | GitHub |
feat(grpc): adding service metadata (#3278)
Commit: | 29ac188 | |
---|---|---|
Author: | Aaron Pham | |
Committer: | GitHub |
chore: move test proto to internal tests only (#3255)
Commit: | f782cb6 | |
---|---|---|
Author: | Aaron Pham | |
Committer: | GitHub |
feat(file): support custom mime type for file proto (#3095) Bumping releases version to v1.
Commit: | 35cd25c | |
---|---|---|
Author: | Aaron Pham | |
Committer: | GitHub |
chore: using src-layout (#3011)
Commit: | 9653402 | |
---|---|---|
Author: | Aaron Pham | |
Committer: | GitHub |
docs: gRPC advanced guides (#3034) Advanced guides Provide snippets to quickly test and run client implementation with bazel. Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com> Co-authored-by: Sean Sheng <s3sheng@gmail.com>
Commit: | 640a6ff | |
---|---|---|
Author: | Aaron Pham | |
Committer: | GitHub |
feat(proto): add `serialized_bytes` to `pb.Part` (#3022)
Commit: | fc39429 | |
---|---|---|
Author: | Aaron Pham | |
Committer: | GitHub |
EXPERIMENTAL: gRPC support (#2808) Co-authored-by: Sadab Hafiz <48334150+Proto007@users.noreply.github.com>
Commit: | 803c189 | |
---|---|---|
Author: | Chaoyu |
deleting code (yatai proto, license statement)
This commit does not contain any .proto
files.
Commit: | 9660001 | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
update protobuf def (#1778) * update protobuf def * update
Commit: | 703aa1e | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
refactor: remove deployments and update files in yatai module (#1750)
Commit: | d367c2e | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
[feat] Add Upload and Download BentoBundle for FileSystem backed yatai (#1586)
Commit: | 2b9dce5 | |
---|---|---|
Author: | Aaron Pham | |
Committer: | GitHub |
[Features] Added testcases and prometheus endpoints for YataiService (#1568) * added /metrics endpoints * fixes plaintext arguments for newer grpcui * Prometheus interceptor for gRPC server * added Yatai metrics * added axios for webUI metrics * added mock_service proto for testing grpc calls updated generate.sh to generate test proto as well added a mock_service for testing grpc interceptor * added test for grpc_server * updates caveats when running prometheus interceptor format accordingly for web/client using `yarn format` updates protos generate for test interceptor * [wip] unitest for interceptors [bugs] mock_service_pb2 import error when running pytest * added testcases for grpc interceptor added parameterized for testcases 82% coverage * format and lint * fixes lint and format * changes accordingly with lint.sh, flake8, pytest and pylintrc fixes tests proto python output under tests update pytest to ignore generated protos * updates correct ignore for flake8 and pylintrc fixes grpcui error when running `install-yatai-deps` remove TODO for generate.sh * added examples for PromServerInterceptor better imports for server interceptors remove TODO * fixes merge issues keeps formatting client codebase for yatai updates tests imports for grpc_interceptor * make linter happy
Commit: | 557f2fa | |
---|---|---|
Author: | bojiang | |
Committer: | GitHub |
Customize route of API endpoint (#1334) * add test for customized route * customize route * fix * add route test * add url character test * add illegal url characters test * add unittest for customize route * review * gen proto * fix * fix 2 * [CI] add `since_bentoml_version` for itests * fix * fix * fix3 * without docker Co-authored-by: ruhan <rhbian@outlook.com>
Commit: | 97ce665 | |
---|---|---|
Author: | Jacky Zhao | |
Committer: | GitHub |
patch: ignore -i in requirements.txt (#1421) * fix: makefile sphinx deps * docs: added batch_serving docs and linked to it in quickstart * patch -i breaking validation * fix undue merge changes * refactor autopip unit tests + add test for pipenv parse * add line rename * add requirements_txt to env and fixed unit test * add docs * lint + format * copy file content instead of just path * fix linter
Commit: | 36a66d6 | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
[Feature]Add containerize bento feature for Yatai service (#1316) * draft * Add containerize bento support for Yatai service * Add integration test * Add doc * format * better help message and docstring
Commit: | 9dd001a | |
---|---|---|
Author: | Jacky Zhao | |
Committer: | GitHub |
[Feature] Model Metadata API (#1179) * basic implementation of metadata saving * make consistent format across all frameworks and artifact types * update proto defs and include metadata in info command * formatting fixes * added tests and improved error messages * more complete tests for invalid artifact metadata * add /metadata endpoint * add basic api_server test * fix test for restoring metadata from saved bundle * update metadata load/save for frameworks * run lint+format, move to ruamel instead of regular yaml * remove comment * bring tf file up to date w master * fix naming and broken tf2 test * refactor load, save, pack back to service>artifacts>__init__ * whitespace fixes and more cleanup * update open_api spec * address review comments * fix raise exception test * remove unused vars
Commit: | d77f80b | |
---|---|---|
Author: | Mayur Newase | |
Committer: | GitHub |
[Feature] Easy Ec2 deployment (#1160) * proto deploymentSpce remaining * cli * fixed * complete functional logic * complete functional logic * remaining: add info in deployment spec,and use it to delete,update stacks/buckets * 3 tests failing for aws_lambda deployment and ec2_deployment tests remaining * formatted * Delete deploy.sh * Delete sample_template.yaml * Delete startup.sh * optional params for containerize * existing tests fixed * update,list,get apis complete * quotes fixed * quotes fixwed * fixed quotes * more options for deployment * separate containerize function for cli and fixed quotes * fixed quotes * error handling * initial tests added * lambda tests imports fixed * tests complete * linted * bug fix * tests fixed * formatted * added spinner * linted * logging * lint * Update image_input.py * default options in update * fixed lambda test * print removed * more tests * bug fixes * test fixes * spelling fixes * Remove bucket on delete deployment Show instance details on describe deployment command bug fixes * full endpoints in describe output * end to end tests added * bug fix * static load balancer * load balancer complete * load balancer and end to end tests complete * bug fix * same bucket,pb validate,state from target health * spelling fixed * tests fixed * bug fixed * more spelling fixes * bug fix * deployment doc added * spelling fix * fixed target group without initial instance * cleanups * lint * lint * cleanup * bug fix * doc and lint fix * added ec2 in ignore spelling list * added ec in ignore spelling list * Fixed docs,added inline comments for e2e tests * Lint fix * lint fix * changed capacity to size * Used defined elb name * formatted * tests fixed * size to desired capacity * fix * added script to create iam user for deployments * policy name fixed * added permissions in doc * spellings ignored * permissions added in deployment doc
Commit: | 5d753da | |
---|---|---|
Author: | Joe Hartshorn | |
Committer: | GitHub |
Sagemaker data capture (#1189) * Initia changes before compiling proto files * Updated sagemaker cli to allow users to specify data scpture s3 and percent * Added data capture functionality to bentoml sagemaker update command * Fixed erroneous deletion of endpoiunt config * Updated docstring for command * code formatting * Spelling * Fixed black and flake8 conflict by removing extra commas * Ran proto/generate-docker.sh
Commit: | 5450d6c | |
---|---|---|
Author: | bojiang | |
Committer: | GitHub |
Refactor: add batch option to @api (#1104) * Move InferenceAPI into new file * Refactor: add batch option to @api * fix CI * fix * make pylint happy * build protos * fix integration test for transformers * fix CI for transformers * rebuild protos with docker * fix api_pb.batch
Commit: | eb66a72 | |
---|---|---|
Author: | Chaoyu | |
Committer: | GitHub |
pip package management revamp (#1086)
Commit: | 94048ab | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
Labels and label selector feature for BentoService and deployment (#1064) * add labels selector to deployment and repo * add labels to bentos table * change label selector naming * add label store * WIP * move label into bento service metadata * update * Add validation for labels * Add validation for labels and include them in the wide option for CLI * add unit tests for label selector * add testing for label selector * update migration * Update label_store.py * use intersect for the query * linter * Update test_labels.py * update base on comments * use enum and other updates * regenerate proto * fix formatting * linter fix * addreess comments Co-authored-by: Chaoyu <paranoyang@gmail.com>
Commit: | e064ce1 | |
---|---|---|
Author: | Karan Sheth | |
Committer: | GitHub |
Support GCS(Google Cloud Storage) in YataiService (#1017) * Integrated Google Cloud Storage Co-authored-by: korusuke <karan.sheth@somaiya.edu> * e2e tests * Addressed PR review comments * formatting * update setup file * remove aws-sam-cli from test requirements * restore s3_prsigned_url and add gcs_presigned_url Co-authored-by: PrabhanshuAttri <contact@prabhanshu.com> Co-authored-by: yubozhao <yubz86@gmail.com>
Commit: | 85db756 | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
[Deployment] Add azure function deployment support (#801) * add azure function cli commands * Add azure function config to deployment proto * WIP * remove docker image for azure function * Update CLI help messages * support for max/min instance, sku update for azure function * add e2e for azure function * update * update e2e test * update * update * Update to specific version of azure function docker image * update * fix formatting * regenerate protobuf * update * update base on comments * Add docker base image for Azure function * update * update * update * add notes on azure function directory * Update * update CLI help text * using official name for Azure Functions * include azure cli package as part of yatai service install * formating and renaming * display errors for linter script * fix pylint for travis * formating * Rename to Azure Functions * fix * update * use python version from bento service * update
Commit: | 13cbd0a | |
---|---|---|
Author: | bojiang | |
Committer: | GitHub |
[FIX] service API micro batch parameters (#803)
Commit: | a134e3a | |
---|---|---|
Author: | bojiang | |
Committer: | GitHub |
[Refactor] rename API Handlers to Inputs (#784) * [Refactor] rename handlers to input adapters * [Refactor] rename BentoHandler * [FIX] renaming handler_type in frontend * Rename ClipperHandlers and DataframeHandler * Rename rest Handlers
Commit: | 8d49f11 | |
---|---|---|
Author: | bojiang | |
Committer: | GitHub |
[Refactor] Add API output adapters (#783) * init adapters * Add DataframeOutput * Gen pb * Add JsonOutput * [Style]: cleaning $ renaming * revert & freeze versioneer.py
Commit: | 2ea9848 | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
[Deployment] Add azure function config to deployment protobuf (#778) * Add azure function config to deployment proto * Remove gcp and kubernetes operator config from protobuf
Commit: | f16f909 | |
---|---|---|
Author: | Sungjun.Kim | |
Committer: | GitHub |
Support custom docker image (#690) * Support custom docker image * Fix E501 line too long (94 > 88 characters) * Fix an invalid syntax error
Commit: | f594939 | |
---|---|---|
Author: | Chaoyu | |
Committer: | GitHub |
Use pre-signed S3 url for downloading saved bundle from s3 service (#683) * update proto - s/additional_fields/s3_presigned_url * update proto generated python & typescript code * use s3_presigned_url instead * log internal exception in YataiService gRPC server * use s3_presigned_url for download if presented * support downloading from HTTP url (presigned S3 url) * backward compatible for when using client side credential * set s3_presigned_url in YataiService GetBento API callback * auto-formatting * only set s3_presigned_url for uri type of S3
Commit: | 47bd95c | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
Add `timeout` option for Sagemaker deployment (#597) * add timeout to sagemaker deployment config pb * Add timeout optionf or sagemaker deployment * make sure pass str as envvar * fix formatting
Commit: | 5c771ca | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
Improving CLI - implement label filter for list deployments (#521) * implement label filter for list deployment * update base on comment
Commit: | e00f96b | |
---|---|---|
Author: | Chaoyu | |
Committer: | GitHub |
Add handler configs to BentoServiceMetadata proto and bentoml.yml file (#517) * WIP * updates * fix issue with proto struct and py tuple type * mutable default value as an argument is anti-pattern
Commit: | af5e323 | |
---|---|---|
Author: | Bozhao | |
Committer: | Chaoyu |
CLI/Yatai server improvement - Enhance list operation with order-by-column, order and other options (#479) * add order by for proto * add order by option and update proto * add ascending-order optin * add output for apply cli command * add order-by for bento * update * update bento table * remove comment out code * update base on comments * update
Commit: | 654fe7d | |
---|---|---|
Author: | Bozhao | |
Committer: | Chaoyu |
Deployment improvement - Add gunicorn worker per instance option for sagemaker (#457) * add gunicorn worker count per instance for sagemaker deployment * write out each py file instad of template string * Add comments for deployment proto * Add additional unit tests * Move sagemaker default values to CLI * update failed tests * fix test
Commit: | 4910544 | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
aws lambda deployment v2 (#380) * use aws sam for lambda deployment 2.0 * update deployment pb for lambda * use python lib for clean up files * pep8 * add s3_region, s3_path option for lambda * change name from s3_prefix to s3_path * update app.py template * adding tests for lambda operator v2 * use urllib from six * move download_artifacts from app.py to bentoml * add more tests * format for pop8 * update config setting name * Add tests for apply success * update apply and _apply * update base on comments * update base on comments * update variable naming * update base on comments * drop support for python2 * parse version without packaging lib * pep8 * remove s3 path/region param * remove s3_path related * remove s3_path, s3_region option for lambda * pep8 format * refactor api_name check * update logger level * pep8 and cleanup after finish with the temp dir * add aws-sam-cli to setup.py * make sure use created s3 bucket for apply * turn on sam by default * mock where it counts * renaming funcs * move s3 functions to utils/s3 * update base on comments * move from string to py file * update env naming for lambda deployment
Commit: | eeb398c | |
---|---|---|
Author: | Leon | |
Committer: | Chaoyu |
Implement feature uploading bento repo to S3 (#356)
Commit: | f583723 | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
Add timestamp for deployment record (#340) * Add timestamps for deployment proto * add alembic for db migration * include timestamp as part of deployment state * add last_updated_at column for deployments table * make sure upgrade db when init * update alembic config * fix formatting * correct indent for aws lambda func * include alembic modeule as part of required list * update migration script and guard last_updated_at * remove prev migration file * update base on comments * better handle for migration * nit changes base on comments
Commit: | cd8a0ba | |
---|---|---|
Author: | Bozhao | |
Committer: | Chaoyu |
Serverless implementation refactor and add api-name option for serverless deployment (#324) * Add api_name as param for lambda/gcp * use user defined api_name * add validation for serverless api_name * use boto3 to find aws lambda info * add validation for api_name option * make sure we catch exception from delete operation * make sure catch exception from describe as well * better handle for bentoml exceptions in operator * wrap try/catch outside operator actions * clean up imports * add python version as part of bento service metadata * set python version for BentoServiceMetadata proto * use load_service_metadata for deployment * make sure use metadata * dynamic import Status * make sure use bento config metadata * use yatai service instead of repo as part of operator signature * refactor serverless deployment * remove temp project generator for serverless * clean up
Commit: | b70d55c | |
---|---|---|
Author: | Bozhao | |
Committer: | Chaoyu |
Add --force option to delete deployment RPC/command (#303) * Remove deployment record when cloud resource not found * return not found status for lambda delete operation * show message to user when just remove deployment record * formatting lambda * add force delete * update * nit * update comments * use the same message * update delete operation
Commit: | c4482a0 | |
---|---|---|
Author: | Chaoyu | |
Committer: | GitHub |
Update quick-start guide for coming release & MISC (#295) * move things around * update links in readme * renaming cli command 'docs' to 'open-api-spec' * nit * fix _get_bento_service_metadata_pb * include more metadata in cli command 'info' output * fix error message * update DeploymentOperator cli option and update proto * fix unit test * update track_cli event name after renaming * Update bentoml-quick-start-guide.ipynb * auto formatting * ignore guides directory in black auto formatting script * fixing ALL linter errors :laughing:
Commit: | 38ae58d | |
---|---|---|
Author: | Chaoyu | |
Committer: | GitHub |
BentoRepository implementation part 2 (#287) * Update RPC proto for uploading Bento * regen protobuf code * for each test session, set bentoml home to a temp directory * update usage_tracking, allow extra properties, add server start event * add load_bento_metadata_pb helper method * save_to_dir: add parameter type check * deployment store cleanups * repostiory update, to work with new upload RPC * add Bento metadata table and storage interface * Bento/Repository RPC implementation * add yatai python_api: upload_bento_service * expose yatai.python_api.upload_bento_service as 'bentoml.save' * add reset_bentoml_home for test * use bentoml.yatai.python_api for BentoService#save * add dump_to_yaml_str(yaml_dict) utility method * UpdateBento RPC update * regen proto code * updates * s/message/error_message/ * allow reload config in test env * linter & formatting * add back RPC validation * Update config.py * lazy load configs
Commit: | 7ed24fb | |
---|---|---|
Author: | Chaoyu | |
Committer: | GitHub |
BentoRepository impl and save/load cleanups (#279) * fix import in readme * proto file updates & inline comments * re-generate *_pb2.py files * repository impl WIP * fix * fix broken unit tests * adding filter param for listing bentos * formatting * remove duplicated test * linter fix * fix config import issue
Commit: | 2cee76b | |
---|---|---|
Author: | Bozhao | |
Committer: | GitHub |
Create Sagemaker deployment operator (#246) Create Sagemaker deployment operator to work with Yatai server
Commit: | 5675303 | |
---|---|---|
Author: | Chaoyu | |
Committer: | GitHub |
Yatai deployment service implementation MVP (#262)
Commit: | e25fb90 | |
---|---|---|
Author: | Chaoyu | |
Committer: | GitHub |
Update repository RPC proto definitions (#247) * replace common.Empty * update protos * regenerate proto py code
Commit: | a6c1ded | |
---|---|---|
Author: | Chaoyu | |
Committer: | GitHub |
BentoML Deployment Service (Yatei Service) WIP (#242)