Fix DeepSpeed stuff in the nightly CI
# What does this PR do?

Similar to #23463, but for the nightly CI (i.e. the nightly version of torch + deepspeed instead of the stable release).

This should be the last piece to make all the CI workflow to run (🤞)
_The documentation is not available anymore as the PR was closed or merged._