Krunal, Casey,
Thank you both — this is exactly the kind of scrutiny Phase 2 needed, and I’d like to bring you into the same conversation rather than run two separate threads, since your points build on each other directly.
Krunal, I’ve added a reproducibility section to the README covering the reference environment, benchmark commands, reference output, and wall-clock separation from the theoretical FLOP model.
Casey, your point about pinning down input sizes, dtypes, batch and context settings, and warm-up policy for both the baseline and the HIP runs is a fair extension of that same reproducibility discipline. I’ll fold that into the documentation before any hardware run happens, so the baseline and the comparison stay apples to apples from the start.
On the architecture point — running the same benchmark harness on the MI300X and the MI355X to separate algorithmic gains from generation-specific gains is the right instinct, and it suggests a natural order. Krunal’s proposed MI300X baseline, covering correctness, repeatability, timing, and scaling across sequence lengths and window sizes, would be the first step. Casey’s cross-architecture comparison would follow once that baseline exists and MI355X access is available. Scaling across context length rather than a single value applies to both stages.
On how I’d want to structure this — you two have far more depth than I do in ROCm and HIP execution, memory access patterns, and hardware-specific behavior. That’s exactly the expertise this project needs and doesn’t yet have. My role is to hold the mathematical structure steady, the declared operators, the coherence window, and the admissibility rules that make this relational attention rather than a different windowing heuristic. As the kernel moves from Python reference to a real HIP implementation, there will be points where a hardware-level optimization could quietly change what’s actually being computed. That’s where I’d want to stay closely involved.
Would a short three-way conversation make sense to align on baseline scope, the documentation Casey raised, and sequencing before any hardware time gets spent?