Files
foxhunt/crates/ml-supervised/Cargo.toml
jgrusewski 5e50c50336 fix(ci): remove cuda from all 8 ML sub-crate default features
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>
2026-03-12 20:24:07 +01:00

71 lines
1.6 KiB
TOML

[package]
name = "ml-supervised"
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 = "Supervised models (TFT, Mamba, Liquid, TGGN, TLOB, KAN, xLSTM, Diffusion)"
[features]
default = []
cuda = ["candle-core/cuda", "candle-nn/cuda"]
[dependencies]
ml-core.workspace = true
common.workspace = true
config.workspace = true
data.workspace = true
# Async
tokio.workspace = true
# ML frameworks
candle-core = { git = "https://github.com/huggingface/candle", rev = "671de1db" }
candle-nn = { git = "https://github.com/huggingface/candle", rev = "671de1db" }
# Serialization
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
# Core utilities
thiserror.workspace = true
anyhow.workspace = true
tracing.workspace = true
rand.workspace = true
uuid.workspace = true
async-trait.workspace = true
# Numerics
ndarray = { workspace = true, features = ["rayon"] }
nalgebra = { version = "0.33", features = ["serde-serialize"] }
# Graph support (TGGN)
petgraph = { version = "0.6", features = ["serde"] }
# Caching (TFT)
lru.workspace = true
# System
libc = "0.2"
num_cpus = "1.16"
# Concurrency
rayon.workspace = true
dashmap = { workspace = true }
parking_lot = { version = "0.12", features = ["hardware-lock-elision"] }
[dev-dependencies]
tokio = { workspace = true, features = ["test-util", "macros"] }
approx.workspace = true
tempfile = "3"
[lints]
workspace = true