【deepseek】在deepin系统上部署运行deepseek-r1
环境配置

LM-Studio

- 修改“镜像源”
cd /opt/apps/ai.lmstudio/files/LM_Studio/resources/app/.webpack/main
使用vscode打开进行编辑,
-
./resources/app/.webpack/main/index.js
-
./resources/app/.webpack/main/llmworker.js
-
./resources/app/.webpack/main/worker.js
-
./resources/app/.webpack/renderer/main_window/index.js、
打开上述列出的四个 .js 文件,使用vscode查找 huggingface.co,并将其全部替换为 hf-mirror.com。

ollama
-
https://ollama.com/download
curl -fsSL https://ollama.com/install.sh | sh
效果测试:


Talk is cheap. Show me the code


浙公网安备 33010602011771号