Files
foxhunt/crates/ml-ensemble/Cargo.toml
jgrusewski 22004a7368 refactor(cuda): eliminate candle from ml-core, ml-ppo, and 4 thin crates
Hard refactor — no shims, no compat layers. Candle removed from Cargo.toml
and all source files in 6 crates:

- ml-core: MlDevice enum, checkpoint.rs (safetensors direct), cudarc imports
  fixed from candle re-export to direct, AdamWConfig lr_decay, cuda_compat
  gutted. Net -7,341 lines.
- ml-ppo: All 16 files rewritten. LSTM→CudaLSTM, VarMap→GpuVarStore,
  PPOAgent 2306→700 lines, checkpoint→binary format.
- ml-ensemble: GPU-resident sigmoid via custom CUDA kernel.
- ml-explainability: Integrated gradients via GPU finite-difference kernels.
- ml-labeling: Device→MlDevice.
- ml-hyperopt: Cargo.toml only.

Remaining: ml-dqn (24 files), ml-supervised (4 files), ml crate (104 files).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 22:27:56 +01:00

49 lines
1.4 KiB
TOML

[package]
name = "ml-ensemble"
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 = "ML ensemble coordination — voting, confidence, gating, hot-swap, inference pipeline"
[features]
default = ["cuda"]
cuda = ["ml-core/cuda", "cudarc"]
[dependencies]
ml-core = { path = "../ml-core", default-features = false }
common.workspace = true
async-trait.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
chrono.workspace = true
chrono-tz = "0.10"
tracing.workspace = true
uuid.workspace = true
tokio.workspace = true
anyhow.workspace = true
once_cell = "1.19"
prometheus.workspace = true
statrs.workspace = true
thiserror.workspace = true
parking_lot = { version = "0.12", features = ["hardware-lock-elision"] }
dashmap = { workspace = true }
rand.workspace = true
ndarray = { workspace = true, features = ["rayon"] }
crossbeam = { version = "0.8", features = ["std"] }
rayon.workspace = true
cudarc = { version = "0.19", optional = true, default-features = false, features = ["driver", "dynamic-linking", "std", "cuda-version-from-build-system"] }
[dev-dependencies]
tokio = { workspace = true, features = ["test-util", "macros"] }
[lints]
workspace = true