How to make single-input inference faster? Create my own pipeline?

thanks @NarsilTest but I am not sure to understand what you mean here. Could you please explain more? thanks!