github bentoml/BentoML v1.0.9
BentoML - v1.0.9

latest releases: v1.3.5, v1.3.4post1, v1.3.4...
22 months ago

🍱 BentoML v1.0.9 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

Don't miss a new BentoML release

NewReleases is sending notifications on new releases.