Add Linux CPU and NVIDIA desktop support#6
Draft
ZMXJJ wants to merge 3 commits into
Draft
Conversation
Co-authored-by: Dennis Huang <huangsiyuan@modelbest.cn>
Co-authored-by: Dennis Huang <huangsiyuan@modelbest.cn>
Co-authored-by: Dennis Huang <huangsiyuan@modelbest.cn>
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.
Summary
VOCA_REQUIRE_CUDA=1from the packaged manifest while CPU bundles keep CPU fallback.Inference Devicerow instead of rendering a standalone backend card.Testing
node --check ./scripts/prepare-linux-resources.mjs && node --check ./scripts/run-tauri-dev.mjs && node --check ./scripts/run-tauri-build.mjsnpm run typecheck:webnpm --prefix app run buildcargo fmt --checkTAURI_CONFIG='{"bundle":{"resources":[]}}' cargo checkTAURI_CONFIG='{"bundle":{"resources":[]}}' cargo test sidecar::testspython3 -m py_compile python-service/app/services/voxcpm_bridge.py python-service/app/services/sensevoice_onnx_session.pygit diff --checkgit submodule update --init --recursive VoxCPMnpm run build:linux:cpuproduced the release binary and.deb; AppImage failed atlinuxdeploy.node ./scripts/run-tauri-build.mjs --bundles debrebuilt the Linux release.debafter the Settings UI cleanup./workspace/desktop/src-tauri/target/release/voca-desktopwithVOCA_DEV_BUNDLE_ROOT=/workspace/desktop/.bundle-resources-linuxand verified the real Linux Tauri app window.Artifacts
linux_desktop_no_separate_inference_backend.mp4
Linux desktop settings without separate inference backend card
Notes
npm run lint:webstill fails on existing lint issues outside the Linux support changes.linuxdeploy; the Debian package is generated at/workspace/desktop/src-tauri/target/release/bundle/deb/Voca_0.5.0_amd64.deb.To show artifacts inline, enable in settings.