`torch.lobpcg.backward`: do not save non-Variable types with `ctx.save_for_backward`. (#67994)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/67827
cc ezyang albanD zou3519 gqchen pearu nikitaved soulitzer Lezcano Varal7
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67994
Reviewed By: H-Huang
Differential Revision: D32244818
Pulled By: albanD
fbshipit-source-id: 702a3a1d1f4c160bef7ec1f764a2ab5d01ca7901