
Mac上的Strata qwen3.8 flash-next Q5_K_M 在M5 Max 128G 統一記憶體上的表現:
模型身本記憶體用量差不多80G (再加上系統大概110G 左右)
放不下的專家部份由SSD串流(可看到SSD的讀取驚人)
Strata的Web介面Monitor數值,平均token數,每秒30~60token數

Mac上的Strata qwen3.8 flash-next Q5_K_M 在M5 Max 128G 統一記憶體上的表現:
模型身本記憶體用量差不多80G (再加上系統大概110G 左右)
放不下的專家部份由SSD串流(可看到SSD的讀取驚人)
Strata的Web介面Monitor數值,平均token數,每秒30~60token數

Codex-CLI 接本地模型 (qwen3.6:latest or gemma4 31b)
Terminal中輸入:ollama launch codex
如果出現:
Error loading config.toml: --profile `ollama-launch` cannot be used while /Users/{{user}}/.codex/config.toml contains legacy `profile = "ollama-launch"` or `[profiles.ollama-launch]` config; move those settings into /Users/bosian/.codex/ollama-launch.config.toml and remove the legacy profile selector/table. See https://developers.openai.com/codex/config-advanced#profiles for more information.
Error: exit status 1

OpenClaw (龍蝦),接地端模型,
在macOS中,使用Parallels desktop 建立macOS 虛擬機,
在裡面(macOS虛擬機中),安裝OpenClaw,
然後接Host(外面),Ollama中的地端模型。
中間遇到一些問題:

mcp config json 主要是參考這篇:https://dev.to/arshtechpro/xcode-263-use-ai-agents-from-cursor-claude-code-beyond-4dmi
Xcode 設定中打開Xcode tools (MCP server):
複製MCP config json:
{"mcpServers":{"xcode-tools":{"command":"xcrun","args":["mcpbridge"]}}}![[Swift] Swift 6.2 改善開發者體驗 [Swift] Swift 6.2 改善開發者體驗](https://pic.pimg.tw/lbt95/1759677137-3722807408-g_n.png)
當初 Swift 5 -> Swift 6 時,
開發者需面臨必加的3樣東西
1.nonisolated (不是在當前的context,通常為非MainThread場景)
2.@MainActor (標記為 回來的context為MainThread),
3.MainActor.assumeIsolated { // 放置必需在MainThread中執行的程式的同步方法,缺點是進來的如果 非MainThread 則會 Crash }
![[iOS] 使用Github action包版 [iOS] 使用Github action包版](https://pic.pimg.tw/lbt95/1755868053-3014863697-g_n.png)
大部份由ChatGPT產生及從中學習,另一部份參考自 之前的文章 shell script 包版,及同事的yml sample
dev.yml 如下:
name: "dev.yml"
on:
# 手動觸發包版
Script 及readme.md 由ChatGPT產生
在切branch, pull, merge時,會自動 pod install
一次性安裝 (雙擊 setup_hooks.command 安裝 git hook)
![[Xcode cloud] CI script 由 Chat [Xcode cloud] CI script 由 Chat](https://pic.pimg.tw/lbt95/1753536027-4193036106-g.png)
想要在Xcode cloud clone git repo下來的時候,都會安裝 cocoapods 及 pod install,避免build失敗
git repot 放置位置: `ci_scripts/ci_post_clone.sh`
# ci_post_clone.sh
#!/bin/sh
echo "✅ [ci_post_clone.sh] 開始安裝 CocoaPods 和 Bundler..."