Enable Mypy Checking for torch/_inductor/fx_passes/fuse_attention.py (#107369)
Fixes #105230
Summary:
As suggested in https://github.com/pytorch/pytorch/issues/105230 mypy checking is enabled in torch/_inductor/fx_passes/fuse_attention.py
After Fix:
mypy --follow-imports=skip torch/_inductor/fx_passes/fuse_attention.py Success: no issues found in 1 source file
Pull Request resolved: https://github.com/pytorch/pytorch/pull/107369
Approved by: https://github.com/mikaylagawarecki