Remove usage of deprecated datapipe_only parameter (#6641)
Remove usage of deprecated datapipe_only parameter (#6641)

* Ignore deprecation warning from traverse function

* remove only_datapipe

* reinstate warning ignore for DL test

* ignore warning class wide due to priority

Co-authored-by: Philip Meier <8182b159cd16a0fd2cef87181d7c5a58cd09c42c@posteo.de>
Co-authored-by: Nicolas Hug <1a73af9e7ae00182733b2292511b814be66f065f@nicolas-hug.com>
pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision