macOS
brew install mlx-lmlocal Homebrew formula metadata
安装
brew install mlx-lmlocal Homebrew formula metadata
概览
Run LLMs with MLX
历史
MLX LM is the language-model layer built on top of Apple's MLX array framework. The upstream project describes it as a Python package for generating text and fine-tuning large language models on Apple silicon with MLX. It packages common local-LLM workflows into command-line tools and Python APIs: generation, chat, model conversion, quantization, LoRA and full fine-tuning, benchmarking, prompt caching, upload/share flows, and a local server.
Its ecosystem role is to make MLX usable for Hugging Face-style LLM work without each user wiring model loading, tokenization, generation loops, quantization, and fine-tuning scripts by hand. The README highlights Hugging Face Hub integration, quantizing and uploading models, low-rank and full fine-tuning with quantized models, and distributed inference and fine-tuning through MLX distributed support. The MLX examples repository points users from earlier LLM examples to MLX LM as the more fully featured package.
Adoption is tied to the Apple-silicon local-model community. The MLX Community organization on Hugging Face hosts ready-to-use model weights for MLX LM and related MLX projects, and Apple's WWDC material presents MLX LM as the package for running and fine-tuning large language models on Macs. In Homebrew it is a convenience package for users who want the MLX LLM command suite installed as normal CLI tools rather than only through Python packaging.
安全态势
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mlx_lm | cli | 全局可执行文件 | |
mlx_lm.awq | cli | 全局可执行文件 | |
mlx_lm.benchmark | cli | 全局可执行文件 | |
mlx_lm.cache_prompt | cli | 全局可执行文件 | |
mlx_lm.chat | cli | 全局可执行文件 | |
mlx_lm.convert | cli | 全局可执行文件 | |
mlx_lm.dwq | cli | 全局可执行文件 | |
mlx_lm.dynamic_quant | cli | 全局可执行文件 | |
mlx_lm.evaluate | cli | 全局可执行文件 | |
mlx_lm.fuse | cli | 全局可执行文件 | |
mlx_lm.generate | cli | 全局可执行文件 | |
mlx_lm.gptq | cli | 全局可执行文件 | |
mlx_lm.lora | cli | 全局可执行文件 | |
mlx_lm.manage | cli | 全局可执行文件 | |
mlx_lm.perplexity | cli | 全局可执行文件 | |
mlx_lm.server | cli | 全局可执行文件 | |
mlx_lm.share | cli | 全局可执行文件 | |
mlx_lm.upload | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ml-explore/mlx-lm
安装元数据
| 软件包键 | brew:mlx-lm |
|---|---|
| 版本 | 0.31.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mlx-lm |
| 主页 | https://github.com/ml-explore/mlx-lm |
| 仓库 | https://github.com/ml-explore/mlx-lm |
| 上游文档 | https://github.com/ml-explore/mlx-lm/blob/main/README.md |
| 许可证 | MIT |
| 源码归档 | https://files.pythonhosted.org/packages/84/94/9a38d6b0c6fcca995b9136c94eb7da1e9c5165652edf228b96b29960fa7a/mlx_lm-0.31.3.tar.gz |
| 最后更新 | 2026-06-20T05:07:43Z |
| Pulse | updated |
| 依赖 | certifi, libyaml, mlx, numpy, protobuf, python@3.14, sentencepiece |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mlx-lm |
| Version Scheme | 0 |
| Revision | 2 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.