Files
foxhunt/crates
jgrusewski bf838976eb refactor(ml-dqn): eliminate candle — pure cudarc + GpuTensor/GpuLinear
Zero candle_core/candle_nn/candle_optimisers imports remain. All 25 source
files migrated to ml-core cuda_autograd types:

- Network structs: Vec<Linear> → Vec<GpuLinear>
- DQNAgent: VarMap→GpuVarStore, Adam→GpuAdamW, Device→MlDevice
- GpuReplayBuffer: Candle Tensor wrappers deleted, returns CudaSlice directly
- NoisyLinear: cudarc-native noise buffers
- All softmax/logit/entropy functions: &Tensor → &[f32]
- Module trait impls deleted, forward() is direct method

316 implementation-level errors remain (missing GpuTensor algebra methods:
argmax, gather, unsqueeze, etc.) — these are next-layer work, not candle deps.

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