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

Add support for MKL acceleration

Neptune143fdb321db2
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 9acea445c..78a42d7e5 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -51,18 +51,18 @@ jobs:
matrix:
include:
- platform: "macos-latest" # for Arm based macs (M1 and above).
- args: "--target aarch64-apple-darwin --features metal,beta"
+ args: "--target aarch64-apple-darwin --features metal,beta,mkl"
target: aarch64-apple-darwin
tauri-args: "--target aarch64-apple-darwin"
- platform: "macos-latest" # for Intel based macs.
- args: "--target x86_64-apple-darwin --features metal,beta"
+ args: "--target x86_64-apple-darwin --features metal,beta,mkl"
target: x86_64-apple-darwin
tauri-args: "--target x86_64-apple-darwin"
- platform: "ubuntu-22.04" # Ubuntu x86_64
- args: "" # TODO CUDA, mkl
+ args: "--features mkl" # TODO CUDA
tauri-args: ""
- platform: "windows-latest" # Windows x86_64
- args: "--target x86_64-pc-windows-msvc" # TODO CUDA, mkl? --features "openblas"
+ args: "--target x86_64-pc-windows-msvc --features mkl" # TODO CUDA --features "openblas"
pre-build-args: "" # --openblas
tauri-args: "--target x86_64-pc-windows-msvc"
diff --git a/screenpipe-server/Cargo.toml b/screenpipe-server/Cargo.toml
index 8bb760871..6f9d6e43d 100644
--- a/screenpipe-server/Cargo.toml
+++ b/screenpipe-server/Cargo.toml
@@ -115,6 +115,7 @@ harness = false
default = []
metal = ["candle/metal", "candle-nn/metal", "candle-transformers/metal"]
cuda = ["candle/cuda", "candle-nn/cuda", "candle-transformers/cuda"]
+mkl = ["candle/mkl", "candle-nn/mkl", "candle-transformers/mkl"]
pipes = ["screenpipe-core/pipes", "tempfile", "url"]
llm = ["screenpipe-core/llm"]
beta = ["screenpipe-core/beta", "dep:screenpipe-actions"]