canirunthismodel

Can I run DeepSeek-R1-Distill-Qwen-7B on a NVIDIA RTX 4090?

Yes.Runs

You can run this comfortably. On a NVIDIA RTX 4090 (24 GB VRAM), DeepSeek-R1-Distill-Qwen-7B needs about 19 GB (FP16) and should generate at roughly ~42 tok/s. Recommended: Run on your GPU with FP16.

deepseek-ai/DeepSeek-R1-Distill-Qwen-7B

Why

How to run DeepSeek-R1-Distill-Qwen-7B on a RTX 4090

Serve with vLLM (OpenAI-compatible API)
# Fast production serving on http://localhost:8000/v1
vllm serve deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
Python (Transformers)
from transformers import pipeline
pipe = pipeline("text-generation", model="deepseek-ai/DeepSeek-R1-Distill-Qwen-7B", device_map="auto")
print(pipe("Hello", max_new_tokens=50))

Want it to run comfortably at higher precision? The smallest GPU that runs DeepSeek-R1-Distill-Qwen-7B well is the NVIDIA RTX 5090 (32 GB).

Try the full analyzer

DeepSeek-R1-Distill-Qwen-7B on other GPUs

Other models on a RTX 4090