Claude 83d633798f fix(overflow): chunk_size 64→16 — CCCL counter overflow prevention
agent_radix_sort_upsweep.cuh (517 lines) key insight:
  UNROLL_COUNT = min(64, 255/KEYS_PER_THREAD)
  — limits accumulation steps to prevent unsigned char counter overflow

Same principle applied to GatedDeltaNet cumsum:
  chunk=64 + pre_clamp_max=2.0 → worst cumsum = 128 → exp(128) = inf
  chunk=16 + pre_clamp_max=2.0 → worst cumsum = 32  → clamp(-20,20) safe

This was the remaining NaN source: clamp at [-5,2] before cumsum was
necessary but not sufficient when chunk_size=64.
2026-08-10 00:13:49 +00:00
2026-08-07 08:43:51 +00:00
2026-07-30 17:03:23 +08:00
2026-08-07 07:47:01 +00:00

project_6

Description
No description provided
Readme 427 MiB
Languages
C++ 41.8%
Cuda 31.6%
Python 22.2%
C 2.1%
CMake 1.1%
Other 1.1%