DeepSpeed
DeepSpeed copied to clipboard
Check device count before running dist tests
@tjruwase I reworked the previous PR. This PR would check GPU count against world size for all dist tests so it avoids issues like https://github.com/microsoft/DeepSpeed/issues/2733 and https://github.com/microsoft/DeepSpeed/issues/2482 for all the dist unit tests
@mrwyattii Hi Michael, could you take a look at the updated PR? Thanks!