logoalt Hacker News

pianopatricktoday at 9:28 PM1 replyview on HN

I've had the thought that an underexplored use case for llms is treating them as classification machines. Put in a lot of input then ask for a single token classifying the input. Like "does this code have any bugs? reply "yes" or "no""

Doing something like that at 1 token per second may be useful.


Replies

Argonautlabstoday at 9:41 PM

That's the one workload this setup is worst at today, unfortunately: output tokens are cheap at 1/s but input isn't — a 512-token prompt takes ~6 minutes before the first token,

because prefill currently reads each layer's experts once per 64-row pass (~9 TB of reads for a 1.4 TB model).

Fix is scheduling and it's the next thing being built; once prefill reads each expert once per layer, the one-token-out classifier pattern becomes the sweet spot rather than the worst case.