1.You split heads with q.reshape(B, n_head, T, C // n_head) and skip the transpose. What happens?
2.Your mask is torch.tril(torch.ones(T, T, dtype=torch.bool), diagonal=-1). What comes out for the first token?
3.CausalSelfAttention(10, 3) has no divisibility check. When does it fail?
4.You forgot the causal mask, and the training loss is dropping fast. What's going on?
5.C is 768. You go from 12 heads to 24. Which cost doubles?