Short answer: yes, on a M3 Ultra 512 (512GB) at Q8_0. Long answer below.
Llama 3.1 405B has 405B parameters. At FP16 that's 810 GB of raw weights. Quantization shrinks that, but you also need budget for the KV cache (definition), framework overhead, and safety headroom. The rule of thumb: real usable budget on a card is roughly its nameplate VRAM minus 25%. That's how the table below was computed.
Smallest GPU that fits Llama 3.1 405B at any quant: M3 Ultra 512 at Q8_0.
Lossless inference needs 810 GB. Pick from multi-GPU only.
None of the showcase quants fit on a 24GB card. Step up.
Open the calculator pre-tuned for Llama 3.1 405B: ↗ /calc?model=llama-3-1-405b
// sign in with github to leave a comment. threads live in the repo's discussions tab.