Update attention.cpp to remove warning about preferring torch.bool type (#103362)
Update attention.cpp to remove warning about preferring torch.bool data type
Fixes #100469 #97532
Pull Request resolved: https://github.com/pytorch/pytorch/pull/103362
Approved by: https://github.com/mikaylagawarecki