You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在macOS 10.12系统上运行Core ML模型?

Core ML 系统支持说明

苹果官方文档明确Core ML仅支持macOS 10.13及以上版本:
Core ML 版本支持截图

问题

如何在macOS 10.12系统上运行Core ML模型?


在Ubuntu环境下创建Core ML模型的示例

以下操作已在Ubuntu 20.04系统(Python 3.10 + torch 2.3.1环境)中验证可行,使用Hugging Face的Exporters库创建Core ML模型:

git clone https://github.com/huggingface/exporters.git
cd exporters
pip install -e .
python -m exporters.coreml --model=distilbert-base-uncased exported/ --quantize=float32 

内容的提问来源于stack exchange,提问作者Franck Dernoncourt

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.21 13:55:02