How to run DeepSeek R1 locally
This isn't that hard to do and I am here to give you a simple script.
Prerequisites
Steps
# Install Ollama
docker pull ghcr.io/open-webui/open-webui:ollama
# Run Ollama
$cid = $(docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama)
# Add Deepseek R1: latest
docker exec $cid ollama run deepseek-r1:latest
Director, Strategic Operations (CSD) at NTT DATA, Inc.
1 个月Is it safe?