[ci][distributed] fix some cuda init that makes it necessary to use spawn (#5991)
Attach a file by drag & drop or click to upload