From 14d1bbba64bcd7998a39c7fb0361e5693863d257 Mon Sep 17 00:00:00 2001 From: Arthur Brussee Date: Wed, 19 Jun 2024 15:12:11 +0100 Subject: [PATCH] Do not use default burn-compute features unless enabled. (#1908) --- crates/burn-cuda/Cargo.toml | 4 ++-- crates/burn-wgpu/Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/burn-cuda/Cargo.toml b/crates/burn-cuda/Cargo.toml index 1aa348383..c8c04c8eb 100644 --- a/crates/burn-cuda/Cargo.toml +++ b/crates/burn-cuda/Cargo.toml @@ -19,7 +19,7 @@ std = ["burn-jit/std"] [dependencies] burn-jit = { path = "../burn-jit", version = "0.14.0", default-features = false } -burn-compute = { path = "../burn-compute", version = "0.14.0" } +burn-compute = { path = "../burn-compute", version = "0.14.0", default-features = false } burn-tensor = { path = "../burn-tensor", version = "0.14.0" } burn-common = { path = "../burn-common", version = "0.14.0" } burn-cube = { path = "../burn-cube", version = "0.14.0" } @@ -27,7 +27,7 @@ burn-fusion = { path = "../burn-fusion", version = "0.14.0", optional = true } half = { workspace = true } bytemuck = { workspace = true } -cudarc = { version = "0.11.6", features=["cuda-12030"] } +cudarc = { version = "0.11.6", features = ["cuda-12030"] } log = { workspace = true } derive-new = { workspace = true } diff --git a/crates/burn-wgpu/Cargo.toml b/crates/burn-wgpu/Cargo.toml index 460d2cd67..dd923391c 100644 --- a/crates/burn-wgpu/Cargo.toml +++ b/crates/burn-wgpu/Cargo.toml @@ -20,7 +20,7 @@ std = ["burn-jit/std"] [dependencies] burn-jit = { path = "../burn-jit", version = "0.14.0", default-features = false } -burn-compute = { path = "../burn-compute", version = "0.14.0" } +burn-compute = { path = "../burn-compute", version = "0.14.0", default-features = false } burn-tensor = { path = "../burn-tensor", version = "0.14.0" } burn-common = { path = "../burn-common", version = "0.14.0" } burn-fusion = { path = "../burn-fusion", version = "0.14.0", optional = true } @@ -41,4 +41,4 @@ burn-jit = { path = "../burn-jit", version = "0.14.0", default-features = false, ] } burn-cube = { path = "../burn-cube", version = "0.14.0", features = [ "export_tests", -]} +] }