← العودة للمقالات التقنية

تشغيل DeepSeek-R1 و Qwen 2.5 على خوادم خاصة باستخدام vLLM و PagedAttention



Self-Hosting DeepSeek-R1 and Qwen 2.5 on Private GPUs with vLLM and PagedAttention

The release of DeepSeek-R1 and Qwen 2.5 Coder has completely shifted the economics of AI. Open-weight reasoning models now match or exceed proprietary models on coding and mathematical benchmarks, giving engineering teams the power to run frontier-tier AI entirely behind their corporate firewall.

In this technical walkthrough, I detail how to deploy DeepSeek-R1 Distill and Qwen 2.5 models on private GPU nodes (NVIDIA A10G / L40S) using vLLM to maximize token generation throughput via PagedAttention.

Deploying vLLM with Docker and OpenAI-Compatible API

docker run --gpus all --shm-size 16g -p 8000:8000 -v ~/.cache/huggingface:/root/.cache/huggingface vllm/vllm-openai:latest --model deepseek-ai/DeepSeek-R1-Distill-Qwen-14B --max-model-len 8192 --gpu-memory-utilization 0.95 --enforce-eager

هل تواجه تحديات تقنية أو ترغب في ضبط وتأمين خوادمك في السعودية والخليج؟

أقدم استشارات هندسية متخصصة في هندسة المنصات، كوبرنيتيس المستقل، ضبط أداء بوستجريس، وحماية الأنظمة في الرياض، جدة، دبي، الدوحة، ومسقط.

استشارات هندسة البنية التحتية والأنظمة

هل تحتاج مهندس بنية تحتية أول لضبط أداء واستقرار خوادمك؟

من خوادم Kubernetes المستقلة ونظام Talos Linux إلى معالجة اختناقات PostgreSQL وحلول الذكاء الاصطناعي السيادي، أعمل مباشرة مع فرق الإنتاج لبناء بيئات تقنية متماسكة وعالية الاعتمادية.