Flashlight: PyTorch Compiler Extensions to Accelerate Attention Variants