feat: add Mac (mps) support for AI engine #139
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
miloco_ai_engine主要修改点:

a.支持 MPS 设备:设备枚举新增 mps,自动优化时跳过 CUDA 显存探测,避免 macOS 上 nvidia-smi 报错。
b.新增构建脚本及文档更新
c.在mac mini m2上通过源码方式编译通过,并做验证:
在config/ai_engine_config.yaml(测试使用,未提交) 中新增本地 Qwen3-4B-Q4_K_M-local 示例(mps),可以正常工作