Fix lerp.cu bug when given discontiguous out tensor (#44559)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/44559
Please refer to the discussion at the bottom of https://github.com/pytorch/pytorch/pull/43541 about the bug.
Test Plan: Imported from OSS
Reviewed By: albanD
Differential Revision: D23655403
Pulled By: heitorschueroff
fbshipit-source-id: 10e4ce5c2fe7bf6e95bcfac4033202430292b03f