# vMLX

一款用于在 Apple Silicon 上运行本地 AI 模型的 macOS 应用。

> 这是 OpenNavo 上 vMLX 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/vmlx>

- **最新版本**: `1.6.85`
- **开发者**: JANGQ AI
- **主页**: <https://mlx.studio/>
- **分类**: [AI 工具](https://opennavo.com/zh/categories/ai)
- **安装**: `brew install --cask vmlx`
- **近 30 天安装**: 77
- **Homebrew**: 可以安装，应用会自行更新
- **下载地址**: <https://github.com/jjang-ai/mlxstudio/releases/download/v1.6.85/vMLX-1.6.85-sequoia-arm64.dmg>
- **SHA-256**: `c0c5cb2740ae6ce73b6e6dc8d5df639c55f3b7c1bf34dfcdb6b6e72e33bc656f`

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "net.vmlx.app"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "vMLX.app"
      ],
      "target": "/Applications/vMLX.app"
    },
    "phase": "install",
    "sources": [
      "vMLX.app"
    ],
    "target": "/Applications/vMLX.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/net.vmlx.app.sfl*",
            "~/Library/Application Support/vmlx",
            "~/Library/Preferences/net.vmlx.app.plist"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

此 Homebrew cask 会将 `vMLX.app` 安装到 `/Applications`。产品主页将 MLX Studio 描述为应用，将 vMLX 描述为其推理引擎。

- 此 cask 提供 macOS 应用程序，不是通过 Homebrew 安装引擎的命令行版本。
- 适用于 64 位 Apple Silicon Mac。
- 产品主页注明需要 macOS 14.5 或更高版本。

运行 `brew install --cask vmlx` 安装。安装后，可从“应用程序”中打开 `vMLX.app`。

来源：[vMLX / MLX Studio](https://mlx.studio/) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/v/vmlx.rb)

## 系统要求

- macOS 14 起 · 应用版本: 1.6.85 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/v/vmlx.rb> · 核查于 2026-11-23
  - <https://github.com/jjang-ai/mlxstudio/releases/download/v1.6.85/vMLX-1.6.85-sequoia-arm64.dmg>
  - SHA-256: `c0c5cb2740ae6ce73b6e6dc8d5df639c55f3b7c1bf34dfcdb6b6e72e33bc656f`

## 卸载

- `brew uninstall --cask vmlx`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask vmlx`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/net.vmlx.app.sfl*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/v/vmlx.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-23；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Application Support/vmlx` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/v/vmlx.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-23；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Preferences/net.vmlx.app.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/v/vmlx.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-23；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 20260415-0612-prerelease (2026-04-15)

First notarized dev build of the Swift vMLX rewrite.

**What works (live-verified):** model loading + generation on
`mlx-community/Llama-3.2-1B-Instruct-4bit`,
`mlx-community/Qwen3-0.6B-8bit`, and
`mlx-community/gemma-4-e2b-it-4bit` via the bundled `vmlxctl` CLI
path (the same engine the SwiftUI app drives).

**Critical fix landed today:** metallib bundling — every model load
was failing with `Failed to load the default metallib` because the
`SWIFTPM_BUNDLE` name was stale. Fixed in `Package.swift` + new
`scripts/stage-metallib.sh`.

**DFlash v2 landed:** full speculative-decoding pipeline wired through
the Engine — coordinator-aware prefix cache reuse, drafter auto-load
+ shape validation, `/admin/dflash/{status,load,unload}`, UI toggle
on Server session config, target adapters for MiniMax / Mistral 4 /
DeepSeek V3.

**F-G1..F-G5** cross-family correctness fixes: SSMStateCache mediaSalt
(Qwen3.5-VL hybrid multi-turn), BaichuanM1 CacheList disk walker,
Llama 4 dedicated model class (iRope + MoE + ChunkedKVCache), Gemma 3
tool parser, Gemma 3 mixed-SWA detection.

**Known limitations / next steps:**
- `MXTQ PRNG mismatch` vs Python writer — affects some MXTQ bundles.
- `Engine.LoadOptions` default cache knobs diverge from `GlobalSettings`.
- F-G6..F-G23 tracked in `SWIFT-PER-FAMILY-MATRIX-2026-04-15.md`.

See `PROGRESS.md` on the `dev` branch of jjang-ai/vmlx for the
full session log.

## 资料与来源

- <https://opennavo.com/zh/apps/vmlx>
- <https://opennavo.com/zh/apps/vmlx/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/v/vmlx.rb> · 核查于 2026-11-23
- <https://formulae.brew.sh/cask/vmlx>
