feat: cross-platform support (Linux, Windows, CUDA)#8
Merged
Conversation
380c6a2 to
00fa5dc
Compare
- Add qwen-native backend using qwen3-tts-rs (pure Rust, candle-based) with auto-device detection (CPU/Metal/CUDA) - Replace afplay with rodio for cross-platform audio playback - Gate say/qwen backends and chat/stt modules behind #[cfg(target_os = "macos")] - Add feature flags: metal (macOS GPU), cuda (NVIDIA GPU) - Platform-aware defaults: say on macOS, qwen-native on Linux/Windows - CI matrix: macOS (Metal), Ubuntu (CPU), Windows (CPU) - Release builds: aarch64-apple-darwin, x86_64-apple-darwin, x86_64-unknown-linux-gnu, x86_64-pc-windows-msvc - Platform-aware sox install hints (brew/apt/choco) - Conditional tests: macOS-only tests gated, new qwen-native tests Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
00fa5dc to
4b11a8a
Compare
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
qwen-nativebackend using qwen3-tts-rs (pure Rust/candle) with auto-device detection (CPU/Metal/CUDA)afplaywithrodiofor cross-platform audio playbacksay,qwen,chat,stt) behind#[cfg(target_os = "macos")]metalandcudafeature flags forwarded to qwen3-ttsTest plan
cargo build --features metal(macOS)cargo build(CPU-only)cargo test --features metal— 116 tests passcargo fmt+cargo clippy— cleanvox "hello"on Linux🤖 Generated with Claude Code