From cb03364718396494cecd40b935a002d72c863291 Mon Sep 17 00:00:00 2001 From: laurent Date: Mon, 3 Jul 2023 11:34:02 +0100 Subject: [PATCH] Fix the CI. --- candle-examples/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/candle-examples/Cargo.toml b/candle-examples/Cargo.toml index 3cd2980e..a71ca17b 100644 --- a/candle-examples/Cargo.toml +++ b/candle-examples/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT/Apache-2.0" readme = "README.md" [dependencies] -candle = { path = "../candle-core" } +candle = { path = "../candle-core", default-features=false } [dev-dependencies] anyhow = { version = "1", features = ["backtrace"] } @@ -20,3 +20,7 @@ clap = { version = "4.2.4", features = ["derive"] } rand = "0.8.5" tokenizers = { version = "0.13.3", default-features=false, features=["onig"] } tokio = { version = "1.28.2", features = ["macros", "rt-multi-thread"] } + +[features] +default = ["cuda"] +cuda = ["candle/cuda"]