2 ms·
> You have to classify inputs one LLM call at a time? Yes, but it's possible to batch the calls when feeding the data through the neural network, so LLM librar
by magicalhippo 1y ago
> You have to classify inputs one LLM call at a time?
Yes, but it's possible to batch the calls when feeding the data through the neural network, so LLM libraries might support that.
See for example this[1] article which gives a brief overview of batching calls using vLLM.
[1]: https://medium.com/ubiops-tech/how-to-optimize-inference-speed-using-batching-vllm-and-ubiops-10f30ce2d810 https://medium.com/ubiops-tech/how-to-optimize-inference-spe...