Files
ai-toolkit/toolkit
Jaret Burkett c78b1404e3 Deepen offload prefetch pipeline with per-slot events
Replace the 2-slot ping-pong + single global "compute-started" event
with a depth-N ring buffer where each transfer waits only on the slot
it's reusing (D layers back) instead of the most-recent compute. Applies
to forward and backward, Linear and Conv. Depth is tunable via
AI_TOOLKIT_OFFLOAD_DEPTH (default 4).

Bit-exact vs non-offload (output, grad_input, weight grads). No speedup
on a bandwidth-bound PCIe link (already saturated at depth 2), but the
cleaner per-slot design removes the fragile shared-event serialization
and lets deeper prefetch help on faster buses.
2026-06-07 16:07:13 -06:00
..
2024-07-20 08:21:57 -06:00
2026-06-07 12:06:42 -06:00
2023-07-05 16:44:58 -06:00
2026-05-28 11:34:16 -06:00
2024-07-10 15:20:04 -06:00
2025-04-17 09:00:10 -06:00
2023-08-13 10:25:56 -06:00
2026-01-13 04:55:30 -07:00
2026-06-07 12:06:42 -06:00
2025-06-12 08:00:51 -06:00
2024-02-13 16:00:04 -07:00
2023-07-28 08:16:29 -06:00