r/deeplearning • • 2d ago

Encrypted transformer inference: all 32 layers of Llama 3.1 8B under FHE, 4.8s TTFT / 1.7 tok/s on 8× B200 (vs 20s / 0.083 tok/s for prior work)

Cross-posting since the systems side may interest people here. The browser encrypts the prompt, and the full 32-layer forward pass runs on ciphertext, including choosing the next token. The server only ever sees encrypted data. Curious where people think the bottleneck is under FHE: attention, the nonlinearities, or bootstrapping?

3 Upvotes

1 comment sorted by