Add random delay during multiple job launch to break tie
@@ -37,6 +37,9 @@ jobs:
python -m pip list
- name: Run tests report coverage
run: |
+ export LAUNCH_DELAY=$[ $RANDOM % 16 * 60 ]
+ echo "Sleep $LAUNCH_DELAY"
+ sleep $LAUNCH_DELAY
nvidia-smi
export CUDA_VISIBLE_DEVICES=$(python -m tests.utils)
echo $CUDA_VISIBLE_DEVICES
