Automic VaultAutomic Vault

brew

使用 Homebrew 安装 mlx-lm

查看 mlx-lm 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mlx-lm

local Homebrew formula metadata

概览

软件包摘要

Run LLMs with MLX

命令和别名

  • mlx_lm
  • mlx_lm.awq
  • mlx_lm.benchmark
  • mlx_lm.cache_prompt
  • mlx_lm.chat
  • mlx_lm.convert
  • mlx_lm.dwq
  • mlx_lm.dynamic_quant
  • mlx_lm.evaluate
  • mlx_lm.fuse
  • mlx_lm.generate
  • mlx_lm.gptq
  • mlx_lm.lora
  • mlx_lm.manage
  • mlx_lm.perplexity
  • mlx_lm.server
  • mlx_lm.share
  • mlx_lm.upload

历史

项目历史与用法

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.

安全态势

风险级别:orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

信号

  • metadata:service
  • text:upload,server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 3 个平台目标。
  • 安装时包含 7 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mlx_lmcli全局可执行文件
mlx_lm.awqcli全局可执行文件
mlx_lm.benchmarkcli全局可执行文件
mlx_lm.cache_promptcli全局可执行文件
mlx_lm.chatcli全局可执行文件
mlx_lm.convertcli全局可执行文件
mlx_lm.dwqcli全局可执行文件
mlx_lm.dynamic_quantcli全局可执行文件
mlx_lm.evaluatecli全局可执行文件
mlx_lm.fusecli全局可执行文件
mlx_lm.generatecli全局可执行文件
mlx_lm.gptqcli全局可执行文件
mlx_lm.loracli全局可执行文件
mlx_lm.managecli全局可执行文件
mlx_lm.perplexitycli全局可执行文件
mlx_lm.servercli全局可执行文件
mlx_lm.sharecli全局可执行文件
mlx_lm.uploadcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.31.3
管理器更新时间2026-06-20
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖certifi, libyaml, mlx, numpy, protobuf, python@3.14, sentencepiece
构建依赖pkgconf, rust
Bottle可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemlx-lm
Version Scheme0
Revision2
Head VersionHEAD
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment