This message was deleted.
# ask-for-help
s
This message was deleted.
🏁 1
b
Hello @Li Wan Yes. You can create custom runner for that. You can look at the stable diffusion example. https://github.com/bentoml/stable-diffusion-bentoml/blob/main/fp16/service.py
l
Thanks!
Hi, any solutions for error:
Copy code
TypeError: Given model (<http://ViT-B-16-visual.pt|ViT-B-16-visual.pt>) is not a torch.ScriptModule.
where the
type
of model i passed is
Copy code
<class 'torch.jit._script.RecursiveScriptModule'>