Unofficial Hacker News client - receive Push Notifications on replies.

Homomorphically Encrypted Llama3-8B at 2 tokens/sec (opens external site)

13 points by turtleyacht 3 hours ago | www.jeremykun.com | 7 comments on HN | Vote on HN (opens Hacker News)

Comments (7)

  1. This is seriously impressive!
  2. Super cool! Trying it out, it does feel like a sloth as mentioned in the Wired article about the same topic.
  3. Truly amazing progress for FHE.
  4. I mean, that it can be done at all is astounding, but holy is their room for improvement.

    8! B200s to run a 8b parameter model (using a 45! GB key) limitted to a 500! token context window?

    I wonder what the odds are that this comes to a genuine use case. Like, so far as I know, there are limitations to how fast encryption/decryption can be done, and so there will always be some "you will need multiple X of typical hardware".

    Like, a full precision 8b parameter model (plus context) is ~34-36GB so we're currently looking at ~40 times the memory capacity, though no word here on how much of the memory is actually being used or if it's just for the raw compute, but even on the compute side a B200 should be able to serve multiple 8b models at multiples of 2t/s.

    Is it possible to get that ratio down to 10x? 5? 2? The spot price renting a B200 from vast is $6.65 so this cluster is ~$53.20/h ~$1276/d. You'd have to have a nation-state application to be footing those bills, but then you're just as likely to have access to on-prem compute.

    Replies (1)
    1. Indeed, it's a demonstration, but considering that only 6 months ago the state of the art was 60x worse than this demo, I have a lot of confidence that it will continue to improve. The Belfort whitepaper gives a rough roadmap: fine-tune and distill LLM architectures to more FHE-friendly variants, and develop custom hardware that better suits the operations than a GPU, with a lower power profile. I would not be surprised to see 10x improvement in cost by the end of 2027 without even any custom hardware.
  5. Hot damn. This ain't gonna get the attention it deserves, but congratulations to everyone who worked on it, this is a big effin deal.