Skip to content

BentoML - v1.0.10

Compare
Choose a tag to compare
@ssheng ssheng released this 09 Nov 02:33
· 1389 commits to main since this release
248979b

🍱 BentoML v1.0.10 is released to address a recurring broken pipe reported by the community. Also included in this release, is a list of improvements we’d like to share with the community.

  • Fixed an aiohttp.client_exceptions.ClientOSError caused by asymmetrical keep alive timeout settings between the API Server and Runner.

    aiohttp.client_exceptions.ClientOSError: [Errno 32] Broken pipe
  • Added multi-output support for ONNX and TensorFlow frameworks.

  • Added from_sample support to all IO Descriptors in addition to just bentoml.io.NumpyNdarray and the sample is reflected in the Swagger UI.

    # Pandas Example
    @svc.api(
        input=PandasDataFrame.from_sample(
            pd.DataFrame([1,2,3,4])
        ),
    	output=PandasDataFrame(),
    )
    
    # JSON Example
    @svc.api(
        input=JSON.from_sample(
            {"foo": 1, "bar": 2}
        ),
        output=JSON(),
    )

    image

💡 We continue to update the documentation and examples on every release to help the community unlock the full power of BentoML.

What's Changed

New Contributors

Full Changelog: v1.0.8...v1.0.9

What's Changed

Full Changelog: v1.0.9...v1.0.10