We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@bentoml.service( traffic={"timeout": 600}, workers=8, resources={"cpu": "1"} ) class ControlNet: # Pass the dependent Service class as an argument # controlnet_service = bentoml.depends(SDXLControlNetService) controlnet_service = bentoml.depends.from_url( url= "http://already.deployed-bento.com:3000", input = Annotated[torch.Tensor, Shape((1, 4)), DType("float32")], output = Annotated[torch.Tensor, Shape((1, 4)), DType("float32")], ) @bentoml.api async def generate(self, image: PIL_Image, params: Params) -> PIL_Image:
No response
The text was updated successfully, but these errors were encountered:
Thanks, this will be included in 1.4, the next minor release
Sorry, something went wrong.
thx, this feature is implemented
https://docs.bentoml.com/en/latest/build-with-bentoml/distributed-services.html#depend-on-an-external-deployment
No branches or pull requests
Feature request
Motivation
No response
Other
No response
The text was updated successfully, but these errors were encountered: