Adapt to new pytorch grad clipping API (#4480)
* Adapt to new pytorch grad clipping API
* Update torch_pin
* Disable test_clip tests with foreach enabled
* Revert "Disable test_clip tests with foreach enabled"
This reverts commit 19750bcbe748a8c3618d54d4cbdedbb082249248.
* Delete .torch_pin
Co-authored-by: milesial <milesial@users.noreply.github.com>