logoalt Hacker News

peri-cltoday at 4:49 PM1 replyview on HN

You actually don't need more RAM to batch multiple inference tasks of the same model.

(Each task needs its own context, but the (e.g.) 27B of constant parameters isn't duplicated).


Replies

orsornatoday at 7:22 PM

You definitely need more RAM if you are not satisfied with small context windows, especially if the weights take a large % of the total memory to boot.