hard20 pts · first answer countsbatchinginference-optimisation
Batches of mixed text lengths
An NLP model batches requests dynamically. Most inputs are 50 tokens, but a few are 2,000 tokens, and throughput is poor with occasional out-of-memory errors. What helps most?
Discussion 0
Join free to post in the discussion.
Related questions
- Why quantise a modelMLOps Engineer
- Why export a model to ONNXMLOps Engineer
- Smaller model with similar qualityMLOps Engineer
- Embedding one document at a timeMLOps Engineer
- Triton max_queue_delay settingMLOps Engineer
- Why batching raises decode throughputMLOps Engineer
- Speculative decoding under heavy loadMLOps Engineer