The ml crate fix alone wasn't enough — ml-core, ml-dqn, ml-ppo, ml-supervised, ml-ensemble, ml-explainability, ml-hyperopt, and ml-labeling all had `default = ["cuda"]`, each independently pulling in cudarc via candle-core/cuda. Now `default = []` on all sub-crates. CUDA activates only when the compile-and-train template passes `--features ml/cuda`, which propagates through ml's cuda feature gate to all sub-crates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
923 B
TOML
31 lines
923 B
TOML
[package]
|
|
name = "ml-explainability"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
publish.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
description = "Model explainability (integrated gradients) for Foxhunt ML"
|
|
|
|
[features]
|
|
default = []
|
|
cuda = ["candle-core/cuda", "candle-nn/cuda"]
|
|
|
|
[dependencies]
|
|
ml-core = { path = "../ml-core", default-features = false }
|
|
candle-core = { git = "https://github.com/huggingface/candle", rev = "671de1db" }
|
|
candle-nn = { git = "https://github.com/huggingface/candle", rev = "671de1db" }
|
|
|
|
[dev-dependencies]
|
|
candle-core = { git = "https://github.com/huggingface/candle", rev = "671de1db" }
|
|
candle-nn = { git = "https://github.com/huggingface/candle", rev = "671de1db" }
|
|
|
|
[lints]
|
|
workspace = true
|