Original headline: “A 27B LLM model that fits in just 4GB of VRAM sounds impossible, but here we are”
Bonsai 27B needs 6GB or 8GB VRAM, not 4GB, for practical operation
The model's weights alone are 3.9GB but additional memory is required for KV cache and runtime buffers. With 4,000 context, peak memory is 5.2GB, and with 100,000 context, it reaches 11.6GB. Even with 4-bit quantization, 6.86GB is needed for 100,000 context.
- Minimum VRAM required
- 6GB or 8GB
- Context size impact
- 4,000 context needs 5.2GB VRAM; 100,000 context needs 11.6GB
- Quantization effect
- 4-bit KV-cache reduces 100,000 context requirement to 6.86GB
Depends on the conditions · Technology · MakeUseOf · · Read the original →
Last checked
A number! Thank you.