Fallback sum/add to CPU if needed (#15267)
Summary:
Fallback sum/add to CPU if needed
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15267
Differential Revision: D13935064
Pulled By: yinghai
fbshipit-source-id: eb228683d00a0462a1970f849d35365bc98340d6