Implement sliding-window causal attention in PyTorch

Attention Efficiency and Long Context1 / 5