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 DirectML feature for Parakeet GPU acceleration on Windows

Louis Beaumont7d7d1dd38b1c
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 484abee20..b55c733fa 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -192,13 +192,13 @@ jobs:
- platform: ${{ needs.check_commit.outputs.windows_runner || 'windows-2022' }}
args: "--target x86_64-pc-windows-msvc"
pre-build-args: ""
- tauri-args: "--target x86_64-pc-windows-msvc --features official-build"
+ tauri-args: "--target x86_64-pc-windows-msvc --features official-build,directml"
target: x86_64-pc-windows-msvc
os_type: "windows"
- platform: windows-11-arm
args: "--target aarch64-pc-windows-msvc"
pre-build-args: ""
- tauri-args: "--target aarch64-pc-windows-msvc --features official-build"
+ tauri-args: "--target aarch64-pc-windows-msvc --features official-build,directml"
target: aarch64-pc-windows-msvc
os_type: "windows"
- platform: "ubuntu-24.04"
diff --git a/.github/workflows/release-enterprise-windows.yml b/.github/workflows/release-enterprise-windows.yml
index d36740d9f..31bd56701 100644
--- a/.github/workflows/release-enterprise-windows.yml
+++ b/.github/workflows/release-enterprise-windows.yml
@@ -178,7 +178,7 @@ jobs:
RUSTFLAGS: "-C link-arg=/LTCG"
CMAKE_ARGS: "-DGGML_NATIVE=OFF -DGGML_AVX512=OFF -DGGML_AVX512_VBMI=OFF -DGGML_AVX512_VNNI=OFF -DGGML_AVX512_BF16=OFF"
with:
- args: "--target x86_64-pc-windows-msvc --features enterprise-build"
+ args: "--target x86_64-pc-windows-msvc --features enterprise-build,directml"
projectPath: "./apps/screenpipe-app-tauri"
tauriScript: bunx tauri -v
retryAttempts: 3
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 6b667ceb1..87628f48c 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -180,6 +180,7 @@ lazy_static = "1.5.0"
default = ["custom-protocol", "qwen3-asr", "parakeet"]
metal = ["screenpipe-audio/metal"]
pulseaudio = ["screenpipe-audio/pulseaudio"]
+directml = ["screenpipe-engine/directml"]
vulkan = ["screenpipe-audio/vulkan"]
cargo-clippy = []
e2e = ["tauri-plugin-webdriver"]
diff --git a/crates/screenpipe-audio/Cargo.toml b/crates/screenpipe-audio/Cargo.toml
index c5d9da345..bfa83983a 100644
--- a/crates/screenpipe-audio/Cargo.toml
+++ b/crates/screenpipe-audio/Cargo.toml
@@ -139,6 +139,7 @@ tracing-subscriber = "0.3.16"
default = ["pulseaudio"]
metal = ["whisper-rs/metal", "audiopipe?/metal", "audiopipe?/coreml"]
cuda = ["whisper-rs/cuda"]
+directml = ["audiopipe?/directml"]
vulkan = ["audiopipe?/vulkan-ggml"]
pulseaudio = ["dep:libpulse-binding", "dep:libpulse-simple-binding"]
qwen3-asr = ["dep:audiopipe"]
diff --git a/crates/screenpipe-engine/Cargo.toml b/crates/screenpipe-engine/Cargo.toml
index 8ae0a8b88..d6abe7870 100644
--- a/crates/screenpipe-engine/Cargo.toml
+++ b/crates/screenpipe-engine/Cargo.toml
@@ -137,6 +137,7 @@ default = ["qwen3-asr", "parakeet"]
metal = ["screenpipe-audio/metal"]
heap-prof = ["dhat"]
cuda = ["screenpipe-audio/cuda"]
+directml = ["screenpipe-audio/directml"]
vulkan = ["screenpipe-audio/vulkan"]
debug-console = ["console-subscriber"]
pulseaudio = ["screenpipe-audio/pulseaudio"]