All postsTag
#hugging-face
4 posts
November 2, 2026
Run a Hugging Face model on your Mac with MLX
Install mlx-lm in a Python venv, run a model from the mlx-community org on Apple silicon, pick 4-bit or 8-bit for your Mac's memory, and convert your own model, with real speed and memory numbers from an M4.
November 2, 2026
用 MLX 在 Mac 上运行 Hugging Face 模型
在 Python 虚拟环境里安装 mlx-lm,在 Apple 芯片上运行 mlx-community 的模型,按内存选 4 位还是 8 位,并自己转换模型,附 M4 上实测的速度和内存。
November 2, 2026
Using a Hugging Face model in an iOS app
Three ways to put a Hugging Face model in an iOS app: a ready Core ML package, a conversion with coremltools, or MLX Swift for language models. Xcode steps, size, licenses and the privacy angle, with Swift that type-checks.
November 2, 2026
在 iOS App 中使用 Hugging Face 模型
把 Hugging Face 模型放进 iOS App 的三条路:现成的 Core ML 包、用 coremltools 转换、或用 MLX Swift 跑语言模型。含 Xcode 步骤、体积、许可证与隐私,Swift 代码均已通过类型检查。