feat(val-blog): add 2026-04-30 dream journey post

This commit is contained in:
Chen Gu
2026-08-13 17:00:22 +08:00
committed by Chen Gu
parent 691f96e8a6
commit 81978704fc
941 changed files with 195468 additions and 755 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/bin/bash
# install-llama-cpp.sh - 在 Intel Mac 上安装优化版 llama.cpp
set -e
echo "=== 安装 llama.cpp (Intel Mac 优化版) ==="
# 方式1: 通过 Homebrew 安装(最简单)
if command -v brew &> /dev/null; then
echo "通过 Homebrew 安装..."
brew install llama.cpp
echo "✅ Homebrew 安装完成"
else
echo "⚠️ 未检测到 Homebrew,建议先安装: https://brew.sh"
echo "或使用方式2手动编译"
fi
echo ""
echo "=== 安装后验证 ==="
which llama-cli || echo "llama-cli 未找到"
which llama-server || echo "llama-server 未找到"
echo ""
echo "=== 下一步 ==="
echo "1. 下载模型: 运行 download-model.sh"
echo "2. 启动服务: 运行 start-server.sh"