functorch: non-contig samples for test_grad (#90990)
Ref: https://github.com/pytorch/functorch/issues/1029
Before PR: (Time: ~30s)
```
================================================= 1052 passed, 264 skipped, 17373 deselected, 9 xfailed in 29.09s =================================================
```
After PR: (Time: ~43s)
```
================================================ 1042 passed, 264 skipped, 17373 deselected, 19 xfailed in 43.13s =================================================
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/90990
Approved by: https://github.com/zou3519