Re:Code Llama, an AI tool for coding
by FrozenSynapse on Friday August 25, 2023 @04:35AM
(#37259445)
how much VRAM do you need to run quantised 7b model?
[ Parent
| on HN ]
Re:Code Llama, an AI tool for coding
by RossBencina on Friday August 25, 2023 @05:12AM
(#37259635)
Rough calculation: typical quantization is 4 bit, so 7b weights fit in in 3.6GB, then my rule of thumb would be 2GB for the activations and attention cache (not usually quantized). So 6 or 8 GB VRAM would probably do it. llama.cpp will let you offload your choice of layers to GPU, so you could probably get quite a way with 4GB.