logoalt Hacker News

verdvermyesterday at 8:48 PM4 repliesview on HN

this is to offload VRAM to DRAM (for GP comment), and makes no difference for URAM


Replies

zozbot234yesterday at 9:05 PM

You can definitely offload n-gram embeddings to storage; they're very sparsely used (only a few KB fetched per token) so this is quite effective. Loading to DRAM only becomes necessary if they are a bottleneck to overall performance (which might happen if you're doing very wide batches and everything else uses super fast VRAM/HBM).

show 1 reply
girvoyesterday at 9:08 PM

Nah, I’m streaming ngrams off NVMe on my Spark-alike right now. Works surprisingly well (except for when I accidentally bottlenecked it through my NAS)

show 2 replies
petuyesterday at 9:10 PM

n-grams can be kept on SSD, no need to hold them in any kind of RAM (at least w/o batching)

stymaaryesterday at 8:52 PM

Am I missing a joke? WTF is URAM?

show 1 reply