Before You Start
- Required knowledge
- Attention, causal masking, tensor shapes, and computational complexity.
- Libraries used
- NumPy
- Dataset and source
- Random query/key/value tensors and decoding inputs generated in the notebook.
- Expected output
- Reference and tiled attention comparisons, KV-cache checks, timing, and operation estimates; no FlashAttention package required.