Final cleanup: - 61 test files + 5 example files: candle imports replaced - 8 testing/integration files: migrated to cudarc/ml-core types - 3 services/trading_service test files: migrated - Root Cargo.toml: candle-core, candle-nn removed from [workspace.dependencies] - crates/ml/Cargo.toml: candle-nn dependency removed - testing/e2e/Cargo.toml: candle-core dependency removed Zero active candle_core/candle_nn/candle_optimisers code references remain. Zero candle dependency declarations in any Cargo.toml. Remaining "candle" strings are exclusively in doc comments. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ml_training_service
Model training orchestration and lifecycle management for DQN, PPO, TFT, Mamba2, TLOB, and Liquid models with progress tracking and artifact storage.
Key Types
MlTrainingServiceImpl-- main gRPC serviceJobTracker-- training job state machineCheckpointManager-- model artifact persistence
Features
minimal(default) -- minimal ML feature set for financial modelsgpu-- SIMD GPU acceleration (requires CUDA)mock-data-- mock training data (testing, bypasses database)
Configuration
GRPC_PORT-- gRPC listen portDATABASE_URL-- PostgreSQL for job metadata and training history- Prometheus metrics on port 9094
Testing
SQLX_OFFLINE=true cargo test -p ml_training_service --lib