01 / QUICK ANSWER
Does SadTalker need a GPU?
No, but you will want one. SadTalker runs on any NVIDIA GPU with CUDA and falls back to the CPU when there is none. In our tests an 11-second clip took 28 seconds on an RTX 4090, 113 seconds on a free Colab T4, and about 85 minutes on a 2-vCPU CPU, all at 256 px.
02 / REQUIREMENTS
Minimum vs recommended
On a small screen, swipe the table sideways.
| Minimum (256 px, no enhancer) | Recommended (512 px + GFPGAN) | |
|---|---|---|
| GPU | NVIDIA with about 4 GB free (we measured 3.2–3.4 GB peak) | NVIDIA with 12 GB (we measured 8.2–10.0 GB peak) |
| No GPU | CPU works: about 85 min for an 11 s clip on 2 vCPUs | Use Google Colab’s free T4 instead |
| System RAM | 8 GB (the process used 3.4–5.2 GB) | 16 GB |
| Disk | About 8 GB (code and checkpoints 2.5 GB, Python environment 5–6 GB) | 10 GB free, plus room for outputs |
| Software | Python 3.8, Git, FFmpeg | Same, in its own Conda environment |
| Operating system | Linux, Windows or macOS | Linux or Windows with an NVIDIA driver |
03 / MEASURED
Speed and VRAM by GPU
On a small screen, swipe the table sideways.
| Machine | 256 px, no enhancer | 512 px + GFPGAN |
|---|---|---|
| RTX 4090 (24 GB) | 28 s · 4.7 GB | 119 s · 10.0 GB |
| RTX 3060 (12 GB) | About 42 s · 3.8–4.2 GB | About 3 min 15 s · 8.2–8.3 GB |
| Colab T4 (15 GB, free) | 113 s · 3.2 GB | 540 s · 8.5 GB |
| CPU only (2 vCPU, Colab) | About 85 min · 3.4 GB RAM | Not practical |
RTX 4090 figures are whole-card memory inside ComfyUI, so they include ComfyUI’s own usage. T4 and CPU figures are a fresh command-line run, including model loading. Full method: GPU benchmark, 256 vs 512 and our T4 test.
04 / NO GPU
Running SadTalker on the CPU only
Add --cpu to the command, or simply run it on a machine without CUDA; SadTalker switches to the CPU automatically.
python inference.py --source_image face.png --driven_audio voice.wav --size 256 --preprocess crop --cpuOn a Colab CPU runtime (2 vCPU AMD EPYC 7B12, 12 GB RAM), our 11.3-second clip took 1 hour 24 minutes, about 451× longer than the audio, with a peak of 3.4 GB of RAM. A modern desktop CPU with more cores will be faster, but still far slower than any CUDA GPU.
- Use 256 px and skip GFPGAN: GFPGAN restores every frame and multiplies CPU time.
- Keep clips short: time grows with the number of frames, at 25 per second of audio.
- Test with 3–5 seconds first before rendering a full script.
05 / APPLE SILICON
SadTalker on a Mac (M1, M2, M3)
SadTalker runs on Apple Silicon, on the CPU only. The official install guide was tested on an M1 Mac running macOS 13.3. SadTalker’s code chooses CUDA or the CPU; it has no Apple GPU (MPS) path, so the M-series GPU is not used.
conda create -n sadtalker python=3.8and activate it.pip install torch torchvision torchaudio, thenconda install ffmpeg.pip install -r requirements.txt, thenpip install dlib(macOS needs the original dlib).
Expect render times in minutes, as in the CPU test above. For anything longer than a short clip, the free T4 on Google Colab is much faster than a Mac, or follow our no-install guide.
06 / AMD
SadTalker on AMD GPUs (ROCm)
SadTalker is built and documented for NVIDIA CUDA. AMD GPUs are not officially supported, but there is a route on Linux:
- Use Linux with an AMD GPU that ROCm supports, and install ROCm.
- Install the ROCm build of PyTorch from pytorch.org instead of the CUDA build.
- Check
python -c "import torch; print(torch.cuda.is_available())"printsTrue. ROCm builds report AMD GPUs throughtorch.cuda, which is what SadTalker checks. - Install SadTalker’s other requirements and run it as normal.
On Windows with an AMD card, run on the CPU, or use Google Colab’s free NVIDIA T4.
07 / FREE GPU
Google Colab T4 specs for SadTalker
On a small screen, swipe the table sideways.
| Value | |
|---|---|
| GPU | NVIDIA Tesla T4, 15 GB (15,360 MiB) |
| SadTalker 256 px | 113 s · 3.2 GB GPU memory |
| SadTalker 512 px + GFPGAN | 540 s · 8.5 GB GPU memory |
| Disk used | Checkpoints 1.7 GB, GFPGAN weights 0.7 GB, Python environment 5.7 GB |
| Python | Colab ships Python 3.13; SadTalker needs a separate 3.8 environment |
Step-by-step setup and fixes are in our Google Colab guide.
08 / TROUBLESHOOTING
If you run out of memory
- Switch from 512 to 256 px; it roughly halves GPU memory.
- Turn GFPGAN off, or run it as a separate pass.
- Lower
--batch_size, close other GPU apps, and split long audio into shorter clips.
Full fixes: CUDA out of memory. Compare cards in the GPU benchmark, or price a rented GPU with the GPU cost calculator.
09 / QUICK HELP
Frequently asked questions
Does SadTalker require a GPU?
No, but it is much faster with one. SadTalker uses an NVIDIA GPU through CUDA when one is available and otherwise falls back to the CPU. On a 2-vCPU Colab CPU runtime our 11-second clip took about 85 minutes at 256 px, versus 113 seconds on a free T4 GPU.
How much VRAM does SadTalker need?
About 3–5 GB at 256 px and 8–10 GB at 512 px with GFPGAN, in our tests. A 6–8 GB card handles 256 px; a 12 GB card runs every setting.
Can SadTalker run on 4 GB of VRAM?
Our 256 px runs peaked at 3.2–3.4 GB of GPU memory in a clean process, so a 4 GB card is at the limit. Close other GPU apps, use 256 px, skip GFPGAN and keep clips short.
Does SadTalker work on an M1 or M2 Mac?
Yes, but only on the CPU. The official install guide was tested on an M1 Mac, and SadTalker’s code picks CUDA or the CPU; it has no Apple GPU (MPS) path. Expect render times in minutes, not seconds. Google Colab’s free T4 is much faster.
Does SadTalker support AMD GPUs?
Not officially. On Linux, PyTorch’s ROCm build exposes supported AMD GPUs through the same torch.cuda interface SadTalker checks, so it can run there without code changes. On Windows, use the CPU, WSL with an NVIDIA card, or Colab.
How much RAM and disk does SadTalker need?
In our runs the process used about 3.4–5.2 GB of system RAM. A full install with checkpoints and the Python environment took about 8 GB of disk. Plan for 16 GB of RAM and 10 GB of free space.
What is the best GPU for SadTalker?
For value, a 12 GB card such as the RTX 3060 runs every mode. An RTX 4090 renders an 11-second clip in 28 seconds at 256 px and about 2 minutes at 512 px with GFPGAN.
SOURCES
- Our runs: RTX 4090 (ComfyUI, 4 Oct 2026), RTX 3060 12 GB, Colab T4 (24 Nov 2026) and Colab CPU (25 Nov 2026)
- SadTalker official repository: inference.py device selection and docs/install.md (macOS)
- Related: open-source digital human stack and local install guide