forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrelease_tests.yaml
6387 lines (5051 loc) · 138 KB
/
release_tests.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
# Global release test configuration file.
# All your release test configuration should go here. Adding release tests here
# will automatically enable them in the Buildkite release testing schedules
# (except they have frequency: manual).
# Here is an example configuration for reference:
#- name: example_test
# # Tests with the same group will be grouped in the Buildkite UI
# group: Example group
# # Provide the working directory which will be uploaded to the cluster
# working_dir: example_dir
#
# # How often to run the tests.
# # One of [manual, any, multi, nightly, nightly-3x, weekly].
# # Descriptions of each frequency (that's not immediately obvious):
# # - manual: Not run on a schedule, but can be manually run through the buildkite UI.
# # - nightly-3x: Run 3 times a week (Monday, Wednesday, Friday).
# frequency: weekly
# # Owning team. This field will be persisted to the database
# team: ml
#
# # Python version. This optional field determines which Python version to run tests
# # on. This must be a string!
# python: "3.7"
#
# # Cluster information
# cluster:
# # Location of cluster env, relative to working_dir
# cluster_env: cluster_env.yaml
# # Location of cluster compute, relative to working_dir
# cluster_compute: cluster_compute.yaml
# # Autosuspend parameter passed to the cluster.
# # The cluster will automatically terminate if inactive for this
# # many minutes. Defaults to 10 if not set.
# autosuspend_mins: 10
# # Optional cloud_id to use instead of the default cloud
# cloud_id: cld_12345678
# # Alternatively, you can specify a cloud name
# cloud_name: anyscale_default_cloud
#
# # Run configuration for the test
# run:
# # If you want to wait for nodes to be ready, you can specify this here:
# wait_for_nodes:
# # Number of nodes
# num_nodes: 16
# # Timeout for waiting for nodes. If nodes are not up by then, the
# # test will fail.
# timeout: 600
#
# # Optional prepare script to be run on the cluster before the test script
# prepare: python prepare.py
# # The prepare command can have a separate timeout
# prepare_timeout: 300
#
# # Main script to run as the test script
# script: python workloads/train_small.py
# # Timeout in seconds. After this time the test is considered as failed.
# timeout: 600
#
# # You can specify smoke test definitions here. If a smoke test is triggered,
# # it will deep update the main test configuration with the values provided
# # here. Smoke tests will automatically run with IS_SMOKE_TEST=1 as en
# # environment variable and receive the --smoke-test flag as a parameter in the
# # run script.
# smoke_test:
# # Smoke tests can have different frequencies. A smoke test is only triggered
# # when the regular test is not matched.
# frequency: nightly
# # Here we adjust the run timeout down and run on less nodes. The test script
# # remains the same.
# run:
# timeout: 300
# wait_for_nodes:
# num_nodes: 4
# timeout: 600
#
# # After the test finished, this handler (in alerts/) will process the results.
# # It can then let the test fail, e.g. if a metric regression is observed.
# alert: default
#######################
# Cluster scaling tests
#######################
- name: cluster_tune_scale_up_down
group: Cluster tests
working_dir: cluster_tests
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: cpt_autoscaling_1-3_aws.yaml
run:
timeout: 3600
script: python workloads/tune_scale_up_down.py
wait_for_nodes:
num_nodes: 0
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: cpt_autoscaling_1-3_gce.yaml
alert: default
#########################
# AIR release tests
#########################
- name: tune_with_frequent_pausing
group: AIR tests
working_dir: air_tests
frequency: nightly-3x
team: ml
cluster:
cluster_env: frequent_pausing/app_config.yaml
cluster_compute: frequent_pausing/compute_config_aws.yaml
run:
timeout: 600 # 10min
long_running: true
script: python frequent_pausing/script.py
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: frequent_pausing/app_config.yaml
cluster_compute: frequent_pausing/compute_config_gce.yaml
alert: default
- name: long_running_horovod_tune_test
group: AIR tests
working_dir: air_tests
frequency: weekly
team: ml
cluster:
cluster_env: horovod/app_config_master.yaml
cluster_compute: horovod/compute_tpl_aws.yaml
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: horovod/app_config_master.yaml
cluster_compute: horovod/compute_tpl_gce.yaml
run:
timeout: 36000
script: python horovod/workloads/horovod_tune_test.py
long_running: true
wait_for_nodes:
num_nodes: 2
smoke_test:
frequency: manual
run:
timeout: 3600
alert: default
- name: air_benchmark_data_bulk_ingest
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_data_20_nodes_aws.yaml
run:
timeout: 3600
script: python workloads/data_benchmark.py --dataset-size-gb=200 --num-workers=20
wait_for_nodes:
num_nodes: 20
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_data_20_nodes_gce.yaml
alert: default
# AIR benchmarks for XGBoost CUJ
- name: air_benchmark_xgboost_cpu_10
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: xgboost_app_config.yaml
cluster_compute: compute_xgboost_aws.yaml
run:
timeout: 36000
script: python workloads/xgboost_benchmark.py
wait_for_nodes:
num_nodes: 11
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: xgboost_app_config.yaml
cluster_compute: compute_xgboost_gce.yaml
smoke_test:
frequency: manual
run:
timeout: 1800
alert: default
# Ray AIR distributed Torch benchmarks
- name: air_benchmark_torch_mnist_cpu_4x1
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_4_aws.yaml
run:
timeout: 3600
script: python workloads/torch_benchmark.py run --num-runs 3 --num-epochs 20 --num-workers 4 --cpus-per-worker 8
wait_for_nodes:
num_nodes: 4
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_4_gce.yaml
alert: default
- name: air_benchmark_torch_mnist_gpu_4x4
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: weekly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_4x4_aws.yaml
run:
timeout: 4800
script: python workloads/torch_benchmark.py run --num-runs 3 --num-epochs 120 --num-workers 16 --cpus-per-worker 4 --batch-size 1024 --use-gpu
wait_for_nodes:
num_nodes: 4
smoke_test:
frequency: nightly
cluster:
cluster_compute: compute_gpu_2x2_aws.yaml
run:
timeout: 3600
script: python workloads/torch_benchmark.py run --num-runs 3 --num-epochs 60 --num-workers 4 --cpus-per-worker 4 --batch-size 512 --use-gpu
wait_for_nodes:
num_nodes: 2
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_4x4_gce.yaml
smoke_test:
frequency: manual
alert: default
- name: air_benchmark_torch_mnist_cpu_1x4
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_1_aws.yaml
run:
timeout: 3600
script: python workloads/torch_benchmark.py run --num-runs 3 --num-epochs 20 --num-workers 4 --cpus-per-worker 2
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_1_gce.yaml
alert: default
- name: air_benchmark_torch_batch_prediction_gpu_1x1_20gb
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_1_cpu_16_aws.yaml
run:
timeout: 3600
script: python workloads/gpu_batch_prediction.py --data-size-gb 20
alert: default
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_1_cpu_16_gce.yaml
- name: air_benchmark_torch_batch_prediction_gpu_4x4_100gb
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
stable: false
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_4x4_aws.yaml
run:
timeout: 10800
script: python workloads/gpu_batch_prediction.py --data-size-gb 100
wait_for_nodes:
num_nodes: 4
alert: default
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_4x4_gce.yaml
- name: air_benchmark_torch_mnist_cpu_4x4
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_4_aws.yaml
run:
timeout: 5400
script: python workloads/torch_benchmark.py run --num-runs 3 --num-epochs 20 --num-workers 16 --cpus-per-worker 2
wait_for_nodes:
num_nodes: 4
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_4_gce.yaml
alert: default
- name: air_benchmark_tune_torch_mnist
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_8_aws.yaml
run:
timeout: 3600
script: python workloads/tune_torch_benchmark.py --num-runs 3 --num-trials 8 --num-workers 4
wait_for_nodes:
num_nodes: 8
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_8_gce.yaml
alert: default
- name: air_benchmark_tune_torch_mnist_gpu
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_4x4_aws.yaml
run:
timeout: 3600
script: python workloads/tune_torch_benchmark.py --num-runs 2 --num-trials 4 --num-workers 4 --use-gpu
wait_for_nodes:
num_nodes: 4
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_4x4_gce.yaml
alert: default
# Ray AIR distributed Tensorflow benchmarks
- name: air_benchmark_tensorflow_mnist_cpu_4x1
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_4_aws.yaml
run:
timeout: 5400
script: python workloads/tensorflow_benchmark.py run --num-runs 3 --num-epochs 20 --num-workers 4 --cpus-per-worker 8
wait_for_nodes:
num_nodes: 4
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_4_gce.yaml
alert: default
- name: air_benchmark_tensorflow_mnist_cpu_1x4
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_1_aws.yaml
run:
timeout: 5400
script: python workloads/tensorflow_benchmark.py run --num-runs 3 --num-epochs 20 --num-workers 4 --cpus-per-worker 2
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_1_gce.yaml
alert: default
- name: air_benchmark_tensorflow_mnist_cpu_4x4
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
stable: false
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_4_aws.yaml
run:
timeout: 5400
script: python workloads/tensorflow_benchmark.py run --num-runs 3 --num-epochs 20 --num-workers 16 --cpus-per-worker 2
wait_for_nodes:
num_nodes: 4
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_cpu_4_gce.yaml
alert: default
- name: air_benchmark_tensorflow_mnist_gpu_4x4
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: weekly
team: ml
stable: false
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_4x4_aws.yaml
run:
timeout: 5400
script: python workloads/tensorflow_benchmark.py run --num-runs 3 --num-epochs 200 --num-workers 16 --cpus-per-worker 4 --batch-size 1024 --use-gpu
wait_for_nodes:
num_nodes: 4
smoke_test:
frequency: nightly
cluster:
cluster_compute: compute_gpu_2x2_aws.yaml
run:
script: python workloads/tensorflow_benchmark.py run --num-runs 3 --num-epochs 60 --num-workers 4 --cpus-per-worker 4 --batch-size 512 --use-gpu
wait_for_nodes:
num_nodes: 2
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_4x4_gce.yaml
smoke_test:
frequency: manual
alert: default
- name: air_benchmark_pytorch_training_e2e_gpu_1x1_20gb
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_1_aws.yaml
run:
timeout: 3600
script: python workloads/pytorch_training_e2e.py --data-size-gb 20
alert: default
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_1_gce.yaml
- name: air_benchmark_pytorch_training_e2e_gpu_4x4_100gb
group: AIR tests
working_dir: air_tests/air_benchmarks
frequency: nightly
team: ml
stable: false
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_4x4_aws.yaml
run:
timeout: 10800
script: python workloads/pytorch_training_e2e.py --data-size-gb=100 --num-workers=16
wait_for_nodes:
num_nodes: 4
alert: default
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: compute_gpu_4x4_gce.yaml
# Test tiny, medium, and huge input files.
- name: ray-data-bulk-ingest-file-size-benchmark
group: AIR tests
working_dir: air_tests/air_benchmarks/mlperf-train
stable: false
jailed: true
frequency: nightly
team: data
cluster:
cluster_env: app_config_oom.yaml
cluster_compute: compute_cpu_16.yaml
run:
timeout: 3600
script: bash file_size_benchmark.sh
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config_oom.yaml
cluster_compute: compute_gce_cpu_16.yaml
# Test dataset larger than object store memory.
- name: ray-data-bulk-ingest-out-of-core-benchmark
group: AIR tests
working_dir: air_tests/air_benchmarks/mlperf-train
stable: false
jailed: true
frequency: nightly
team: data
cluster:
cluster_env: app_config_oom.yaml
cluster_compute: compute_cpu_16.yaml
run:
timeout: 3600
script: bash out_of_core_benchmark.sh
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config_oom.yaml
cluster_compute: compute_gce_cpu_16.yaml
# Test additional CPU nodes for preprocessing.
- name: ray-data-bulk-ingest-heterogeneity-benchmark
group: AIR tests
working_dir: air_tests/air_benchmarks/mlperf-train
stable: false
jailed: true
frequency: nightly
team: data
cluster:
cluster_env: app_config_oom.yaml
cluster_compute: compute_cpu_16_worker_nodes_2.yaml
run:
wait_for_nodes:
num_nodes: 3
timeout: 1800
script: bash heterogeneity_benchmark.sh 2
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config_oom.yaml
cluster_compute: compute_gce_cpu_16_worker_nodes_2.yaml
#######################
# AIR examples
#######################
# Test additional CPU nodes for preprocessing.
- name: air_example_dreambooth_finetuning
group: AIR examples
working_dir: air_examples/dreambooth
stable: false
frequency: weekly
team: ml
cluster:
cluster_env: dreambooth_env.yaml
cluster_compute: dreambooth_compute_aws.yaml
run:
timeout: 1800
script: bash dreambooth_run.sh
artifact_path: /tmp/artifacts/example_out.jpg
# variations: A10G not available on GCE, yet.
- name: air_example_gptj_deepspeed_fine_tuning
group: AIR examples
working_dir: air_examples/gptj_deepspeed_finetuning
python: "3.9"
frequency: weekly
team: ml
cluster:
cluster_env: gptj_deepspeed_env.yaml
cluster_compute: gptj_deepspeed_compute_aws.yaml
run:
timeout: 3600
script: python test_myst_doc.py --path gptj_deepspeed_fine_tuning.ipynb
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: gptj_deepspeed_env.yaml
cluster_compute: gptj_deepspeed_compute_gce.yaml
- name: air_example_dolly_v2_lightning_fsdp_finetuning
group: AIR examples
working_dir: air_examples/dolly_v2_lightning_fsdp_finetuning
python: "3.8"
frequency: weekly
team: ml
cluster:
cluster_env: dolly_v2_fsdp_env.yaml
cluster_compute: dolly_v2_fsdp_compute_aws.yaml
run:
timeout: 4700
script: python test_myst_doc.py --path lightning-llm-finetuning-7b.ipynb
- name: air_example_opt_deepspeed_batch_inference
group: AIR examples
working_dir: air_examples/opt_deepspeed_batch_inference
python: "3.9"
frequency: weekly
team: ml
cluster:
cluster_env: 30b_deepspeed_env.yaml
cluster_compute: 30b_deepspeed_compute.yaml
run:
timeout: 3600
script: python test_myst_doc.py --path opt_deepspeed_batch_inference.ipynb
# variations: TODO(jungong): add GCP variation.
#####################################
# Workspace templates release tests #
#####################################
- name: workspace_template_batch_inference
group: Workspace templates
working_dir: workspace_templates/01_batch_inference
python: "3.9"
frequency: nightly-3x
team: ml
cluster:
cluster_env: ../testing/cluster_envs/default_cluster_env_latest_ml_py39.yaml
cluster_compute: ../testing/compute_configs/gpu/aws.yaml
run:
timeout: 600
script: jupyter nbconvert --to script --output _test start.ipynb && ipython _test.py
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: ../testing/cluster_envs/default_cluster_env_latest_ml_py39.yaml
cluster_compute: ../testing/compute_configs/gpu/gce.yaml
- name: workspace_template_many_model_training
group: Workspace templates
working_dir: workspace_templates/02_many_model_training
python: "3.9"
frequency: nightly-3x
team: ml
cluster:
cluster_env: ../testing/cluster_envs/default_cluster_env_latest_ml_py39.yaml
cluster_compute: ../testing/compute_configs/cpu/aws.yaml
run:
timeout: 600
script: pip install --user -r requirements.txt && jupyter nbconvert --to script --output _test start.ipynb && ipython _test.py
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: ../testing/cluster_envs/default_cluster_env_latest_ml_py39.yaml
cluster_compute: ../testing/compute_configs/cpu/gce.yaml
- name: workspace_template_serving_stable_diffusion
group: Workspace templates
working_dir: workspace_templates/03_serving_stable_diffusion
python: "3.9"
frequency: nightly-3x
team: ml
cluster:
cluster_env: ../testing/cluster_envs/03_serving_stable_diffusion.yaml
cluster_compute: ../testing/compute_configs/gpu/aws.yaml
run:
timeout: 600
script: jupyter nbconvert --to script --output _test start.ipynb && ipython _test.py
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: ../testing/cluster_envs/03_serving_stable_diffusion.yaml
cluster_compute: ../testing/compute_configs/gpu/gce.yaml
#######################
# XGBoost release tests
#######################
# It seems like the consensus is that we can deprecate this test.
# - name: xgboost_train_small
# group: XGBoost
# working_dir: xgboost_tests
# frequency: nightly
# team: ml
# env: staging_v2
# cluster:
# cluster_env: app_config.yaml
# cluster_compute: tpl_cpu_small.yaml
# run:
# timeout: 600
# script: python workloads/train_small.py
# wait_for_nodes:
# num_nodes: 4
# alert: xgboost_tests
- name: xgboost_train_moderate
group: XGBoost
working_dir: xgboost_tests
frequency: nightly
team: ml
cluster:
cluster_env: app_config.yaml
cluster_compute: tpl_cpu_moderate_aws.yaml
run:
timeout: 600
script: python workloads/train_moderate.py
wait_for_nodes:
num_nodes: 32
variations:
- __suffix__: aws
- __suffix__: gce
env: gce
frequency: manual
cluster:
cluster_env: app_config.yaml
cluster_compute: tpl_cpu_moderate_gce.yaml
alert: xgboost_tests
- name: xgboost_train_gpu
group: XGBoost
working_dir: xgboost_tests
frequency: nightly
team: ml