Home
Softono

Deepseek Local

Open source Python
14
Stars
13
Forks
0
Issues
1
Watchers
1 year
Last Commit

 About Deepseek Local

My DeepSeek-R1 local machine test.

Platforms

Web Self-hosted Docker

Languages

Python

Links

Need Help Installing Deepseek Local?

We provide expert installation service for this software. Our team will install, configure, and secure Deepseek Local on your server. plans start at just $30.

Deepseek Local

View on GitHub

Ollama DeepSeek-R1 Local Machine Guide

This repository provides instructions for setting up Ollama with the DeepSeek-R1 model for local LLM interactions. This setup serves as a foundation for Python script integration and n8n workflow automation.

Overview

Ollama enables local execution of large language models with:

  • GPU acceleration support
  • Simple CLI interface
  • REST API for application integration
  • No data transmission to third-party services

Installation

Download and install Ollama from the official website

Using Ollama DeepSeek-R1 Natively

To run the DeepSeek-R1 model:

  1. Start the Ollama Server:
ollama serve
  1. Install and run the model:
ollama run deepseek-r1:7b

Using Ollama DeepSeek-R1 with Docker

The setup includes several services working together:

  • Ollama Server: LLM inference engine (port 11434)
  • OpenWeb UI: Web interface for Ollama (port 3000)
  • n8n: Workflow automation platform (port 5678)
  • Qdrant: Vector database for embeddings (ports 6333, 6334)
  • PostgreSQL: Database for n8n (port 5432)

Starting the Services

  1. Start all containers:
docker compose up -d

The DeepSeek-R1 7B model will be automatically downloaded and loaded when the container starts.

  1. Access the services:

To stop the containers:

docker compose down

Data persistence:

  • Model data: ollama-model-cache volume
  • n8n data: n8n-data volume
  • OpenWeb UI data: open-webui-data volume
  • PostgreSQL data: postgres-data volume
  • Qdrant data: qdrant-data volume

GPU Support (Optional)

To enable GPU support:

  1. Uncomment the GPU-related sections in docker-compose.yml
  2. Change OpenWeb UI image to ghcr.io/open-webui/open-webui:cuda

Additional DeepSeek-R1 Models

Browse additional models in the Ollama DeepSeek Library.

Integration Examples

Community & Support