specializeGradSumToSize patch - propagate profile_none through profile_ivalue (#63941)
Summary:
simply propagate profile_none_ value through profile_ivalue nodes inserted by nvfuser.
Without the propagation, profile_ivalue inserted by other passes would block the optimization on no-op sum_to_size.
cc gmagogsfm
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63941
Reviewed By: shunting314, cpuhrsch
Differential Revision: D31972765
Pulled By: Krovatkin
fbshipit-source-id: 4fa571a758e269b486c584f47c2a933de82d463b