forked from NVIDIA-Merlin/HugeCTR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
executable file
·646 lines (592 loc) · 19.8 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
include:
- project: "dl/devops/gitlab-ci-slurm"
ref: master
file: "/.gitlab-ci.yml"
- /ci/common.yml
- /ci/template.yml
- /ci/benchmark.yml
nightly_build_train:
extends: .build_nightly
variables:
REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
DST_IMAGE: ${IMAGE_TRAIN}
DOCKER_FILE: ./training/dockerfile.ctr
BUILD_ARGS: --build-arg HUGECTR_DEV_MODE=true
nightly_build_train_with_hdfs:
extends: .build_nightly
variables:
REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
DST_IMAGE: ${IMAGE_TRAIN_WITH_HDFS}
DOCKER_FILE: ./training/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: ./training/dockerfile.tf
BUILD_ARGS: --build-arg HUGECTR_DEV_MODE=true
nightly_build_sok_tf1:
extends: .build_nightly
variables:
REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
DST_IMAGE: ${IMAGE_SOK_TF1}
DOCKER_FILE: ./training/dockerfile.tf
BUILD_ARGS: --build-arg HUGECTR_DEV_MODE=true --build-arg IMAGE=nvcr.io/nvidia/tensorflow:21.11-tf1-py3 --build-arg INSTALL_NVT=false
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: ./training/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_SHA}
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: ./training/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_SHA}
nightly_build_unified_container.tri:
extends: .build_nightly
variables:
REMOTE_REPO: https://github.com/NVIDIA-Merlin/Merlin.git
DST_IMAGE: ${CI_REGISTRY}/dl/hugectr/hugectr:unified.tri.latest
DOCKER_FILE: ./inference/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_SHA} --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
build_train_single_node:
extends: .build
variables:
FROM_IMAGE: ${IMAGE_TRAIN}
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
variables:
FROM_IMAGE: ${IMAGE_TRAIN_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
variables:
FROM_IMAGE: ${IMAGE_TRAIN}
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
variables:
FROM_IMAGE: ${IMAGE_TRAIN}
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
variables:
FROM_IMAGE: ${IMAGE_INFER}
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
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
variables:
FROM_IMAGE: ${IMAGE_SOK_TF1}
DST_IMAGE: $SOK_IMAGE_VERSIONED_TF1
CMAKE_OPTION: "-DSM=\"60;61;70;75;80\""
BUILD_SOK: 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: "01:00:00"
DGXNNODES: 1
TEST_CMD: ./ci/utest/utest.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: "01:00:00"
DGXNNODES: 1
TEST_CMD: ./ci/utest/utest_embedding.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
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: "02:00:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/dcn/dcn.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
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
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
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
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
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
# python interface inference
py_inference:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/py_inference
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.sub
py_low_level:
extends: .cluster_test_job
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
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
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
# data generator single node
data_generator_single_node:
extends: .cluster_test_job
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
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_correctness:
extends: .cluster_test_job
needs:
- build_train_single_node
variables:
GPFSFOLDER: $LOGDIR/inference_correctness
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_correctness.sub
# hugectr to onnx converter test
hugectr2onnx:
extends: .cluster_test_job
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
# embedding_plugin
sparse_operation_kit-TF2:
extends: .cluster_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:45:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/sok/sok.sub
sparse_operation_kit-TF1:
extends: .cluster_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:45:00"
DGXNNODES: 1
TEST_CMD: ./ci/integration_test/sok/sok.sub
inference_benchmark:
extends: .cluster_test_job
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_job
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
rules:
- if: $CI_PIPELINE_SOURCE =~ /^(web|merge_request_event)$/
when: always
- if: $TEST_NEW_IMAGE == "1"
when: always
- when: never
inference_embedding_cache_update_test:
extends: .dlcluster_job
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
rules:
- if: $CI_PIPELINE_SOURCE =~ /^(web|merge_request_event)$/
when: always
- if: $TEST_NEW_IMAGE == "1"
when: always
- when: never
#hdfs backend test
hdfs_backend_test:
extends: .dlcluster_job
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,v100pcie32g bash ./ci/integration_test/hdfs/hdfs_backend_test.sh
rules:
- if: $CI_PIPELINE_SOURCE =~ /^(web|merge_request_event)$/
when: always
- if: $TEST_NEW_IMAGE == "1"
when: always
- when: never
wdl_check:
# Push logs to gitlab
extends: .cluster_post_test_job
needs:
- wdl
variables:
GPFSFOLDER: $LOGDIR/wdl_check
GIT_CLONE_PATH: ${GIT_CLONE_PATH_SELENE}
CONT: $TRAIN_IMAGE_VERSIONED
MOUNTS: $LOGDIR/wdl:/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
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
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