Repository navigation
Give install-aware fixes on Nix and in the model picker - #1116
Open
peteonrails wants to merge 2 commits into
Open
peteonrails wants to merge 2 commits into
peteonrails wants to merge 2 commits into
Conversation
`voxtype setup gpu --enable` on NixOS failed with "The voxtype-vulkan binary was not found in /usr/lib/voxtype", and `setup gpu` reported a "simple (source build)" install with a broken symlink. A Nix install has no /usr/lib/voxtype and no variants to switch: each flake package is one fixed build in the read-only store, so the only fix is another package. Recognize a binary running from /nix/store and, on such an install, have setup gpu/onnx --enable/--disable and setup variant refuse with the flake package to install (programs.voxtype.package or nix profile install). setup gpu/onnx status, info variants, the TUI variant panel and engine picker, and the variant-mismatch notice name the flake packages instead of rebuild or symlink advice. The install hint every surface shares gains a Nix case, so the missing-engine messages pick it up too. A package install without the Vulkan build now gets its install-specific fix instead of a bare "not found". Fixes #430
`voxtype setup --model` told everyone missing an engine to run `cargo build --features ...`, which is wrong for deb, rpm, AUR and Nix users. It now prints the same install-aware fix as the model picker: switch to the installed ONNX variant, add the variant to an AUR build, reinstall the package, install the Nix flake package, and only for a source build, rebuild with the feature. `setup npu --enable` and the GGUF branch of setup get the same treatment. GGUF models now show their decoder (TDT, RNN-T, CTC, transformer, LLM) in the `setup model` picker and in `voxtype models`, text and JSON. The TUI keeps hiding the Decoder type setting for a .gguf model, as dcbeab7 intended: parakeet.model_type does nothing for a GGUF file, which carries its own architecture, so the decoder is shown as information in the lists rather than as a setting. A curated GGUF that does not support the configured language now says which languages it has and both ways out: set gguf.language to one of them, or switch to a model that supports the requested language. Fixes #1047
peteonrails
force-pushed
the
fix/430-1047-install-aware-messages
branch
from
November 25, 2026 17:44
2987037 to
4cb4756
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Messages that assumed the wrong install type now give the fix for the install the user actually has.
#430, Nix. On a binary running from
/nix/store,setup gpu --enable/--disable,setup onnx --enable/--disableandsetup variantno longer report a missing/usr/lib/voxtype. They change nothing and name the flake package to install (programs.voxtype.package = voxtype.packages.${system}.vulkan;ornix profile install github:peteonrails/voxtype#vulkan).setup gpuandsetup onnxstatus list the flake packages and mark the running one instead of "simple (source build)" and a broken symlink.info variants, the TUI variant panel and engine picker, and the variant-mismatch notice say the same. A test checks every package name used againstflake.nix. Reported by @EzequielRamis.#1047.
voxtype setup --modelfor an engine missing from the build (andsetup npu --enable) uses the shared install hint: switch to the installed ONNX variant, add the variant to an AUR build, reinstall the deb/rpm package, install the Nix flake package, or, for a source build only, rebuild with the feature.setup modelpicker and invoxtype models(text and JSONdecoder). Values come from each file's GGUF metadata. dcbeab7 hid Parakeet's Decoder type setting in the TUI for.ggufmodels on purpose, sinceparakeet.model_typedoes nothing for a GGUF file, so that stays hidden and the decoder is shown as information in the lists instead.voxtype config set gguf.language ja(orauto), or switch to a model that supports the requested language, e.g.Qwen3-ASR-0.6B-Q8_0.gguf.Unit tests cover each message per install type, the Nix refusal and status, the GGUF picker row, and the decoder of every curated GGUF. TROUBLESHOOTING.md and INSTALL.md (NixOS) updated.
Checks:
cargo fmt --check;cargo clippy --all-targets -D warningswith default features and withgguf,cohere-gguf,parakeet-gguf;cargo test --features gguf,cohere-gguf,parakeet-gguf --libover setup, model_selection, config_set, tui, model_catalog, language_selection, model_upgrade (710 passed), plusrc2_gguf_reviewandsetup_config_override. The ONNX-feature clippy job was not run locally.Fixes #430
Fixes #1047