Operating System : Linux Ubuntu 20.04 or later or Windows 1011 with WSL2.
Python : version 3.8 or higher.
CUDA : version 11.2 or higher for GPU acceleration.
Deep learning framework : PyTorch or TensorFlow, depending on your preference.
Now that we've covered why it's beneficial to run DeepSeek-R1 locally, let's look at how you can do it.
1. Steps to Run DeepSeek-R1 Locally Ollama Method
How to Run DeepSeek-R1 Locally
Step 1: Installing Ollam
Ollama is a lightweight tool that makes it easy peru mobile database to run large language models like DeepSeek-R1 on your own machine. It is free and compatible with various operating systems, including Windows , Mac , and Linux . Follow these steps to install Ollama:
Download Ollama : Visit the official Ollama website and download the installer for your operating system.
Install Ollama : Run the downloaded installer and follow the on-screen instructions to complete the installation.
Check the installation : After the installation is complete, open a command prompt or terminal and type ollama. If the installation is correct, you will see a list of available commands.
Step 2: Download DeepSeek-R1 model
How to Run DeepSeek-R1 Locally
Once Ollama is installed, you can now download the DeepSeek-R1 model .