jgrusewski
68e83bef0e
fix: async adam_step HtoD + batch_size=0 auto — root cause of >128 hang
...
The batch_size >128 hang was caused by cudarc's synchronous
memcpy_htod for the adam_step counter. At batch_size=128 the
sync completes fast enough, but at 509+ the pipeline drain
from the sync interacts with CUDA Graph replay timing and
deadlocks the stream.
Replaced all 3 memcpy_htod(&[self.adam_step]) calls with raw
cuMemcpyHtoDAsync_v2 — zero pipeline drain, zero CPU sync.
Production TOML set to batch_size=0 (AutoBatchSizer drives it).
AutoBatchSizer caps at 8192 for RL training.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-02 08:19:56 +02:00
..
2026-03-08 15:17:22 +01:00
2026-03-08 15:17:22 +01:00
2026-04-02 00:54:12 +02:00
2026-03-08 15:17:22 +01:00
2026-04-02 08:19:56 +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-03-28 02:28:58 +01: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-03-18 19:36:41 +01:00
2026-03-19 01:04:09 +01:00
2026-04-01 01:24:30 +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-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-02 03:57:19 +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-03-31 00:39:23 +02:00
2026-03-20 15:41:42 +01:00
2026-03-08 15:13:41 +01:00
2026-03-18 13:31:35 +01:00
2026-03-20 11:38:52 +01:00
2026-03-18 19:36:41 +01:00
2026-04-01 09:02:16 +02:00
2026-04-01 19:29:41 +02:00
2026-03-20 15:41:42 +01:00
2026-03-20 01:05:44 +01:00
2026-03-31 23:45:22 +02: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-01 01:24:30 +02:00
2026-03-23 12:54:01 +01:00