在 Mac 上使用 Ollama 运行 DeepSeek-R1,并通过 Open-WebUI 提供 Web 端访问。
1. 安装 Ollama
Ollama官方:https://ollama.com/
Ollama 是一个轻量级的 AI 推理框架,支持本地运行 LLM(大型语言模型)。首先,下载并安装 Ollama。
mac原生工具brew安装ollama
[code]$ brew install --cask ollamaRunning `brew update --auto-update`...==> Auto-updated Homebrew!Updated 2 taps (homebrew/core and homebrew/cask).==> New Formulaebpmnlint gersemi i686-elf-grub kirimase org-formation rattler-index semver todoist x86_64-elf-grubcf-terraforming globstar immich-go largetifftools ov rhai sequoia-sqv trdsql yokecloudfoundry-cli gotz kafkactl lazyjournal pivy rpds-py sttr typioca yttfortitude hishtory kapp mox punktf sdl3_ttf tml unciv==> New Caskscandy-crisis font-winky-sans opera-air trae-cnconsul fuse-t pairpods ua-midi-controlfocu macskk pareto-security veracrypt-fuse-tfont-sf-mono-nerd-font-ligaturized nvidia-nsight-compute traeYou have 13 outdated formulae and 1 outdated cask installed.==> Downloading https://github.com/ollama/ollama/releases/download/v0.5.13/Ollama-darwin.zip==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/658928958/2dc24c17-0bc0-487a-92d1-0265efd65a14?X-Amz-Algorithm=AWS4-############################################################################################################################################################### 100.0%==> Installing Cask ollama==> Moving App 'Ollama.app' to '/Applications/Ollama.app'==> Linking Binary 'ollama' to '/opt/homebrew/bin/ollama'
来源:程序园用户自行投稿发布,如果侵权,请联系站长删除
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作! |