Which GPU Is Good for AI?
For AI and deep learning, GPU choice depends on the software, model size, memory and budget. Start with one question: what do you want to run? Training a model from scratch, fine-tuning one, and running a finished model (inference) have very different needs.
Why VRAM comes first
The model weights have to fit into GPU memory (VRAM). If they do not fit, the model either fails to load or spills into system RAM and runs many times slower. Raw compute speed matters less than people expect. A slower GPU with enough memory beats a faster one without.
You estimate the memory for inference from the parameter count and the precision:
- 16-bit weights (FP16 or BF16) need 2 bytes per parameter. A 7 billion parameter model needs about 14 GB.
- 8-bit quantization needs about 1 byte per parameter, so roughly 7 GB for the same model.
- 4-bit quantization needs about half a byte per parameter, so roughly 4 GB.
Add a margin of 20 percent or more for the context window and runtime overhead. Training needs far more memory than inference, because the GPU also stores gradients and optimizer state. Full training of even a small model often needs several times the memory of the weights alone.
Why most people pick NVIDIA
NVIDIA GPUs have broad framework support through CUDA:
CUDA support. CUDA is NVIDIA’s parallel computing platform and programming model. AI frameworks such as PyTorch and TensorFlow support CUDA first, which makes NVIDIA GPUs the default target for most tutorials and libraries.
cuDNN library. NVIDIA provides cuDNN, a GPU-accelerated library for deep neural networks. Popular deep learning frameworks integrate cuDNN, so you get optimized kernels without extra work.
Wider adoption. The AI community uses NVIDIA GPUs most, so you find more resources, tutorials, prebuilt containers and answers to error messages.
AMD offers ROCm for GPU computing, with support depending on the GPU, operating system and framework version. Check the compatibility lists for your intended setup before you buy. Expect to spend more time on setup with AMD, though the gap has narrowed for common PyTorch workloads.
Apple Silicon as an alternative
Macs with Apple Silicon share one pool of memory between CPU and GPU. A Mac with 64 GB of unified memory can load models far larger than a laptop GPU with 8 or 16 GB of VRAM. Tools like llama.cpp and Apple’s MLX run models on the Mac GPU. For local inference of large language models, this is a practical option. For training and CUDA-only libraries, NVIDIA remains the safer choice.
Laptop GPUs available in 2023
This section describes examples available in 2023, not a current buying guide. The right GPU depends on the task, memory, laptop power limits and budget. NVIDIA released the RTX 4090 and 4080 laptop GPUs in February 2023 (announcement).
NVIDIA GeForce RTX 4090 and RTX 4080 Laptop GPUs. High-end 2023 models with 16 GB and 12 GB of standard GPU memory respectively. Actual laptop performance depends on power and cooling.
NVIDIA GeForce RTX 3070 Laptop GPU. An older model with 8 GB of memory, available at lower prices. Enough for small models and 4-bit quantized 7B language models, too small for most training.
AMD Radeon RX 6800M. One of AMD’s faster laptop GPUs of its generation, with 12 GB of memory. Check ROCm support for this exact chip and your operating system first.
Note: a laptop GPU with the same name as a desktop GPU is a different product. The desktop RTX 4090 has 24 GB of memory and a much higher power budget than the laptop RTX 4090.
Laptop, desktop or cloud?
A laptop GPU runs at a lower power limit and gets hot under long loads. For regular training jobs, a desktop GPU gives you more memory and speed for the money.
For occasional heavy work, rent a GPU in the cloud by the hour. You get access to data center GPUs with 40 or 80 GB of memory without buying one. Use your local machine for development and small experiments, and the cloud for the large runs.
Summary
For AI workloads, compare VRAM, framework support, power limits and independent benchmarks for the specific laptop or card. GPU names alone do not determine performance. Calculate the memory your model needs first, then pick the cheapest setup with enough of it.
Once your hardware runs, pick a framework. LangChain, LangGraph and LangSmith cover most LLM app needs. Planning an AI proof of concept? Contact me.