forked from NVIDIA-Merlin/HugeCTR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
executable file
·830 lines (761 loc) · 25.6 KB
/
.gitlab-ci.yml
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
include:
- project: "dl/devops/gitlab-ci-slurm"
ref: master
file: "/.gitlab-ci.yml"
- /ci/common.yml
- /ci/template.yml
- /ci/benchmark.yml
- /ci/rules.gitlab_ci.yml
nightly_build_all:
extends: .build_nightly
variables:
REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
DST_IMAGE: ${IMAGE_ALL}
DOCKER_FILE: dockerfile.ctr
BUILD_ARGS: --build-arg HUGECTR_DEV_MODE=true
nightly_build_all_with_hdfs:
extends: .build_nightly
variables:
REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
DST_IMAGE: ${IMAGE_ALL_WITH_HDFS}
DOCKER_FILE: dockerfile.ctr
BUILD_ARGS: --build-arg HUGECTR_DEV_MODE=true --build-arg INSTALL_HDFS=true
#nightly_build_inference:
# extends: .build_nightly
# variables:
# REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
# DST_IMAGE: ${IMAGE_INFER}
# DOCKER_FILE: ./inference/dockerfile.ctr
# BUILD_ARGS: --build-arg HUGECTR_DEV_MODE=true
nightly_build_sok_tf2:
extends: .build_nightly
variables:
REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
DST_IMAGE: ${IMAGE_SOK_TF2}
DOCKER_FILE: dockerfile.tf
BUILD_ARGS: --build-arg HUGECTR_DEV_MODE=true
nightly_build_sok_tf1:
extends: .build_nightly_tf1
variables:
DST_IMAGE: ${IMAGE_SOK_TF1}
DOCKER_FILE: Dockerfile.sok1
BUILD_ARGS: --build-arg HUGECTR_DEV_MODE=true
#nightly_build_unified_container.ctr:
# extends: .build_nightly
# variables:
# REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
# DST_IMAGE: ${CI_REGISTRY}/dl/hugectr/hugectr:unified.ctr.latest.new
# DOCKER_FILE: dockerfile.ctr
# BUILD_ARGS: --build-arg _CI_JOB_TOKEN=${RD_CI_JOB_TOKEN} --build-arg _HUGECTR_REPO=gitlab-master.nvidia.com/dl/hugectr/hugectr.git --build-arg HUGECTR_VER=${CI_COMMIT_BRANCH}
nightly_build_unified_container.tf:
extends: .build_nightly
variables:
REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
DST_IMAGE: ${CI_REGISTRY}/dl/hugectr/hugectr:unified.tf.latest
DOCKER_FILE: dockerfile.tf
BUILD_ARGS: --build-arg _CI_JOB_TOKEN=${RD_CI_JOB_TOKEN} --build-arg _HUGECTR_REPO=gitlab-master.nvidia.com/dl/hugectr/hugectr.git --build-arg HUGECTR_VER=${CI_COMMIT_BRANCH}
nightly_build_unified_container.ctr:
extends: .build_nightly
variables:
REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
DST_IMAGE: ${CI_REGISTRY}/dl/hugectr/hugectr:unified.ctr.latest
DOCKER_FILE: dockerfile.ctr
BUILD_ARGS: --build-arg _CI_JOB_TOKEN=${RD_CI_JOB_TOKEN} --build-arg _HUGECTR_REPO=gitlab-master.nvidia.com/dl/hugectr/hugectr.git --build-arg HUGECTR_VER=${CI_COMMIT_BRANCH} --build-arg _HUGECTR_BACKEND_REPO=gitlab-master.nvidia.com/dl/hugectr/hugectr_inference_backend.git --build-arg HUGECTR_BACKEND_VER=hugectr_performance_test
### Stage: build
format_check_python:
extends: .python_format
variables:
EXCLUDE: "third_party|docs|notebooks|tutorial"
format_check_clang:
extends: .clang_format
variables:
EXCLUDE: ./third_party
STYLE: file
EXECUTABLE: clang-format10
EXTENSIONS: "h,hpp,cpp,cu,cuh"
build_train_single_node:
extends: .build_hugectr
variables:
FROM_IMAGE: ${IMAGE_ALL}
DST_IMAGE: $TRAIN_IMAGE_VERSIONED
CMAKE_OPTION: "-DCMAKE_BUILD_TYPE=Release -DKEY_HIT_RATIO=ON -DSM=\"60;61;70;75;80\" -DCLANGFORMAT=OFF"
BUILD_HUGECTR: 1
BUILD_HUGECTR2ONNX: 1
build_train_single_node_with_hdfs:
extends: .build_hugectr
variables:
FROM_IMAGE: ${IMAGE_ALL_WITH_HDFS}
DST_IMAGE: $TRAIN_IMAGE_VERSIONED_WITH_HDFS
CMAKE_OPTION: "-DCMAKE_BUILD_TYPE=Release -DKEY_HIT_RATIO=ON -DSM=\"60;61;70;75;80\" -DCLANGFORMAT=OFF -DENABLE_HDFS=ON"
BUILD_HUGECTR: 1
BUILD_HUGECTR2ONNX: 1
build_train_multi_node:
extends: .build_hugectr
variables:
FROM_IMAGE: ${IMAGE_ALL}
DST_IMAGE: $TRAIN_IMAGE_MULTINODE_VERSIONED
CMAKE_OPTION: "-DCMAKE_BUILD_TYPE=Release -DKEY_HIT_RATIO=ON -DENABLE_MULTINODES=ON -DSM=\"60;61;70;75;80\" -DCLANGFORMAT=OFF"
BUILD_HUGECTR: 1
build_train_inference:
extends: .build_hugectr
variables:
FROM_IMAGE: ${IMAGE_ALL}
DST_IMAGE: $TRAIN_INFER_IMAGE_VERSIONED
CMAKE_OPTION: "-DENABLE_INFERENCE=ON -DCMAKE_BUILD_TYPE=Release -DSM=\"60;61;70;75;80\" -DCLANGFORMAT=OFF"
BUILD_HUGECTR: 1
### Stage: test
build_inference:
extends: .build_hugectr
variables:
FROM_IMAGE: ${IMAGE_ALL}
DST_IMAGE: $INFER_IMAGE_VERSIONED
CMAKE_OPTION: "-DENABLE_INFERENCE=ON -DCMAKE_BUILD_TYPE=Release -DSM=\"70;75;80\" -DCLANGFORMAT=OFF"
BUILD_HUGECTR: 1
BUILD_HUGECTR_BACKEND: 1
TRITON_BRANCH: r21.06
build_sok_tf2:
extends: .build_sok
variables:
FROM_IMAGE: ${IMAGE_SOK_TF2}
DST_IMAGE: $SOK_IMAGE_VERSIONED_TF2
CMAKE_OPTION: "-DSM=\"60;61;70;75;80\""
BUILD_SOK: 1
build_sok_tf1:
extends: .build_sok
variables:
FROM_IMAGE: ${IMAGE_SOK_TF1}
DST_IMAGE: $SOK_IMAGE_VERSIONED_TF1
CMAKE_OPTION: "-DSM=\"60;61;70;75;80\""
BUILD_SOK: 1
build_hps_tf_plugin:
extends: .build_hugectr
variables:
FROM_IMAGE: ${IMAGE_SOK_TF2}
DST_IMAGE: $TF_PLUGIN_IMAGE_VERSIONED
BUILD_TF_PLUGIN: 1
## Stage: test
# unit test
utests:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/utests
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT},/lustre/fsw/devtech/hpc-hugectr/inference/:/hugectr/test/utest/
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/utest/utest.sub
utests_layer_1:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/utests
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT},/lustre/fsw/devtech/hpc-hugectr/inference/:/hugectr/test/utest/
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/utest/utest_layer_1.sub
utests_layer_2:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/utests
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT},/lustre/fsw/devtech/hpc-hugectr/inference/:/hugectr/test/utest/
SLURM_ACCOUNT: devtech
WALLTIME: "00:40:00"
DGXNNODES: 1
TEST_CMD: ./ci/utest/utest_layer_2.sub
utests_embedding:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/utests_embedding
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT},/lustre/fsw/devtech/hpc-hugectr/inference/:/hugectr/test/utest/
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/utest/utest_embedding.sub
utests_hybrid_e2e:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/utests_embedding
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT},/lustre/fsw/devtech/hpc-hugectr/inference/:/hugectr/test/utest/
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/utest/utest_hybrid_e2e.sub
utests_inference:
extends: .cluster_test_job
needs:
- build_train_inference
variables:
GPFSFOLDER: $LOGDIR/utests_inference
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_INFER_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT},/lustre/fsw/devtech/hpc-hugectr/inference/:/hugectr/test/utest/
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/utest/utest_inference.sub
# single node
criteo:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/criteo
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/criteo/criteo.sub
# criteo_dgx1:
# extends: .dlcluster_test_job
# script:
# - srun -N 1 -p dgx1v,dgx1v16g,dgx1v32g
# --container-image $TRAIN_IMAGE_VERSIONED
# --container-mounts ${DATASET_CRITEO_DLGROUP}:${DATASET_MOUNT},$(pwd):${CI_PROJECT_DIR}
# bash -cx "
# export PYTHONPATH=${WORK_DIR}/build/build_single/lib/ &&
# cd ${DATASET_MOUNT}/criteo &&
# python3 ${WORK_DIR}/test/pybind_test/single_node_test.py --json-file=${WORK_DIR}/test/scripts/criteo_8gpu.json &&
# python3 ${WORK_DIR}/test/pybind_test/single_node_test.py --json-file=${WORK_DIR}/test/scripts/criteo_multi_slots_8gpu.json"
criteo_multi_node:
extends: .cluster_test_job_daily
needs:
- build_train_multi_node
variables:
GPFSFOLDER: $LOGDIR/criteo_multi_node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_MULTINODE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 2
TEST_CMD: ./ci/integration_test/criteo/criteo_multi_node.sub
dcn:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/dcn
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:40:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/dcn/dcn.sub
dcn_8gpu:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/dcn
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:40:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/dcn/dcn_8gpu.sub
dlrm_benchmark_1node:
extends: .cluster_test_job
needs:
- build_train_multi_node
variables:
GPFSFOLDER: $LOGDIR/dlrm_benchmark_1node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_MULTINODE_VERSIONED
MOUNTS: /raid:/raid
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/dlrm/benchmark_1node.sub
dlrm_benchmark_14node:
extends: .cluster_test_job_daily
needs:
- build_train_multi_node
variables:
GPFSFOLDER: $LOGDIR/dlrm_benchmark_14node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_MULTINODE_VERSIONED
MOUNTS: /raid:/raid
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
SBATCH_OTHER_PARAMS: --network sharp
DGXNNODES: 14
TEST_CMD: ./ci/integration_test/dlrm/benchmark_14node.sub
wdl:
extends: .cluster_test_job # test on selene needs to extend .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/wdl # log dir, usually $LOGDIR + job name
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE} # should not change
CONT: $TRAIN_IMAGE_VERSIONED # image name
MOUNTS: ${DATASET}:${DATASET_MOUNT} # mount
SLURM_ACCOUNT: devtech # account, do not need change
WALLTIME: "00:15:00" # estimate job time. Less time, higher priority
DGXNNODES: 1 # node num
TEST_CMD: ./ci/integration_test/wdl/wdl.sub # test script
wdl_multi_gpu:
extends: .cluster_test_job_daily # test on selene needs to extend .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/wdl_multi_gpu # log dir, usually $LOGDIR + job name
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE} # should not change
CONT: $TRAIN_IMAGE_VERSIONED # image name
MOUNTS: ${DATASET}:${DATASET_MOUNT} # mount
SLURM_ACCOUNT: devtech # account, do not need change
WALLTIME: "00:15:00" # estimate job time. Less time, higher priority
DGXNNODES: 1 # node num
TEST_CMD: ./ci/integration_test/wdl/wdl_daily.sub
deepfm:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/deepfm
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/deepfm/deepfm.sub
deepfm_multi_gpu:
extends: .cluster_test_job_daily
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/deepfm_multi_gpu
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/deepfm/deepfm_daily.sub
dlrm:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/dlrm
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/dlrm/dlrm.sub
dcn_multi_node:
extends: .cluster_test_job_daily
needs:
- build_train_multi_node
variables:
GPFSFOLDER: $LOGDIR/dcn_multi_node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_MULTINODE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "01:00:00"
DGXNNODES: 4 # using 4 node
TEST_CMD: ./ci/integration_test/dcn/dcn_multi_node.sub
group_fc:
extends: .cluster_test_job_daily
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/group_fc
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET_NEW_CRITEO_SELENE}:${NEW_CRITEO_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/group_fc/group_fc.sub
mlperf_generalization:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/mlperf_generalization
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET_NEW_CRITEO_SELENE}:${NEW_CRITEO_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/mlperf_generalization/overlapped_pipeline.sub
# python interface inference
inference_session:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/inference_session
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT},/lustre/fsw/devtech/hpc-hugectr/inference/:/hugectr/test/utest/
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/inference/inference_session.sub
inference_hps:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/inference_hps
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT},/lustre/fsw/devtech/hpc-hugectr/inference/:/hugectr/test/utest/
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/inference/inference_hps.sub
py_low_level:
extends: .cluster_test_job_daily
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/py_low_level
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT},/raid:/raid
SLURM_ACCOUNT: devtech
WALLTIME: "01:00:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/py_interface/py_low_level.sub
din_single_node:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/din_single_node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DIN_DATASET}:${DIN_DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/din/din.sub
etc_single_node:
extends: .cluster_test_job_daily
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/etc_single_node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:45:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/etc/etc_single_node.sub
etc_multi_node:
extends: .cluster_test_job_daily
needs:
- build_train_multi_node
variables:
GPFSFOLDER: $LOGDIR/etc_multi_node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_MULTINODE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT},${LOGDIR}:/tmp_dir
SLURM_ACCOUNT: devtech
WALLTIME: "00:45:00"
DGXNNODES: 2
TEST_CMD: ./ci/integration_test/etc/etc_multi_node.sub
ebc_single_node:
extends: .cluster_test_job_daily
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/ebc_single_node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET_NEW_CRITEO_SELENE}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:45:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/ebc/ebc_single_node.sub
ebc_multi_node:
extends: .cluster_test_job_daily
needs:
- build_train_multi_node
variables:
GPFSFOLDER: $LOGDIR/ebc_multi_node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_MULTINODE_VERSIONED
MOUNTS: ${DATASET_NEW_CRITEO_SELENE}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:45:00"
DGXNNODES: 2
TEST_CMD: ./ci/integration_test/ebc/ebc_multi_node.sub
# data generator single node
data_generator_single_node:
extends: .cluster_test_job_daily
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/data_generator_single_node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
SLURM_ACCOUNT: devtech
WALLTIME: "01:00:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/data_generator/data_generator.sub
# # python interface single node
py_single_node:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/py_single_node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/py_interface/py_single_node.sub
py_multi_node:
extends: .cluster_test_job_daily
needs:
- build_train_multi_node
variables:
GPFSFOLDER: $LOGDIR/py_multi_node
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_MULTINODE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 4
TEST_CMD: ./ci/integration_test/py_interface/py_multi_node.sub
# hugectr inference correctness test
inference_model:
extends: .cluster_test_job_daily
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/inference_model
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET_NEW_CRITEO_SELENE}:${NEW_CRITEO_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/inference/inference_model.sub
# hugectr to onnx converter test
hugectr2onnx:
extends: .cluster_test_job_daily
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/hugectr2onnx
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: ${DATASET_NEW_CRITEO_SELENE}:${NEW_CRITEO_MOUNT},${DIN_DATASET}:${DIN_DATASET_MOUNT},${NCF_DATASET}:${NCF_DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/hugectr2onnx/hugectr2onnx.sub
# hps_tf_plugin
hierarchical_parameter_server:
extends: .cluster_test_job
needs:
- build_hps_tf_plugin
variables:
GPFSFOLDER: $LOGDIR/hierarchical_parameter_server
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TF_PLUGIN_IMAGE_VERSIONED
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/hps/hps.sub
# embedding_plugin
sparse_operation_kit_ut-TF2:
extends: .sok_test_job
needs:
- build_sok_tf2
variables:
GPFSFOLDER: $LOGDIR/sparse_operation_kit
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $SOK_IMAGE_VERSIONED_TF2
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/sok/sok_tf2_unit.sub
sparse_operation_kit-TF2:
extends: .sok_test_job_daily
needs:
- build_sok_tf2
variables:
GPFSFOLDER: $LOGDIR/sparse_operation_kit
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $SOK_IMAGE_VERSIONED_TF2
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "01:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/sok/sok.sub
sparse_operation_kit_ut-TF1:
extends: .sok_test_job
needs:
- build_sok_tf1
variables:
GPFSFOLDER: $LOGDIR/sparse_operation_kit
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $SOK_IMAGE_VERSIONED_TF1
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:30:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/sok/sok_tf1_unit.sub
sparse_operation_kit-TF1:
extends: .sok_test_job_daily
needs:
- build_sok_tf1
variables:
GPFSFOLDER: $LOGDIR/sparse_operation_kit
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $SOK_IMAGE_VERSIONED_TF1
MOUNTS: ${DATASET}:${DATASET_MOUNT}
SLURM_ACCOUNT: devtech
WALLTIME: "00:45:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/sok/sok.sub
inference_benchmark:
extends: .cluster_test_job_daily
needs:
- build_inference
before_script:
- export BZ=1
- export MIXED_PRECISION=FP32
variables:
GPFSFOLDER: $LOGDIR/inference_benchmark
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $INFER_IMAGE_VERSIONED
MOUNTS: /lustre/fsw/devtech/hpc-hugectr/inference/dlrm_regression/dlrm/1:/model/dlrm/1,/lustre/fsw/devtech/hpc-hugectr/keynote_inference/perf_data:/perf_data
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/benchmark/inference_benchmark/run.sub
inference_ps_test:
extends: .dlcluster_test_job_daily
allow_failure: false
stage: test
needs:
- build_inference
script:
- export CONT=${INFER_IMAGE_VERSIONED}
- srun -N 1 -p dgx1v,dgx1v16g,dgx1v32g bash ./ci/integration_test/inference/ps_test.sh
inference_embedding_cache_update_test:
extends: .dlcluster_test_job_daily
allow_failure: false
stage: test
needs:
- build_inference
script:
- export CONT=${INFER_IMAGE_VERSIONED}
- srun -N 1 -p dgx1v,dgx1v16g,dgx1v32g bash ./ci/integration_test/inference/embedding_cache_update_test.sh
#hdfs backend test
hdfs_backend_test:
extends: .dlcluster_test_job_daily
allow_failure: false
stage: test
needs:
- build_train_single_node_with_hdfs
script:
- export CONT=${TRAIN_IMAGE_VERSIONED_WITH_HDFS}
- srun -N 1 -p dgx1v32g bash ./ci/integration_test/hdfs/hdfs_backend_test.sh
wdl_check:
# Push logs to gitlab
extends: .cluster_post_test_job_daily
needs:
- wdl_multi_gpu
variables:
GPFSFOLDER: $LOGDIR/wdl_check
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: $LOGDIR/wdl_multi_gpu:/logs
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/post_test/check_wdl.sub
inference_benchmark_check:
extends: .cluster_post_test_job_daily
needs:
- inference_benchmark
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/inference_benchmark_check
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: $LOGDIR/inference_benchmark:/logs
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/post_test/check_inference_benchmark.sub
dlrm_1node_check:
# Push logs to gitlab
extends: .cluster_post_test_job
needs:
- dlrm_benchmark_1node
variables:
GPFSFOLDER: $LOGDIR/dlrm_1node_check
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: $LOGDIR/dlrm_benchmark_1node:/logs
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/post_test/check_dlrm_1node.sub
dlrm_14node_check:
# Push logs to gitlab
extends: .cluster_post_test_job_daily
needs:
- dlrm_benchmark_14node
variables:
GPFSFOLDER: $LOGDIR/dlrm_14node_check
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: $LOGDIR/dlrm_benchmark_14node:/logs
SLURM_ACCOUNT: devtech
WALLTIME: "00:15:00"
DGXNNODES: 1
TEST_CMD: ./ci/post_test/check_dlrm_14node.sub
# rm_logs:
# extends: .cluster_test_job
# variables:
# GPFSFOLDER: "$LOGDIR"
# GIT_CLONE_PATH: /lustre/fsw/devtech/hpc-hugectr/hugectr-ci/$CI_CONCURRENT_ID/$CI_PROJECT_NAME
# CONT: $TRAIN_IMAGE_VERSIONED
# MOUNTS: /lustre/fsw/devtech:/logs
# SLURM_ACCOUNT: devtech
# WALLTIME: "00:15:00"
# DGXNNODES: 1
# TEST_CMD: ./ci/common/clean_logs.sub