当前位置: 首页 > news >正文

rk3576上部署deepseek

1. 部署方式

deepseek的部署方式有两种:

1.开发板内直接部署,这种方式简单快捷,但是没有用上rk芯片的npu性能,完全使用CPU来进行推理

2.使用RKLLM 软件堆栈将 AI 模型部署到 Rockchip 芯片上

2. 开发板部署Deepseek-r1模型

部署流程:

  1. 安装必要命令;
  2. 安装 ollama
  3. 部署 deepseek

2.1 安装必要命令

安装curl

#升级软件
sudo apt-get update
#安装curl
sudo apt-get install curl
通过以上两条指令,完成了curl命令的安装。

2.2 安装 ollama

打开ollama

在这里插入图片描述

运行上图所示指令:

curl -fsSL https://ollama.com/install.sh | sh
>>> Installing ollama to /usr/local
>>> Downloading Linux arm64 bundle
######################################################################## 100.0%
>>> Creating ollama user...
>>> Adding ollama user to render group...
>>> Adding ollama user to video group...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
Created symlink /etc/systemd/system/default.target.wants/ollama.service → /etc/systemd/system/ollama.service.
>>> The Ollama API is now available at 127.0.0.1:11434.
>>> Install complete. Run "ollama" from the command line.
WARNING: No NVIDIA/AMD GPU detected. Ollama will run in CPU-only mode.

2.3 部署 deepseek

ollama 的官网上,选择 "Models"

在这里插入图片描述

1.5B的模型大概1.1G,复制指令黏贴到命令行里,就可以自动开始下载了

$ollama run deepseek-r1:1.5b
pulling manifest
pulling aabd4debf0c8... 100% ▕▏ 1.1 GB
pulling 369ca498f347... 100% ▕▏  387 B
pulling 6e4c38e1172f... 100% ▕▏ 1.1 KB
pulling f4d24e9138dd... 100% ▕▏  148 B
pulling a85fe2a2e58e... 100% ▕▏  487 B
verifying sha256 digest
writing manifest
success

2.4 测试deepseek

开发板下载deepseek完成后使用命令打开:

How to earn an annual salary of millions
<think>

</think>

To earn an annual salary of millions, the approach will depend on several factors such as your industry, work location, and level of experience. Here are some general strategies:

### 1. **High-Paying Jobs**
   - **Specialization:** Work in industries with high demand for specialized skills.
   - **Location:** Consider working remotely or in a high-demand region.
   - **Experience:** Look into roles that require exceptional technical expertise and strategic thinking.

### 2. **Online Courses and Training Programs**
   - **Specialized Training:** Enroll in online courses or certifications related to your desired field, such as data science, engineering, finance, or law.
   - **Skill Development:** Focus on acquiring advanced skills through platforms like Coursera, Udemy, or LinkedIn Learning.

### 3. **Consulting and High-Stakes Work**
   - **Consulting Services:** If you have a bac

相关文章:

  • systemverilog刷题小记
  • CodeGPT 使用教程(适用于 VSCode)
  • Kafka 简介
  • 波导阵列天线 学习笔记9 使用紧凑高效率馈网的宽带圆极化阵列天线
  • 【面试题】2025.02.19-前端面试题汇总
  • 图论(四):图的中心性——度中心性介数中心性紧密中心性
  • 学习总结2.19
  • 【小白学HTML5】一文讲清常用单位(px、em、rem、%、vw、vh)
  • “深入浅出”系列之C++:(24)ZeroMQ库
  • 炫酷动效登录页
  • DeepSeek学术指南:DeepSeek在文献综述中的能力分享!
  • 练习题 - DRF 3.x Parsers 解析器使用示例和配置方法
  • golang--字符串处理(runeleixing )
  • Idea24.3 如何设置Git忽略某一个文件
  • Luckfox Pico Max运行RKNN-Toolkit2中的Yolov5 adb USB仿真
  • Winform(C#) 项目保存页面
  • 写一个python组件
  • 基于Springboot的网上服装商城系统【附源码】
  • ok113i——交叉编译音视频动态库
  • 【架构】微内核架构(Microkernel Architecture)
  • 卢正已任上海市司法局党委委员、副局长
  • 未来之城湖州,正在书写怎样的城市未来
  • 领证不用户口本,还需哪些材料?补领证件如何操作?七问七答
  • 烈士沈绍藩遗孤、革命家帅孟奇养女舒炜逝世,享年96岁
  • 援藏博士张兴堂已任西藏农牧学院党委书记、副校长
  • 复旦发文缅怀文科杰出教授裘锡圭:曾提出治学需具备三种精神