Fix several based models' pipeline parallel support (#44699)
* Fix Qwen2-VL based models' pipeline parallel support
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
* Fix other models too
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
* Fix docs modular
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
---------
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>