jgrusewski
26ffa7ad72
fix: event-based cross-stream sync for best-model restore (no CPU stall)
...
Replace stream.synchronize() with cuStreamWaitEvent for cross-stream
visibility of restored weights. The trainer writes best params on its
stream, records a CudaEvent, and the evaluator waits on that event
on ITS stream via cuStreamWaitEvent — purely GPU-side dependency,
zero CPU blocking.
Previous fix (stream.synchronize) was a CPU stall that hid the issue.
This is the proper CUDA approach: inter-stream event dependencies.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-07 12:56:40 +02:00
..
2026-03-08 15:17:22 +01:00
2026-03-08 15:17:22 +01:00
2026-04-02 09:06:23 +02:00
2026-03-08 15:17:22 +01:00
2026-02-25 11:56:00 +01:00
2026-04-07 09:34:20 +02:00
2026-03-31 10:56:20 +02:00
2026-03-19 13:38:49 +01:00
2026-03-08 15:17:22 +01:00
2026-03-08 15:17:22 +01:00
2026-03-20 15:41:42 +01:00
2026-04-02 09:06:23 +02:00
2026-03-25 21:37:09 +01:00
2026-03-08 15:17:22 +01:00
2026-03-08 15:17:22 +01:00
2026-04-03 18:30:44 +02:00
2026-03-19 01:04:09 +01:00
2026-02-25 11:56:00 +01:00
2026-04-07 12:56:40 +02:00
2026-03-18 19:36:41 +01:00
2026-03-20 15:41:42 +01:00
2026-03-08 15:17:22 +01:00
2026-03-20 15:41:42 +01:00
2026-03-20 15:41:42 +01:00
2026-03-08 15:17:22 +01:00
2026-03-16 21:01:28 +01:00
2026-03-08 15:17:22 +01:00
2026-03-08 15:17:22 +01:00
2026-03-19 01:04:09 +01:00
2026-03-08 15:17:22 +01:00
2026-03-08 15:17:22 +01:00
2026-02-25 11:56:00 +01:00
2026-03-08 15:17:22 +01:00
2026-03-08 15:17:22 +01:00
2026-03-08 15:17:22 +01:00
2026-03-15 11:59:31 +01:00
2026-03-21 09:09:51 +01:00
2026-03-20 15:41:42 +01:00
2026-03-20 15:41:42 +01:00
2026-04-07 12:56:40 +02:00
2026-03-18 19:36:41 +01:00
2026-03-18 14:47:33 +01:00
2026-03-08 15:17:22 +01:00
2026-04-02 09:06:23 +02:00
2026-03-20 15:41:42 +01:00
2026-02-25 11:56:00 +01:00
2026-03-08 15:13:41 +01:00
2026-03-18 13:31:35 +01:00
2026-02-25 11:56:00 +01:00
2026-03-20 11:38:52 +01:00
2026-04-04 09:41:53 +02:00
2026-04-04 09:51:28 +02:00
2026-03-20 15:41:42 +01:00
2026-03-20 01:05:44 +01:00
2026-04-02 09:06:23 +02:00
2026-02-25 11:56:00 +01:00
2026-03-14 11:35:15 +01:00
2026-03-18 17:20:23 +01:00
2026-03-18 09:57:24 +01:00
2026-03-18 00:24:35 +01:00
2026-03-19 01:04:09 +01:00
2026-04-05 19:14:03 +02:00
2026-03-01 18:29:43 +01:00
2026-04-02 22:46:30 +02:00