From 46cd364cbcf84037d4b66009f41c0aad7e3cc959 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Thu, 12 Mar 2026 20:17:52 +0100 Subject: [PATCH] fix(ci): remove cuda from ml default features, unblock CPU test-gate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ml crate had `default = ["minimal-inference", "cuda"]` which pulled in cudarc/candle-kernels requiring nvcc. CI test-gate runs on ci-builder-cpu (no CUDA) so `cargo clippy --workspace` always panicked with "Failed to execute nvcc: No such file or directory". CUDA is now opt-in only — compile-and-train template already passes `--features ml/cuda` explicitly for GPU builds. Co-Authored-By: Claude Opus 4.6 --- crates/ml/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ml/Cargo.toml b/crates/ml/Cargo.toml index bd14fce03..f102b6b32 100644 --- a/crates/ml/Cargo.toml +++ b/crates/ml/Cargo.toml @@ -15,7 +15,7 @@ categories.workspace = true [features] # MINIMAL features for HFT inference only - ALL HEAVY ML REMOVED # CUDA opt-in: service crates build on CPU nodes without nvcc -default = ["minimal-inference", "cuda"] +default = ["minimal-inference"] # PRODUCTION FEATURES - LIGHTWEIGHT ONLY minimal-inference = [] # Minimal inference with no optional deps