Files
foxhunt/crates
jgrusewski 667e61734c fix: scope event tracking disable to CUDA Graph capture only
disable_event_tracking() was called globally in GpuDqnTrainer::new(),
polluting the CUDA context for ALL subsequent operations including
other models (TFT, PPO). This caused test_tft_adapter_deterministic
to fail when run after DQN tests.

Fix: disable/enable only inside capture_training_graph(), not at
construction. The capture region is the only place where CudaEvents
are disallowed.

Result: 855/855 ml lib tests pass (was 854/855 with 1 flaky failure).

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