Files
foxhunt/services/ml_training_service
jgrusewski dd62f3fcfd refactor: eliminate candle from entire workspace — tests, examples, Cargo.toml
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>
2026-03-18 00:53:47 +01:00
..

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 service
  • JobTracker -- training job state machine
  • CheckpointManager -- model artifact persistence

Features

  • minimal (default) -- minimal ML feature set for financial models
  • gpu -- SIMD GPU acceleration (requires CUDA)
  • mock-data -- mock training data (testing, bypasses database)

Configuration

  • GRPC_PORT -- gRPC listen port
  • DATABASE_URL -- PostgreSQL for job metadata and training history
  • Prometheus metrics on port 9094

Testing

SQLX_OFFLINE=true cargo test -p ml_training_service --lib