Skip to content

Commit aa4a65c

Browse files
committed
Put back mkl-dynamic.
1 parent 4debbdf commit aa4a65c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

router/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ tonic-health = { version = "0.11.0", optional = true }
5757
tonic-reflection = { version = "0.11.0", optional = true }
5858
tokio-stream = { version = "0.1.14", optional = true }
5959
cudarc = { workspace = true }
60+
intel-mkl-src = { version = "0.8.1", default-features = false, optional = true }
6061

6162
# Malloc trim hack for linux
6263
[target.'cfg(target_os = "linux")'.dependencies]
@@ -80,8 +81,8 @@ default = ["candle", "http"]
8081
http = ["dep:axum", "dep:axum-tracing-opentelemetry", "dep:base64", "dep:tower-http", "dep:utoipa", "dep:utoipa-swagger-ui"]
8182
grpc = ["metrics-exporter-prometheus/http-listener", "dep:prost", "dep:tonic", "dep:tonic-health", "dep:tonic-reflection", "dep:tonic-build", "dep:async-stream", "dep:tokio-stream"]
8283
metal = ["text-embeddings-backend/metal"]
83-
mkl = ["text-embeddings-backend/mkl"]
84-
# mkl-dynamic = ["text-embeddings-backend/mkl-dynamic"]
84+
mkl = ["dep:intel-mkl-src", "intel-mkl-src/mkl-static-lp64-iomp"]
85+
mkl-dynamic = ["dep:intel-mkl-src", "intel-mkl-src/mkl-dynamic-lp64-iomp"]
8586
accelerate = ["text-embeddings-backend/accelerate"]
8687
python = ["text-embeddings-backend/python"]
8788
ort = ["text-embeddings-backend/ort"]

0 commit comments

Comments
 (0)