1919
2020# Call this script with:
2121# 1. Name of container as first parameter
22- # [merlin-training, merlin-tensorflow-training, merlin-pytorch-training,
23- # merlin-inference, merlin-tensorflow-inference, merlin-pytorch-inference]
22+ # [merlin-hugectr, merlin-tensorflow, merlin-pytorch]
2423#
2524# 2. Devices to use:
2625# [0; 0,1; 0,1,..,n-1]
@@ -33,25 +32,20 @@ container=$1
3332config=" -rsx --devices $2 "
3433
3534# Run tests for training containers
36- regex=" merlin(.)*-inference"
37- if [[ ! " $container " =~ $regex ]]; then
38- # pytest $config tests/integration/test_notebooks.py::test_criteo
39- pytest $config tests/integration/test_notebooks.py::test_rossman
40- pytest $config tests/integration/test_notebooks.py::test_movielens
41- fi
35+ # pytest $config tests/integration/test_notebooks.py::test_criteo
36+ pytest $config tests/integration/test_notebooks.py::test_rossman
37+ pytest $config tests/integration/test_notebooks.py::test_movielens
4238
4339# Run tests for specific containers
44- if [ " $container " == " merlin-training " ]; then
40+ if [ " $container " == " merlin-hugectr " ]; then
4541 pytest $config tests/integration/test_nvt_hugectr.py::test_training
46- elif [ " $container " == " merlin-tensorflow-training" ]; then
42+ pytest $config tests/integration/test_notebooks.py::test_criteo
43+ pytest $config tests/integration/test_nvt_hugectr.py::test_inference
44+ elif [ " $container " == " merlin-tensorflow" ]; then
4745 pytest $config tests/integration/test_nvt_tf_inference.py::test_nvt_tf_rossmann_inference
4846 pytest $config tests/integration/test_nvt_tf_inference.py::test_nvt_tf_movielens_inference
49- elif [ " $container " == " merlin-tensorflow-inference" ]; then
5047 pytest $config tests/integration/test_nvt_tf_inference.py::test_nvt_tf_rossmann_inference_triton
5148 pytest $config tests/integration/test_nvt_tf_inference.py::test_nvt_tf_rossmann_inference_triton_mt
5249 pytest $config tests/integration/test_nvt_tf_inference.py::test_nvt_tf_movielens_inference_triton
5350 pytest $config tests/integration/test_nvt_tf_inference.py::test_nvt_tf_movielens_inference_triton_mt
54- elif [ " $container " == " merlin-inference" ]; then
55- pytest $config tests/integration/test_notebooks.py::test_criteo
56- pytest $config tests/integration/test_nvt_hugectr.py::test_inference
5751fi
0 commit comments