Bentoml

Latest version: v1.3.14

Safety actively analyzes 682449 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 25

1.3.3

What's Changed
* fix: restore keras.save_model compatibility with Keras 3 by rmarquis in https://github.com/bentoml/BentoML/pull/4922
* fix(cli): do not hide output behind a spinner for building bento by frostming in https://github.com/bentoml/BentoML/pull/4923
* feat: expose client url and sync client by frostming in https://github.com/bentoml/BentoML/pull/4925
* fix: always preserve str and bytes when serializing by frostming in https://github.com/bentoml/BentoML/pull/4929
* fix(cloud-client): raise error if multipart push fails by Haivilo in https://github.com/bentoml/BentoML/pull/4932
* feat: Pass torch kwargs to bentoml.pytorch.load_model by TokeReines in https://github.com/bentoml/BentoML/pull/4930
* docs: Add function calling example link by Sherlock113 in https://github.com/bentoml/BentoML/pull/4934
* fix: pydantic/numpy patching causes `Cannot interpret 'numpy.float16 | numpy.float32' as a data type` by frostming in https://github.com/bentoml/BentoML/pull/4933
* fix: uploading large files saving to disk instead of memory by frostming in https://github.com/bentoml/BentoML/pull/4935

New Contributors
* rmarquis made their first contribution in https://github.com/bentoml/BentoML/pull/4922
* TokeReines made their first contribution in https://github.com/bentoml/BentoML/pull/4930

**Full Changelog**: https://github.com/bentoml/BentoML/compare/v1.3.2...v1.3.3

1.3.2

What's Changed
* fix: press text by xianml in https://github.com/bentoml/BentoML/pull/4898
* ci: pre-commit autoupdate by pre-commit-ci in https://github.com/bentoml/BentoML/pull/4897
* docs: Update doc images by Sherlock113 in https://github.com/bentoml/BentoML/pull/4901
* fix: fix resource type by FogDong in https://github.com/bentoml/BentoML/pull/4904
* fix: direct return response if tracer id is null by FogDong in https://github.com/bentoml/BentoML/pull/4899
* docs: update azure byoc instructions by ssheng in https://github.com/bentoml/BentoML/pull/4905
* fix: metrics duration defined with min,max,factor not taking effect by frostming in https://github.com/bentoml/BentoML/pull/4903
* refactor: store the cloud context into the container instead of passing it around by frostming in https://github.com/bentoml/BentoML/pull/4907
* docs: Update README.md by parano in https://github.com/bentoml/BentoML/pull/4906
* docs: Update messages by Sherlock113 in https://github.com/bentoml/BentoML/pull/4910
* docs: Update index.rst by Sherlock113 in https://github.com/bentoml/BentoML/pull/4913
* doc: update the HTTP behavior test instruction by frostming in https://github.com/bentoml/BentoML/pull/4915
* docs: Add metrics doc by Sherlock113 in https://github.com/bentoml/BentoML/pull/4912
* feat(cli): reload option for start-http-server by frostming in https://github.com/bentoml/BentoML/pull/4916
* chore: update pdm.lock file witht the lock targets by frostming in https://github.com/bentoml/BentoML/pull/4911
* fix(build): preserve the index url options in requirements.txt file by frostming in https://github.com/bentoml/BentoML/pull/4914
* fix: try to fix the timeout test cases by frostming in https://github.com/bentoml/BentoML/pull/4917
* doc: update CI status badge by frostming in https://github.com/bentoml/BentoML/pull/4918


**Full Changelog**: https://github.com/bentoml/BentoML/compare/v1.3.1...v1.3.2

1.3.1

What's Changed
* docs: Add 2 examples by Sherlock113 in https://github.com/bentoml/BentoML/pull/4872
* docs: update theme to match branding by ssheng in https://github.com/bentoml/BentoML/pull/4874
* docs: Add task doc by Sherlock113 in https://github.com/bentoml/BentoML/pull/4873
* fix: set prometheus env before importing service by frostming in https://github.com/bentoml/BentoML/pull/4875
* docs: Add API docs by Sherlock113 in https://github.com/bentoml/BentoML/pull/4877
* fix: inject prometheus env from arbiter by frostming in https://github.com/bentoml/BentoML/pull/4878
* fix: Don't run bentoml.build_bentofile in subprocess by frostming in https://github.com/bentoml/BentoML/pull/4876
* docs: update azure byoc instructions by ssheng in https://github.com/bentoml/BentoML/pull/4881
* docs(azure): update azure byoc instructions by ssheng in https://github.com/bentoml/BentoML/pull/4882
* fix(framework): transformers vs 1.3.0 "TypeError: __init__() got an unexpected keyword argument 'task'" by frostming in https://github.com/bentoml/BentoML/pull/4880
* fix: silence git output by frostming in https://github.com/bentoml/BentoML/pull/4883
* fix: surface config error on bento build by frostming in https://github.com/bentoml/BentoML/pull/4888
* docs: Refactor tasks doc by Sherlock113 in https://github.com/bentoml/BentoML/pull/4890
* Docs: Sync the BYOC doc with blog and update BentoCloud guides index page by Sherlock113 in https://github.com/bentoml/BentoML/pull/4891
* fix: move user setup to base template to make custom base image work by frostming in https://github.com/bentoml/BentoML/pull/4893
* fix: Cannot define custom duration histogram buckets via `bentoml.service(metrics=...)` by frostming in https://github.com/bentoml/BentoML/pull/4895


**Full Changelog**: https://github.com/bentoml/BentoML/compare/v1.3.0...v1.3.1

1.3.0

We are excited to announce the release of BentoML 1.3! Following the feedback received since the launch of 1.2 earlier this year, we are introducing a host of new features and enhancements in 1.3. Below are the key highlights of 1.3 and stay tuned for an upcoming blog post, where we'll provide a detailed exploration of the new features and the driving forces behind the development.

Here are some of the important points to note about 1.3:

- `1.3` ensures full backward compatibility, meaning that Bentos built with `1.2` will continue to work seamlessly with this release.
- We remain committed to supporting `1.2`. Critical bug fixes and security updates will be backported to the `1.2` branch.
- The [BentoML documentation](https://docs.bentoml.com/en/latest/index.html) has been updated with examples and guides for `1.3`. More guides will be added in the coming weeks.
- BentoCloud supports Bento Deployments from both `1.2` and `1.3` releases of BentoML.

Now, let’s take a look at the major features and enhancements:

🕙 Implemented BentoML task execution

- Introduced the `bentoml.task` decorator to set a task endpoint for executing a long-running workload (such as batch processing or video generation).
- Added the `.submit()` method to both the sync and async clients, which can submit task inputs via the task endpoint and dedicated worker processes constantly monitor task queues for new work to perform.
- Full compatibility with BentoCloud to run Bentos defined with task endpoints.
- See the [Services](https://docs.bentoml.com/en/latest/guides/services.html) and [Clients](https://docs.bentoml.com/en/latest/guides/clients.html) doc with examples of a Service API by initializing a long running task in the Service constructor, creating clients to call the endpoint, and retrieving task status.

🚀 Optimized the build cache to accelerate the build process

- Enhanced build speed for `bentoml build` & `containerize` through pre-installed large packages like `torch`
- Switch to `uv` as the installer and resolver, replacing `pip`

🔨 Supported concurrency-based autoscaling on BentoCloud

- Added the `concurrency` configuration to the `bentoml.service` decorator to set the ideal number of simultaneous requests a Service is designed to handle.
- Added the `external_queue` configuration to the `bentoml.service` decorator to queue excess requests until they can be processed within the defined `concurrency` limits.
- See the [documentation](https://docs.bentoml.com/en/latest/bentocloud/how-tos/autoscaling.html) to configure concurrency and external queue.

🔒 Secure data handling with [secrets](https://docs.bentoml.com/en/latest/bentocloud/how-tos/manage-secrets.html) in BentoCloud:

- You can now create and manage credentials, such as HuggingFace tokens and AWS secrets, securely on BentoCloud and easily apply them across multiple Deployments.
- Added secret subcommands to the BentoML CLI for secret management. Run `bentoml secret -h` to learn more.

🗒️ Added streamed logs for Bento image deployment.

- Easier to troubleshoot build issues and enable faster development iterations

🙏 Thank you for your continued support!

What's Changed
* fix: change forbid extra keys to false for bentocloud by FogDong in https://github.com/bentoml/BentoML/pull/4866
* feat(dev): 1.3 by frostming in https://github.com/bentoml/BentoML/pull/4849
* fix: delete cluster and ns if it is first cluster by FogDong in https://github.com/bentoml/BentoML/pull/4869
* fix: auto login confirm ask logic by xianml in https://github.com/bentoml/BentoML/pull/4864
* fix: secret default value by xianml in https://github.com/bentoml/BentoML/pull/4870
* fix: fix typo in error msg by FogDong in https://github.com/bentoml/BentoML/pull/4871


**Full Changelog**: https://github.com/bentoml/BentoML/compare/v1.2.20...v1.3.0

1.3.0a3

What's Changed
* fix: don't fail when image pod is not found by frostming in https://github.com/bentoml/BentoML/pull/4862
* fix: async task response deserialization crash by frostming in https://github.com/bentoml/BentoML/pull/4865


**Full Changelog**: https://github.com/bentoml/BentoML/compare/v1.3.0a2...v1.3.0a3

1.3.0a2

What's Changed
* fix: options are not required by xianml in https://github.com/bentoml/BentoML/pull/4861


**Full Changelog**: https://github.com/bentoml/BentoML/compare/v1.3.0a1...v1.3.0a2

Page 3 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.