Skip to content

Say which engines the macOS build has (#632) - #1115

Open
peteonrails wants to merge 2 commits into
fix/430-1047-install-aware-messagesfrom
fix/632-macos-engines
Open

peteonrails wants to merge 2 commits into
fix/430-1047-install-aware-messagesfrom
fix/632-macos-engines

Conversation

@peteonrails

@peteonrails peteonrails commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #1116 (fix/430-1047-install-aware-messages); retarget to dev when #1116 merges.

The released macOS binary is Whisper and Soniox only. .github/workflows/build-macos.yml builds both architectures with cargo build --release --features gpu-metal, which adds Metal to whisper-rs and nothing else. Default features (itn) bring no engine, Whisper and Soniox are compiled unconditionally, and every other engine (Parakeet, Moonshine, SenseVoice, Paraformer, Dolphin, Omnilingual, Cohere, GGUF, OpenVINO) sits behind a Cargo feature the workflow does not pass. scripts/build-macos.sh builds ONNX engines against Microsoft's ONNX Runtime, but the release workflow does not use it and CI's macos-check builds default features only, so this PR does not tell anyone to rebuild with features on macOS.

Docs. INSTALL.md and the website's install note said every engine works on macOS through ONNX Runtime. INSTALL_MACOS.md recommended Parakeet as the first model, showed engine = "parakeet" in its sample config and offered a --features parakeet source build. These now say what the macOS build includes, and INSTALL_MACOS.md gains an "Available Engines" section and a troubleshooting entry. README, CONFIGURATION.md and USER_MANUAL.md get a one-line macOS note in their engine sections. MACOS_ARCHITECTURE.md and the FAQ's Metal line are corrected. Old news posts are left as they are.

Messages. On macOS, install_hint::Host::system() now returns a new Hint::MacosLinuxOnly: "run voxtype on Linux. The macOS build includes only the Whisper and Soniox engines; the other engines are Linux-only for now". That covers setup onnx --enable/--status, the model picker, meeting start --engine and the startup mismatch notice and doctor (via a new first arm in VariantMismatch::explanation). voxtype config set engine <x> and engine-scoped keys, the daemon's engine-unavailable notification, and voxtype info variants get the same wording through cfg!(target_os = "macos") branches. Linux output is unchanged.

Tests. macos_hint_names_the_macos_engines runs on every platform against a host flagged as macOS. The macOS-only tests (this_macos_host_gives_the_macos_hint, macos_refusal_names_the_macos_engines, engine_missing_from_macos_build_names_its_engines) run in macos-check. The two Linux-wording tests were made platform-aware so they keep passing there. Locally: cargo fmt --check, cargo clippy --all-targets -D warnings and the install_hint, config_set, failure_notice and variant_check tests (91) pass on Linux. I could not build for macOS here, so macos-check is the first macOS compile.

Full engine support on macOS (ONNX or GGUF in the release) is separate work and is not part of this PR.

Not changed here: the Swift setup app (macos/VoxtypeSetup/.../ModelsSettingsView.swift) still lists Parakeet models, and the in-repo packaging/homebrew cask and formula are stale 0.6.0-rc1 files that download Parakeet or build with --features parakeet.

Reported by @TorScha, whose detailed write-up covered the DMG, the Homebrew cask and the app bundles.

Fixes #632

@peteonrails
peteonrails force-pushed the fix/632-macos-engines branch from 976666d to 48c008b Compare November 22, 2026 19:17
@peteonrails
peteonrails changed the base branch from dev to fix/430-1047-install-aware-messages November 22, 2026 19:17
The macOS workflow builds with --features gpu-metal alone, so the DMG and
Homebrew binaries carry Whisper (with Metal) and Soniox and nothing else.
INSTALL.md, the website and INSTALL_MACOS.md said every engine was there,
recommended Parakeet as the first model, and offered a Parakeet source
build that is not part of the release or tested on macOS. Say plainly what
the macOS build includes, and that the other engines are Linux-only for now.

Fixes #632
When a macOS user picked an engine the release binary lacks, voxtype told
them to rebuild with a Cargo feature, run `sudo voxtype setup onnx --enable`,
or install a Linux variant. None of those exist on macOS: the release is
built with gpu-metal only and has no variants. The install hint, the
daemon's startup and failure notices, `voxtype config set` and
`voxtype info variants` now say the macOS build includes only Whisper and
Soniox and the other engines are Linux-only for now.

The macOS branch is chosen by Host::system() and cfg!, so Linux wording is
unchanged and the hint logic is unit tested on every platform.

Fixes #632
@peteonrails
peteonrails force-pushed the fix/430-1047-install-aware-messages branch from 2987037 to 4cb4756 Compare November 25, 2026 17:44
@peteonrails
peteonrails force-pushed the fix/632-macos-engines branch from 48c008b to ac00403 Compare November 25, 2026 17:47

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] macOS packages offer only Whisper and do not include the documented ONNX engine support

1 participant