Revert "Revert "Call lift_fresh after scalar_to_tensor in composite derivative formulas (#81609)"" (#81885)
This reverts commit fdc2af00907ea32717e2aec8f1d73f3b1e3e0fbb.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/81885
Approved by: https://github.com/soulitzer