Archived
rope builds its frequency ladder on the host per launch exactly as libref's rope_freqs does (a double pow, then YaRN or llama3 from rad_yarn.h) and takes cos and sin of the f32 angle in double on the card, as libref does; positions reach 131072 at MiniCPM5's context. neox and gptj with one position component; the row says so with a mode constraint and the launch refuses anything else by name. The gathers write a zero row for an index outside the table, libr4d's rule: libref instead checks every index on the host before running, which a launch cannot do without waiting on its stream. rad-kbench against libref: fixture 127/127 and MiniCPM5-2B 94/94, rel_l2 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018EpFgqQidSnH8zo7boVZC1