Slackbot
04/14/2023, 12:59 PMlarme (shenyang)
04/14/2023, 9:22 PMbentoml.diffusers
is to simplify the usage of diffusers in BentoML. It has not much difference with using diffusers by itself. Though bentoml.diffusers
will try to utilize xformers
to accelerate the computation, you can also use xformers if you use diffusers yourselfSelf
04/17/2023, 1:24 PMbentoml.diffusers
creates a bug for me (opened an issue for that), but using diffusers with a custom bentoml runner worksSelf
04/17/2023, 1:30 PM@bentoml.Runnable.method(batchable=False, batch_dim=0)
def txt2img(self, input_data):
If I set batchable=True
the generation does not seem to work. Is the batch dimension a different one than 0 ?larme (shenyang)
04/17/2023, 3:42 PMlarme (shenyang)
04/17/2023, 3:42 PMSelf
04/18/2023, 2:45 PM