Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat: add coreml and directml feature flags for Qwen3-ASR GPU acceleration

Louis Beaumonte187f1dfa2f6
diff --git a/Cargo.lock b/Cargo.lock
index 94c80beea..ef52b531b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -491,7 +491,7 @@ dependencies = [
[[package]]
name = "audiopipe"
version = "0.1.0"
-source = "git+https://github.com/screenpipe/audiopipe.git#3fe90489bce20dc98d8a45cf9f4e826fd07b76e1"
+source = "git+https://github.com/screenpipe/audiopipe.git#5bbb9ae20c854e4d2427c903956540405b37eb78"
dependencies = [
"half",
"hf-hub",
@@ -2627,7 +2627,7 @@ dependencies = [
"hyper",
"libc",
"pin-project-lite",
- "socket2 0.5.10",
+ "socket2 0.6.2",
"tokio",
"tower-service",
"tracing",
@@ -4801,7 +4801,7 @@ dependencies = [
"quinn-udp",
"rustc-hash 2.1.1",
"rustls",
- "socket2 0.5.10",
+ "socket2 0.6.2",
"thiserror 2.0.18",
"tokio",
"tracing",
@@ -4838,7 +4838,7 @@ dependencies = [
"cfg_aliases",
"libc",
"once_cell",
- "socket2 0.5.10",
+ "socket2 0.6.2",
"tracing",
"windows-sys 0.60.2",
]
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index 59f2b51f7..b4825beb9 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -362,7 +362,7 @@ version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
dependencies = [
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -373,7 +373,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
dependencies = [
"anstyle",
"once_cell_polyfill",
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -801,7 +801,7 @@ dependencies = [
[[package]]
name = "audiopipe"
version = "0.1.0"
-source = "git+https://github.com/screenpipe/audiopipe.git#3fe90489bce20dc98d8a45cf9f4e826fd07b76e1"
+source = "git+https://github.com/screenpipe/audiopipe.git#5bbb9ae20c854e4d2427c903956540405b37eb78"
dependencies = [
"half",
"hf-hub",
@@ -2488,7 +2488,7 @@ dependencies = [
"libc",
"option-ext",
"redox_users 0.5.2",
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -2792,7 +2792,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -4521,7 +4521,7 @@ checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46"
dependencies = [
"hermit-abi",
"libc",
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -5704,7 +5704,7 @@ version = "0.50.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
dependencies = [
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -6553,7 +6553,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967"
dependencies = [
"libc",
- "windows-sys 0.61.2",
+ "windows-sys 0.45.0",
]
[[package]]
@@ -7915,7 +7915,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys 0.12.1",
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -7982,7 +7982,7 @@ dependencies = [
"security-framework",
"security-framework-sys",
"webpki-root-certs",
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -8183,7 +8183,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.0.588"
+version = "2.0.604"
dependencies = [
"anyhow",
"arboard",
@@ -10706,7 +10706,7 @@ dependencies = [
"getrandom 0.4.1",
"once_cell",
"rustix 1.1.4",
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -12287,7 +12287,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index ffe5febf2..f5e6a5f67 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -175,7 +175,7 @@ pulseaudio = ["screenpipe-audio/pulseaudio"]
vulkan = ["screenpipe-audio/vulkan"]
mkl = []
cargo-clippy = []
-default = ["custom-protocol", "qwen3-asr"]
+default = ["custom-protocol", "qwen3-asr", "coreml", "directml"]
# DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]
@@ -194,6 +194,10 @@ apple-intelligence = ["screenpipe-server/apple-intelligence"]
# Qwen3-ASR speech-to-text engine (ONNX, 0.6B)
qwen3-asr = ["screenpipe-server/qwen3-asr"]
+# GPU execution providers for Qwen3-ASR (ort ONNX Runtime)
+coreml = ["screenpipe-server/coreml"]
+directml = ["screenpipe-server/directml"]
+
[package.metadata.cargo-machete]
ignored = ["tauri-utils", "screenpipe-accessibility"]
diff --git a/crates/screenpipe-server/Cargo.toml b/crates/screenpipe-server/Cargo.toml
index 8435013fe..66e132f7c 100644
--- a/crates/screenpipe-server/Cargo.toml
+++ b/crates/screenpipe-server/Cargo.toml
@@ -125,6 +125,8 @@ debug-console = ["console-subscriber"]
pulseaudio = ["screenpipe-audio/pulseaudio"]
apple-intelligence = ["dep:screenpipe-apple-intelligence"]
qwen3-asr = ["screenpipe-audio/qwen3-asr", "dep:audiopipe"]
+coreml = ["screenpipe-audio/coreml"]
+directml = ["screenpipe-audio/directml"]
[[bin]]
name = "screenpipe"