A rough estimate: 7B parameters at 16-bit is about 14 GB for the weights, plus memory for the KV cache and activations. So a GPU with around 16 GB is tight, and 24 GB is more comfortable. Quantized versions would use less, but check quality on your tasks.
A rough estimate: 7B parameters at 16-bit is about 14 GB for the weights, plus memory for the KV cache and activations. So a GPU with around 16 GB is tight, and 24 GB is more comfortable. Quantized versions would use less, but check quality on your tasks.