forked from horovod/horovod
-
Notifications
You must be signed in to change notification settings - Fork 0
4921 lines (4375 loc) · 367 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Do not edit this file! It has been generated by .github/gen-workflow-ci.py
name: CI
on:
schedule:
# run a build on master (this does not publish test results or cancel concurrent builds)
- cron: '0 10 * * *' # everyday at 10am
push:
# only consider push to master, hotfix-branches, and tags
# otherwise modify job.config.outputs.push
branches: [ 'master', 'hotfix-*' ]
tags: [ 'v*.*.*' ]
pull_request:
# only consider pull requests into master
branches: [ master ]
workflow_dispatch:
permissions: {}
concurrency:
# This controls which concurrent builds to cancel:
# - we do not want any concurrent builds on a branch (pull_request)
# - we do not want concurrent builds on the same commit on master (push)
# - we do not want concurrent builds on the same commit on a tag (push)
# - we allow concurrent runs on the same commit on master and its tag (push)
# - we allow concurrent runs on the same commit on master (push) and a scheduled build (schedule)
#
# A pull_request event only runs on branch commit, a push event only on master and tag commit.
# A schedule event only runs on master HEAD commit.
#
# Expression github.ref means something like refs/heads/master or refs/tags/v0.22.1 or the branch.
# This helps to not cancel concurrent runs on master or a tag that share the same commit.
# Expression github.head_ref refers to the branch of the pull request.
# On master, github.head_ref is empty, so we use the SHA of the commit, this means individual
# commits to master will not be cancelled, while there can only be one concurrent build on a branch.
#
# We include the event name to we allow for concurrent scheduled and master builds.
group: ci-${{ github.event_name }}-${{ github.ref }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
event_file:
name: "Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v3
with:
name: Event File
path: ${{ github.event_path }}
setup-py:
name: "setup.py"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Test setup.py
env:
HOROVOD_WITHOUT_TENSORFLOW: 1
HOROVOD_WITHOUT_PYTORCH: 1
HOROVOD_WITHOUT_MXNET: 1
HOROVOD_WITHOUT_GLOO: 1
HOROVOD_WITHOUT_MPI: 1
run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel
python setup.py sdist
pip -v install dist/horovod-*.tar.gz
init-workflow:
name: "Init Workflow"
runs-on: ubuntu-latest
outputs:
run-at-all: ${{ github.event_name != 'schedule' || github.repository == 'horovod/horovod' }}
# if we don't get a clear 'false', we fall back to building and testing
run-builds-and-tests: ${{ steps.tests.outputs.needed != 'false' }}
buildkite-branch-label: "${{ steps.config-buildkite.outputs.branch-label }}"
buildkite-message: "${{ steps.config-buildkite.outputs.message }}"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Pip install dependencies
run: pip install -r .github/requirements.txt
- name: Check ci.yaml is up-to-date
run: |
python .github/gen-workflow-ci.py
if [[ $(git diff .github/workflows/ci.yaml | wc -l) -gt 0 ]]
then
echo "::error::Workflow file .github/workflows/ci.yaml is out-dated, please run .github/gen-workflow-ci.py and commit changes"
exit 1
fi
shell: bash
- name: Check if tests are needed
id: tests
env:
GITHUB_BASE_SHA: ${{ github.event.pull_request.base.sha }}
GITHUB_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
run: |
if [[ "${{ github.event_name }}" == "pull_request" ]]
then
changes="$(python .github/get-changed-code-files.py)"
if [[ -z "$changes" ]]
then
echo "No code changes, no need to build and test"
echo "needed=false" >> $GITHUB_OUTPUT
else
echo "Code changes, we need to build and test:"
echo "$changes"
echo "needed=true" >> $GITHUB_OUTPUT
fi
else
echo "This is not part of a pull request, we need to build and test"
echo "needed=true" >> $GITHUB_OUTPUT
fi
- name: Configure Buildkite Build
id: config-buildkite
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
branch="${{ github.event.pull_request.head.ref || github.ref }}"
branch="${branch#"refs/heads/"}"
branch="${branch#"refs/tags/"}"
branch_label="${branch}"
if [[ "${{ github.event_name }}" == "schedule" ]]
then
# we add this label to the branch used by Buildkite to avoid it cancelling one of concurrent schedule and push builds on master
branch_label="${branch} (schedule)"
fi
echo "branch-label=${branch_label}" >> $GITHUB_OUTPUT
if [[ "${{ github.event_name }}" == "pull_request" ]]
then
head_sha="${{ github.event.pull_request.head.sha }}"
message="$(gh api https://api.github.com/repos/horovod/horovod/commits/${head_sha} -q .commit.message | head -n1)"
echo "message=${message}" >> $GITHUB_OUTPUT
fi
- name: Provide PR meta
if: github.event_name == 'pull_request'
run: |
rm -f pr.json
echo -n "{" >> pr.json
echo -n " \"merge_sha\": \"${{ github.sha }}\"," >> pr.json
echo -n " \"base_sha\": \"${{ github.event.pull_request.base.sha }}\"," >> pr.json
echo -n " \"head_sha\": \"${{ github.event.pull_request.head.sha }}\" " >> pr.json
echo -n "}" >> pr.json
cat pr.json
- name: Upload PR meta
uses: actions/upload-artifact@v3
if: github.event_name == 'pull_request'
with:
name: PR Meta
path: pr.json
build-and-test:
name: "Build and Test (${{ matrix.image }})"
needs: [init-workflow]
if: >
needs.init-workflow.outputs.run-at-all == 'true' &&
needs.init-workflow.outputs.run-builds-and-tests == 'true'
runs-on: ubuntu-latest
strategy:
max-parallel: 10
fail-fast: false
matrix:
include:
- image: test-cpu-gloo-py3_7-tf1_15_5-keras2_2_4-torch1_8_1-mxnet1_5_1_p0-pyspark3_3_1
Elastic_Spark_TensorFlow_Tests_2: true
Elastic_Tests_2: true
Gloo_Cluster_PyTests: true
Gloo_Keras_MNIST: true
Gloo_MXNet_MNIST_horovodrun: true
Gloo_Parallel_PyTests: true
Gloo_PyTorch_MNIST_api: true
Gloo_PyTorch_MNIST_horovodrun: true
Gloo_Single_PyTests: true
Gloo_TensorFlow_MNIST: true
Single_Keras_MNIST: true
Single_MXNet_MNIST: true
Single_PyTorch_MNIST: true
Spark_Keras_MNIST: true
Spark_Keras_Rossmann_Estimator: true
Spark_Keras_Rossmann_Run: true
Spark_Lightning_MNIST: true
Spark_PyTests: true
Spark_Torch_MNIST: true
build_timeout: 30
- image: test-cpu-gloo-py3_7-tf2_11_0-keras2_11_0-torch1_13_0-mxnet1_9_1-pyspark2_4_8
Elastic_Spark_TensorFlow_Tests_1: true
Elastic_Spark_Torch_Tests: true
Elastic_Tests_1: true
Gloo_Cluster_PyTests: true
Gloo_MXNet_MNIST_horovodrun: true
Gloo_Parallel_PyTests: true
Gloo_PyTorch_MNIST_api: true
Gloo_PyTorch_MNIST_horovodrun: true
Gloo_Single_PyTests: true
Gloo_TensorFlow_2_0_Keras_MNIST_api: true
Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_Elastic_api: true
Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_api: true
Gloo_TensorFlow_2_0_MNIST_horovodrun: true
Single_MXNet_MNIST: true
Single_PyTorch_MNIST: true
Spark_Lightning_MNIST: true
Spark_PyTests: true
Spark_TensorFlow_2_0_MNIST_Data_Service: true
Spark_Torch_MNIST: true
build_timeout: 30
- image: test-cpu-gloo-py3_8-tf2_10_1-keras2_10_0-torch1_12_1-mxnet1_8_0_p0-pyspark3_3_1
Elastic_Tests_1: true
Gloo_Cluster_PyTests: true
Gloo_MXNet_MNIST_horovodrun: true
Gloo_Parallel_PyTests: true
Gloo_PyTorch_MNIST_api: true
Gloo_PyTorch_MNIST_horovodrun: true
Gloo_Single_PyTests: true
Gloo_TensorFlow_2_0_Keras_MNIST_api: true
Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_Data_Service: true
Gloo_TensorFlow_2_0_MNIST_Elastic_api: true
Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_api: true
Gloo_TensorFlow_2_0_MNIST_horovodrun: true
Single_MXNet_MNIST: true
Single_PyTorch_MNIST: true
Spark_Lightning_MNIST: true
Spark_PyTests: true
Spark_TensorFlow_2_0_MNIST_Data_Service: true
Spark_Torch_MNIST: true
build_timeout: 30
- image: test-cpu-gloo-py3_8-tf2_11_0-keras2_11_0-torch1_13_0-mxnet1_9_1-pyspark3_2_3
Elastic_Spark_TensorFlow_Tests_1: true
Elastic_Spark_Torch_Tests: true
Elastic_Tests_1: true
Gloo_Cluster_PyTests: true
Gloo_MXNet_MNIST_horovodrun: true
Gloo_Parallel_PyTests: true
Gloo_PyTorch_MNIST_api: true
Gloo_PyTorch_MNIST_horovodrun: true
Gloo_Single_PyTests: true
Gloo_TensorFlow_2_0_Keras_MNIST_api: true
Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_Elastic_api: true
Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_api: true
Gloo_TensorFlow_2_0_MNIST_horovodrun: true
Single_MXNet_MNIST: true
Single_PyTorch_MNIST: true
Spark_Lightning_MNIST: true
Spark_PyTests: true
Spark_TensorFlow_2_0_MNIST_Data_Service: true
Spark_Torch_MNIST: true
build_timeout: 30
- image: test-cpu-gloo-py3_8-tf2_11_0-keras2_11_0-torch1_13_0-mxnet1_9_1-pyspark3_3_1
Elastic_Spark_TensorFlow_Tests_1: true
Elastic_Spark_Torch_Tests: true
Elastic_Tests_1: true
Gloo_Cluster_PyTests: true
Gloo_MXNet_MNIST_horovodrun: true
Gloo_Parallel_PyTests: true
Gloo_PyTorch_MNIST_api: true
Gloo_PyTorch_MNIST_horovodrun: true
Gloo_Single_PyTests: true
Gloo_TensorFlow_2_0_Keras_MNIST_api: true
Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_Elastic_api: true
Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_api: true
Gloo_TensorFlow_2_0_MNIST_horovodrun: true
Single_MXNet_MNIST: true
Single_PyTorch_MNIST: true
Spark_Lightning_MNIST: true
Spark_PyTests: true
Spark_TensorFlow_2_0_MNIST_Data_Service: true
Spark_Torch_MNIST: true
build_timeout: 30
- image: test-cpu-gloo-py3_8-tf2_9_3-keras2_9_0-torch1_11_0-mxnet1_7_0_p2-pyspark3_3_1
Elastic_Tests_1: true
Gloo_Cluster_PyTests: true
Gloo_MXNet_MNIST_horovodrun: true
Gloo_Parallel_PyTests: true
Gloo_PyTorch_MNIST_api: true
Gloo_PyTorch_MNIST_horovodrun: true
Gloo_Single_PyTests: true
Gloo_TensorFlow_2_0_Keras_MNIST_api: true
Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_Data_Service: true
Gloo_TensorFlow_2_0_MNIST_Elastic_api: true
Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_api: true
Gloo_TensorFlow_2_0_MNIST_horovodrun: true
Single_MXNet_MNIST: true
Single_PyTorch_MNIST: true
Spark_Lightning_MNIST: true
Spark_PyTests: true
Spark_TensorFlow_2_0_MNIST_Data_Service: true
Spark_Torch_MNIST: true
build_timeout: 30
- image: test-cpu-mpich-py3_8-tf2_11_0-keras2_11_0-torch1_13_0-mxnet1_9_1-pyspark3_3_1
MPI_Cluster_PyTests: true
MPI_MXNet_MNIST_horovodrun: true
MPI_Parallel_PyTests: true
MPI_PyTorch_MNIST_api: true
MPI_PyTorch_MNIST_horovodrun: true
MPI_Single_PyTests: true
MPI_TensorFlow_2_0_Keras_MNIST_api: true
MPI_TensorFlow_2_0_Keras_MNIST_horovodrun: true
MPI_TensorFlow_2_0_MNIST_api: true
MPI_TensorFlow_2_0_MNIST_horovodrun: true
Single_MXNet_MNIST: true
Single_PyTorch_MNIST: true
build_timeout: 30
- image: test-cpu-openmpi-gloo-py3_8-tf2_11_0-keras2_11_0-torch1_13_0-mxnet1_9_1-pyspark3_3_1
Elastic_Tests_1: true
Gloo_Cluster_PyTests: true
Gloo_MXNet_MNIST_horovodrun: true
Gloo_Parallel_PyTests: true
Gloo_PyTorch_MNIST_api: true
Gloo_PyTorch_MNIST_horovodrun: true
Gloo_Single_PyTests: true
Gloo_TensorFlow_2_0_Keras_MNIST_api: true
Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_Elastic_api: true
Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun: true
Gloo_TensorFlow_2_0_MNIST_api: true
Gloo_TensorFlow_2_0_MNIST_horovodrun: true
MPI_Cluster_PyTests: true
MPI_MXNet_MNIST_horovodrun: true
MPI_Parallel_PyTests: true
MPI_PyTorch_MNIST_api: true
MPI_PyTorch_MNIST_horovodrun: true
MPI_Single_PyTests: true
MPI_TensorFlow_2_0_Keras_MNIST_api: true
MPI_TensorFlow_2_0_Keras_MNIST_horovodrun: true
MPI_TensorFlow_2_0_MNIST_api: true
MPI_TensorFlow_2_0_MNIST_horovodrun: true
Run_PyTests_test_interactiverun: true
Single_MXNet_MNIST: true
Single_PyTorch_MNIST: true
Spark_Lightning_MNIST: true
Spark_PyTests: true
Spark_TensorFlow_2_0_MNIST_Data_Service: true
Spark_Torch_MNIST: true
build_timeout: 30
- image: test-cpu-openmpi-py3_8-tf2_11_0-keras2_11_0-torch1_13_0-mxnet1_9_1-pyspark3_3_1
MPI_Cluster_PyTests: true
MPI_MXNet_MNIST_horovodrun: true
MPI_Parallel_PyTests: true
MPI_PyTorch_MNIST_api: true
MPI_PyTorch_MNIST_horovodrun: true
MPI_Single_PyTests: true
MPI_TensorFlow_2_0_Keras_MNIST_api: true
MPI_TensorFlow_2_0_Keras_MNIST_horovodrun: true
MPI_TensorFlow_2_0_MNIST_api: true
MPI_TensorFlow_2_0_MNIST_horovodrun: true
Run_PyTests_test_interactiverun: true
Single_MXNet_MNIST: true
Single_PyTorch_MNIST: true
Spark_Lightning_MNIST: true
Spark_PyTests: true
Spark_TensorFlow_2_0_MNIST_Data_Service: true
Spark_Torch_MNIST: true
build_timeout: 30
- image: test-gpu-gloo-py3_7-tf1_15_5-keras2_2_4-torch1_8_1-mxnet1_5_1_p0-pyspark3_3_1
build_timeout: 40
- image: test-gpu-gloo-py3_8-tf2_10_1-keras2_10_0-torch1_12_1-mxnet1_8_0_p0-pyspark3_3_1
build_timeout: 40
- image: test-gpu-gloo-py3_8-tf2_9_3-keras2_9_0-torch1_11_0-mxnet1_7_0_p1-pyspark3_3_1
build_timeout: 40
- image: test-gpu-openmpi-gloo-py3_8-tf2_11_0-keras2_11_0-torch1_13_0-mxnet1_9_1-pyspark3_3_1
build_timeout: 40
- image: test-mixed-openmpi-gloo-py3_8-tf2_11_0-keras2_11_0-torch1_13_0-mxnet1_9_1-pyspark3_3_1
build_timeout: 40
steps:
- name: Clean up disk space
# deleting these paths frees 38 GB disk space:
# sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
# but this sometimes takes 3-4 minutes
# so we delete only some sub-paths which are known to be quick (10s) and 20 GB
run: |
echo ::group::Disk space before clean up
df -h
echo ::endgroup::
for dir in /usr/share/dotnet/sdk/\*/nuGetPackagesArchive.lzma \
/usr/share/dotnet/shared \
/usr/local/lib/android/sdk/ndk \
/usr/local/lib/android/sdk/build-tools \
/opt/ghc
do
echo ::group::Deleting "$dir"
sudo du -hsc $dir | tail -n1 || true
sudo rm -rf $dir
echo ::endgroup::
done
echo ::group::Disk space after clean up
df -h
echo ::endgroup::
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Setup docker-compose
run: pip install docker-compose
- name: Build
id: build
run: |
.github/timeout-and-retry.sh ${{ matrix.build_timeout }}m 3 10 docker-compose -f docker-compose.test.yml build ${{ matrix.image }}
env:
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1
- name: "Elastic Spark TensorFlow Tests 1 [attempt 1 of 3]"
id: Elastic_Spark_TensorFlow_Tests_1_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Spark_TensorFlow_Tests_1 && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_1_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_1_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 30m bash -c "cd /horovod/test/integration && /spark_env.sh HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.spark.tf.xml test_elastic_spark_tensorflow2.py"
shell: bash
- name: "Elastic Spark TensorFlow Tests 1 [attempt 2 of 3]"
id: Elastic_Spark_TensorFlow_Tests_1_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Spark_TensorFlow_Tests_1 && steps.Elastic_Spark_TensorFlow_Tests_1_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_1_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_1_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 30m bash -c "cd /horovod/test/integration && /spark_env.sh HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.spark.tf.xml test_elastic_spark_tensorflow2.py"
shell: bash
- name: "Elastic Spark TensorFlow Tests 1 [attempt 3 of 3]"
id: Elastic_Spark_TensorFlow_Tests_1_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Spark_TensorFlow_Tests_1 && steps.Elastic_Spark_TensorFlow_Tests_1_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_1_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_1_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 30m bash -c "cd /horovod/test/integration && /spark_env.sh HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.spark.tf.xml test_elastic_spark_tensorflow2.py"
shell: bash
- name: "Elastic Spark TensorFlow Tests 2 [attempt 1 of 3]"
id: Elastic_Spark_TensorFlow_Tests_2_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Spark_TensorFlow_Tests_2 && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_2_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_2_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 30m bash -c "cd /horovod/test/integration && /spark_env.sh HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.spark.tf.xml test_elastic_spark_tensorflow.py"
shell: bash
- name: "Elastic Spark TensorFlow Tests 2 [attempt 2 of 3]"
id: Elastic_Spark_TensorFlow_Tests_2_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Spark_TensorFlow_Tests_2 && steps.Elastic_Spark_TensorFlow_Tests_2_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_2_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_2_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 30m bash -c "cd /horovod/test/integration && /spark_env.sh HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.spark.tf.xml test_elastic_spark_tensorflow.py"
shell: bash
- name: "Elastic Spark TensorFlow Tests 2 [attempt 3 of 3]"
id: Elastic_Spark_TensorFlow_Tests_2_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Spark_TensorFlow_Tests_2 && steps.Elastic_Spark_TensorFlow_Tests_2_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_2_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Spark_TensorFlow_Tests_2_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 30m bash -c "cd /horovod/test/integration && /spark_env.sh HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.spark.tf.xml test_elastic_spark_tensorflow.py"
shell: bash
- name: "Elastic Spark Torch Tests [attempt 1 of 3]"
id: Elastic_Spark_Torch_Tests_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Spark_Torch_Tests && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Spark_Torch_Tests_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Spark_Torch_Tests_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 30m bash -c "cd /horovod/test/integration && /spark_env.sh HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.spark.torch.xml test_elastic_spark_torch.py"
shell: bash
- name: "Elastic Spark Torch Tests [attempt 2 of 3]"
id: Elastic_Spark_Torch_Tests_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Spark_Torch_Tests && steps.Elastic_Spark_Torch_Tests_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Spark_Torch_Tests_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Spark_Torch_Tests_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 30m bash -c "cd /horovod/test/integration && /spark_env.sh HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.spark.torch.xml test_elastic_spark_torch.py"
shell: bash
- name: "Elastic Spark Torch Tests [attempt 3 of 3]"
id: Elastic_Spark_Torch_Tests_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Spark_Torch_Tests && steps.Elastic_Spark_Torch_Tests_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Spark_Torch_Tests_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Spark_Torch_Tests_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 30m bash -c "cd /horovod/test/integration && /spark_env.sh HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.spark.torch.xml test_elastic_spark_torch.py"
shell: bash
- name: "Elastic Tests 1 [attempt 1 of 3]"
id: Elastic_Tests_1_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Tests_1 && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Tests_1_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Tests_1_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c "cd /horovod/test/integration && HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.xml test_elastic_torch.py test_elastic_tensorflow2.py"
shell: bash
- name: "Elastic Tests 1 [attempt 2 of 3]"
id: Elastic_Tests_1_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Tests_1 && steps.Elastic_Tests_1_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Tests_1_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Tests_1_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c "cd /horovod/test/integration && HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.xml test_elastic_torch.py test_elastic_tensorflow2.py"
shell: bash
- name: "Elastic Tests 1 [attempt 3 of 3]"
id: Elastic_Tests_1_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Tests_1 && steps.Elastic_Tests_1_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Tests_1_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Tests_1_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c "cd /horovod/test/integration && HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.xml test_elastic_torch.py test_elastic_tensorflow2.py"
shell: bash
- name: "Elastic Tests 2 [attempt 1 of 3]"
id: Elastic_Tests_2_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Tests_2 && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Tests_2_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Tests_2_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c "cd /horovod/test/integration && HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.xml test_elastic_torch.py test_elastic_tensorflow.py test_elastic_tensorflow_keras.py"
shell: bash
- name: "Elastic Tests 2 [attempt 2 of 3]"
id: Elastic_Tests_2_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Tests_2 && steps.Elastic_Tests_2_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Tests_2_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Tests_2_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c "cd /horovod/test/integration && HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.xml test_elastic_torch.py test_elastic_tensorflow.py test_elastic_tensorflow_keras.py"
shell: bash
- name: "Elastic Tests 2 [attempt 3 of 3]"
id: Elastic_Tests_2_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Elastic_Tests_2 && steps.Elastic_Tests_2_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Elastic_Tests_2_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Elastic_Tests_2_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c "cd /horovod/test/integration && HOROVOD_LOG_LEVEL=DEBUG pytest --forked -v --log-cli-level 10 --log-cli-format '[%(asctime)-15s %(levelname)s %(filename)s:%(lineno)d %(funcName)s()] %(message)s' --capture=no --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.elastic.xml test_elastic_torch.py test_elastic_tensorflow.py test_elastic_tensorflow_keras.py"
shell: bash
- name: "Gloo Cluster PyTests [attempt 1 of 3]"
id: Gloo_Cluster_PyTests_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Cluster_PyTests && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Cluster_PyTests_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Cluster_PyTests_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m bash -c " /etc/init.d/ssh start && cd /horovod/test/integration && pytest --forked -v --capture=fd --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.static.xml test_static_run.py"
shell: bash
- name: "Gloo Cluster PyTests [attempt 2 of 3]"
id: Gloo_Cluster_PyTests_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Cluster_PyTests && steps.Gloo_Cluster_PyTests_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Cluster_PyTests_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Cluster_PyTests_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m bash -c " /etc/init.d/ssh start && cd /horovod/test/integration && pytest --forked -v --capture=fd --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.static.xml test_static_run.py"
shell: bash
- name: "Gloo Cluster PyTests [attempt 3 of 3]"
id: Gloo_Cluster_PyTests_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Cluster_PyTests && steps.Gloo_Cluster_PyTests_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Cluster_PyTests_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Cluster_PyTests_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m bash -c " /etc/init.d/ssh start && cd /horovod/test/integration && pytest --forked -v --capture=fd --continue-on-collection-errors --junit-xml=/artifacts/junit.gloo.static.xml test_static_run.py"
shell: bash
- name: "Gloo Keras MNIST [attempt 1 of 3]"
id: Gloo_Keras_MNIST_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Keras_MNIST && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Keras_MNIST_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Keras_MNIST_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/keras/keras_mnist_advanced.py
shell: bash
- name: "Gloo Keras MNIST [attempt 2 of 3]"
id: Gloo_Keras_MNIST_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Keras_MNIST && steps.Gloo_Keras_MNIST_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Keras_MNIST_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Keras_MNIST_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/keras/keras_mnist_advanced.py
shell: bash
- name: "Gloo Keras MNIST [attempt 3 of 3]"
id: Gloo_Keras_MNIST_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Keras_MNIST && steps.Gloo_Keras_MNIST_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Keras_MNIST_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Keras_MNIST_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/keras/keras_mnist_advanced.py
shell: bash
- name: "Gloo MXNet2 MNIST api [attempt 1 of 3]"
id: Gloo_MXNet2_MNIST_api_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_MXNet2_MNIST_api && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_api_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_api_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/mxnet/mxnet2_mnist.py --num-proc 2 --hosts localhost:2 --communication gloo
shell: bash
- name: "Gloo MXNet2 MNIST api [attempt 2 of 3]"
id: Gloo_MXNet2_MNIST_api_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_MXNet2_MNIST_api && steps.Gloo_MXNet2_MNIST_api_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_api_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_api_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/mxnet/mxnet2_mnist.py --num-proc 2 --hosts localhost:2 --communication gloo
shell: bash
- name: "Gloo MXNet2 MNIST api [attempt 3 of 3]"
id: Gloo_MXNet2_MNIST_api_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_MXNet2_MNIST_api && steps.Gloo_MXNet2_MNIST_api_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_api_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_api_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/mxnet/mxnet2_mnist.py --num-proc 2 --hosts localhost:2 --communication gloo
shell: bash
- name: "Gloo MXNet2 MNIST horovodrun [attempt 1 of 3]"
id: Gloo_MXNet2_MNIST_horovodrun_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_MXNet2_MNIST_horovodrun && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_horovodrun_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_horovodrun_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/mxnet/mxnet2_mnist.py
shell: bash
- name: "Gloo MXNet2 MNIST horovodrun [attempt 2 of 3]"
id: Gloo_MXNet2_MNIST_horovodrun_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_MXNet2_MNIST_horovodrun && steps.Gloo_MXNet2_MNIST_horovodrun_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_horovodrun_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_horovodrun_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/mxnet/mxnet2_mnist.py
shell: bash
- name: "Gloo MXNet2 MNIST horovodrun [attempt 3 of 3]"
id: Gloo_MXNet2_MNIST_horovodrun_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_MXNet2_MNIST_horovodrun && steps.Gloo_MXNet2_MNIST_horovodrun_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_horovodrun_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_MXNet2_MNIST_horovodrun_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/mxnet/mxnet2_mnist.py
shell: bash
- name: "Gloo MXNet MNIST horovodrun [attempt 1 of 3]"
id: Gloo_MXNet_MNIST_horovodrun_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_MXNet_MNIST_horovodrun && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_MXNet_MNIST_horovodrun_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_MXNet_MNIST_horovodrun_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/mxnet/mxnet_mnist.py
shell: bash
- name: "Gloo MXNet MNIST horovodrun [attempt 2 of 3]"
id: Gloo_MXNet_MNIST_horovodrun_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_MXNet_MNIST_horovodrun && steps.Gloo_MXNet_MNIST_horovodrun_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_MXNet_MNIST_horovodrun_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_MXNet_MNIST_horovodrun_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/mxnet/mxnet_mnist.py
shell: bash
- name: "Gloo MXNet MNIST horovodrun [attempt 3 of 3]"
id: Gloo_MXNet_MNIST_horovodrun_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_MXNet_MNIST_horovodrun && steps.Gloo_MXNet_MNIST_horovodrun_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_MXNet_MNIST_horovodrun_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_MXNet_MNIST_horovodrun_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/mxnet/mxnet_mnist.py
shell: bash
- name: "Gloo Parallel PyTests [attempt 1 of 3]"
id: Gloo_Parallel_PyTests_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Parallel_PyTests && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Parallel_PyTests_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Parallel_PyTests_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c " cd /horovod/test/parallel && (ls -1 test_*.py | xargs -n 1 horovodrun -np 2 -H localhost:2 --gloo /bin/bash /pytest.sh gloo)"
shell: bash
- name: "Gloo Parallel PyTests [attempt 2 of 3]"
id: Gloo_Parallel_PyTests_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Parallel_PyTests && steps.Gloo_Parallel_PyTests_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Parallel_PyTests_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Parallel_PyTests_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c " cd /horovod/test/parallel && (ls -1 test_*.py | xargs -n 1 horovodrun -np 2 -H localhost:2 --gloo /bin/bash /pytest.sh gloo)"
shell: bash
- name: "Gloo Parallel PyTests [attempt 3 of 3]"
id: Gloo_Parallel_PyTests_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Parallel_PyTests && steps.Gloo_Parallel_PyTests_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Parallel_PyTests_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Parallel_PyTests_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c " cd /horovod/test/parallel && (ls -1 test_*.py | xargs -n 1 horovodrun -np 2 -H localhost:2 --gloo /bin/bash /pytest.sh gloo)"
shell: bash
- name: "Gloo PyTorch MNIST api [attempt 1 of 3]"
id: Gloo_PyTorch_MNIST_api_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_PyTorch_MNIST_api && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_api_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_api_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/pytorch/pytorch_mnist.py --data-dir /data/pytorch_datasets --num-proc 2 --hosts localhost:2 --communication gloo
shell: bash
- name: "Gloo PyTorch MNIST api [attempt 2 of 3]"
id: Gloo_PyTorch_MNIST_api_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_PyTorch_MNIST_api && steps.Gloo_PyTorch_MNIST_api_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_api_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_api_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/pytorch/pytorch_mnist.py --data-dir /data/pytorch_datasets --num-proc 2 --hosts localhost:2 --communication gloo
shell: bash
- name: "Gloo PyTorch MNIST api [attempt 3 of 3]"
id: Gloo_PyTorch_MNIST_api_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_PyTorch_MNIST_api && steps.Gloo_PyTorch_MNIST_api_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_api_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_api_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/pytorch/pytorch_mnist.py --data-dir /data/pytorch_datasets --num-proc 2 --hosts localhost:2 --communication gloo
shell: bash
- name: "Gloo PyTorch MNIST horovodrun [attempt 1 of 3]"
id: Gloo_PyTorch_MNIST_horovodrun_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_PyTorch_MNIST_horovodrun && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_horovodrun_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_horovodrun_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/pytorch/pytorch_mnist.py --data-dir /data/pytorch_datasets
shell: bash
- name: "Gloo PyTorch MNIST horovodrun [attempt 2 of 3]"
id: Gloo_PyTorch_MNIST_horovodrun_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_PyTorch_MNIST_horovodrun && steps.Gloo_PyTorch_MNIST_horovodrun_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_horovodrun_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_horovodrun_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/pytorch/pytorch_mnist.py --data-dir /data/pytorch_datasets
shell: bash
- name: "Gloo PyTorch MNIST horovodrun [attempt 3 of 3]"
id: Gloo_PyTorch_MNIST_horovodrun_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_PyTorch_MNIST_horovodrun && steps.Gloo_PyTorch_MNIST_horovodrun_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_horovodrun_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_PyTorch_MNIST_horovodrun_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/pytorch/pytorch_mnist.py --data-dir /data/pytorch_datasets
shell: bash
- name: "Gloo Single PyTests [attempt 1 of 3]"
id: Gloo_Single_PyTests_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Single_PyTests && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Single_PyTests_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Single_PyTests_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c " cd /horovod/test/single && (ls -1 test_*.py | xargs -n 1 /bin/bash /pytest_standalone.sh gloo)"
shell: bash
- name: "Gloo Single PyTests [attempt 2 of 3]"
id: Gloo_Single_PyTests_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Single_PyTests && steps.Gloo_Single_PyTests_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Single_PyTests_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Single_PyTests_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c " cd /horovod/test/single && (ls -1 test_*.py | xargs -n 1 /bin/bash /pytest_standalone.sh gloo)"
shell: bash
- name: "Gloo Single PyTests [attempt 3 of 3]"
id: Gloo_Single_PyTests_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_Single_PyTests && steps.Gloo_Single_PyTests_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_Single_PyTests_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_Single_PyTests_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 15m bash -c " cd /horovod/test/single && (ls -1 test_*.py | xargs -n 1 /bin/bash /pytest_standalone.sh gloo)"
shell: bash
- name: "Gloo TensorFlow 2.0 Keras MNIST api [attempt 1 of 3]"
id: Gloo_TensorFlow_2_0_Keras_MNIST_api_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_Keras_MNIST_api && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_api_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_api_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/tensorflow2/tensorflow2_keras_mnist.py 2 localhost:2 gloo
shell: bash
- name: "Gloo TensorFlow 2.0 Keras MNIST api [attempt 2 of 3]"
id: Gloo_TensorFlow_2_0_Keras_MNIST_api_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_Keras_MNIST_api && steps.Gloo_TensorFlow_2_0_Keras_MNIST_api_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_api_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_api_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/tensorflow2/tensorflow2_keras_mnist.py 2 localhost:2 gloo
shell: bash
- name: "Gloo TensorFlow 2.0 Keras MNIST api [attempt 3 of 3]"
id: Gloo_TensorFlow_2_0_Keras_MNIST_api_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_Keras_MNIST_api && steps.Gloo_TensorFlow_2_0_Keras_MNIST_api_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_api_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_api_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/tensorflow2/tensorflow2_keras_mnist.py 2 localhost:2 gloo
shell: bash
- name: "Gloo TensorFlow 2.0 Keras MNIST horovodrun [attempt 1 of 3]"
id: Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/tensorflow2/tensorflow2_keras_mnist.py
shell: bash
- name: "Gloo TensorFlow 2.0 Keras MNIST horovodrun [attempt 2 of 3]"
id: Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun && steps.Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/tensorflow2/tensorflow2_keras_mnist.py
shell: bash
- name: "Gloo TensorFlow 2.0 Keras MNIST horovodrun [attempt 3 of 3]"
id: Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun && steps.Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_Keras_MNIST_horovodrun_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 -H localhost:2 --gloo python /horovod/examples/tensorflow2/tensorflow2_keras_mnist.py
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST Data Service [attempt 1 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_Data_Service_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_Data_Service && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Data_Service_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Data_Service_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m bash -c "horovodrun -np 2 python -m horovod.tensorflow.data.compute_worker /tmp/compute.json & horovodrun -np 2 --gloo python /horovod/examples/tensorflow2/tensorflow2_mnist_data_service.py /tmp/compute.json"
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST Data Service [attempt 2 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_Data_Service_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_Data_Service && steps.Gloo_TensorFlow_2_0_MNIST_Data_Service_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Data_Service_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Data_Service_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m bash -c "horovodrun -np 2 python -m horovod.tensorflow.data.compute_worker /tmp/compute.json & horovodrun -np 2 --gloo python /horovod/examples/tensorflow2/tensorflow2_mnist_data_service.py /tmp/compute.json"
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST Data Service [attempt 3 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_Data_Service_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_Data_Service && steps.Gloo_TensorFlow_2_0_MNIST_Data_Service_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Data_Service_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Data_Service_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m bash -c "horovodrun -np 2 python -m horovod.tensorflow.data.compute_worker /tmp/compute.json & horovodrun -np 2 --gloo python /horovod/examples/tensorflow2/tensorflow2_mnist_data_service.py /tmp/compute.json"
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST Elastic api [attempt 1 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_Elastic_api && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/elastic/tensorflow2/tensorflow2_mnist_elastic.py 2 2 2 localhost:2,127.0.0.1:2
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST Elastic api [attempt 2 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_Elastic_api && steps.Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/elastic/tensorflow2/tensorflow2_mnist_elastic.py 2 2 2 localhost:2,127.0.0.1:2
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST Elastic api [attempt 3 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_Elastic_api && steps.Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_api_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/elastic/tensorflow2/tensorflow2_mnist_elastic.py 2 2 2 localhost:2,127.0.0.1:2
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST Elastic horovodrun [attempt 1 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 --min-np 2 --max-np 2 -H localhost:2,127.0.0.1:2 --gloo python /horovod/examples/elastic/tensorflow2/tensorflow2_mnist_elastic.py
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST Elastic horovodrun [attempt 2 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun && steps.Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 --min-np 2 --max-np 2 -H localhost:2,127.0.0.1:2 --gloo python /horovod/examples/elastic/tensorflow2/tensorflow2_mnist_elastic.py
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST Elastic horovodrun [attempt 3 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun && steps.Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_Elastic_horovodrun_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m horovodrun -np 2 --min-np 2 --max-np 2 -H localhost:2,127.0.0.1:2 --gloo python /horovod/examples/elastic/tensorflow2/tensorflow2_mnist_elastic.py
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST api [attempt 1 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_api_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_api && true
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_api_run_1
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_api_run_1:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/tensorflow2/tensorflow2_mnist.py 2 localhost:2 gloo
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST api [attempt 2 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_api_run_2
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_api && steps.Gloo_TensorFlow_2_0_MNIST_api_run_1.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_api_run_2
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_api_run_2:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/tensorflow2/tensorflow2_mnist.py 2 localhost:2 gloo
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST api [attempt 3 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_api_run_3
continue-on-error: false
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_api && steps.Gloo_TensorFlow_2_0_MNIST_api_run_2.outcome == 'failure'
run: |
mkdir -p artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_api_run_3
docker-compose -f docker-compose.test.yml run -e GITHUB_ACTIONS --rm --volume "$(pwd)/artifacts/${{ matrix.image }}/Gloo_TensorFlow_2_0_MNIST_api_run_3:/artifacts" ${{ matrix.image }} /usr/bin/timeout 10m python /horovod/examples/tensorflow2/tensorflow2_mnist.py 2 localhost:2 gloo
shell: bash
- name: "Gloo TensorFlow 2.0 MNIST horovodrun [attempt 1 of 3]"
id: Gloo_TensorFlow_2_0_MNIST_horovodrun_run_1
continue-on-error: true
if: always() && steps.build.outcome == 'success' && matrix.Gloo_TensorFlow_2_0_MNIST_horovodrun && true
run: |