pkg.soopen package index

brew / 排名 1807

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
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可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本0.31.3
管理器更新时间2026-06-20
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:mlx-lm
版本0.31.3
软件包管理器Homebrew
主页https://github.com/ml-explore/mlx-lm
仓库https://github.com/ml-explore/mlx-lm
最后更新2026-06-20T05:07:43Z
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation