Greedily group inference requests into ordered batches capped by both a maximum request count and a maximum total token count.
Only a few problems are open while we find out which ones people actually want. This one opens when enough people ask for it.
Used once to tell you this problem opened, then deleted. Sending it also counts as asking for the problem.
Parse pipe-delimited inference logs, skip malformed lines, and report request counts, successes and average latency per model.
Group concurrent inference requests into batches that flush when full or when the oldest request has waited long enough, with cancellation and drain.
Copy a file of any size in fixed-size chunks so memory stays flat, and refuse inputs that would destroy data.
Turn an iterator of arbitrary byte chunks into delimited messages, handling messages and multi-byte delimiters split across chunks.
See all problems