Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groups of AzureML tests #1696

Merged
merged 7 commits into from
Apr 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 138 additions & 0 deletions tests/ci/aml_tests_github_actions/test_module_groups.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

# NOTE: All the times are being calculated on an Azure STANDARD_NC6S_V2
# with 6 vcpus, 112 GiB memory, 1 NVIDIA Tesla P100 GPU.

# IMPORTANT NOTE: NO GROUP SHOULD SURPASS 30MIN = 1800s !!!

groups = {
"group_cpu_001": [ # Total group time: 1020.68s
"tests/smoke/recommenders/dataset/test_movielens.py::test_download_and_extract_movielens", # 0.45s
"tests/smoke/recommenders/dataset/test_movielens.py::test_load_item_df", # 0.47s
"tests/smoke/recommenders/dataset/test_movielens.py::test_load_pandas_df", # 2.45s
#
"tests/integration/recommenders/datasets/test_movielens.py::test_load_pandas_df", # 16.87s
"tests/integration/recommenders/datasets/test_movielens.py::test_download_and_extract_movielens", # 0.61s + 3.47s + 8.28s
"tests/integration/recommenders/datasets/test_movielens.py::test_load_item_df", # 0.59s + 3.59s + 8.44s
"tests/integration/recommenders/datasets/test_movielens.py::test_load_pandas_df", # 155.18s + 302.65s
#
"tests/smoke/recommenders/dataset/test_criteo.py::test_download_criteo", # 1.05s
"tests/smoke/recommenders/dataset/test_criteo.py::test_extract_criteo", # 1.22s
"tests/smoke/recommenders/dataset/test_criteo.py::test_criteo_load_pandas_df", # 1.73s
"tests/integration/recommenders/datasets/test_criteo.py::test_criteo_load_pandas_df", # 427.89s
#
"tests/smoke/recommenders/dataset/test_mind.py::test_mind_url", # 0.38s
"tests/smoke/recommenders/dataset/test_mind.py::test_extract_mind", # 10.23s
"tests/smoke/examples/test_notebooks_python.py::test_mind_utils", # 219.77s
"tests/integration/recommenders/datasets/test_mind.py::test_download_mind", # 37.63s
"tests/integration/recommenders/datasets/test_mind.py::test_extract_mind", # 56.30s
"tests/integration/recommenders/datasets/test_mind.py::test_mind_utils_integration", # 219.26s
],
"group_cpu_002": [ # Total group time: 1444,31s
"tests/smoke/examples/test_notebooks_python.py::test_lightgbm_quickstart_smoke", # 46.42s
#
"tests/smoke/examples/test_notebooks_python.py::test_baseline_deep_dive_smoke", # 15.98s
"tests/integration/examples/test_notebooks_python.py::test_baseline_deep_dive_integration", # 170.73s
#
"tests/smoke/examples/test_notebooks_python.py::test_surprise_svd_smoke", # 45.88s
"tests/integration/examples/test_notebooks_python.py::test_surprise_svd_integration", # 503.54s
#
"tests/smoke/examples/test_notebooks_python.py::test_sar_single_node_smoke", # 12.58s
"tests/integration/examples/test_notebooks_python.py::test_sar_single_node_integration", # 49.89s + 599.29s
],
"group_cpu_003": [ # Total group time: 1444.26
"tests/smoke/examples/test_notebooks_python.py::test_cornac_bpr_smoke", # 16.62s
"tests/integration/examples/test_notebooks_python.py::test_cornac_bpr_integration", # 165.72s
#
"tests/integration/examples/test_notebooks_python.py::test_geoimc_integration", # 1006.19s
#
"tests/integration/examples/test_notebooks_python.py::test_xlearn_fm_integration", # 255.73s
],
"group_gpu_001": [ # Total group time: 1415.29s
"tests/unit/examples/test_notebooks_gpu.py::test_gpu_vm", # 0.76s
"tests/smoke/recommenders/recommender/test_deeprec_utils.py", # 2.91
"tests/smoke/recommenders/recommender/test_deeprec_model.py::test_FFM_iterator", # 0.74s
"tests/smoke/recommenders/recommender/test_newsrec_utils.py::test_news_iterator", # 3.04s
#
"tests/smoke/recommenders/recommender/test_deeprec_model.py::test_model_lightgcn", # 6.03s
"tests/integration/examples/test_notebooks_gpu.py::test_lightgcn_deep_dive_integration", # 19.45s
#
"tests/smoke/recommenders/recommender/test_deeprec_model.py::test_model_sum", # 27.23s
#
"tests/smoke/recommenders/recommender/test_deeprec_model.py::test_model_dkn", # 187.20s
"tests/integration/examples/test_notebooks_gpu.py::test_dkn_quickstart_integration", # 1167.93s
],
"group_gpu_002": [ # Total group time: 1594.67s
"tests/unit/examples/test_notebooks_gpu.py::test_gpu_vm", # 0.76s
"tests/smoke/recommenders/recommender/test_deeprec_model.py::test_model_xdeepfm", # 3.10s
"tests/smoke/examples/test_notebooks_gpu.py::test_xdeepfm_smoke", # 77.93s
#
"tests/integration/examples/test_notebooks_gpu.py::test_xdeepfm_integration", # 470.11s
#
"tests/integration/examples/test_notebooks_gpu.py::test_slirec_quickstart_integration", # 175.00s
"tests/smoke/recommenders/recommender/test_deeprec_model.py::test_model_slirec" # 346.72s
#
"tests/smoke/examples/test_notebooks_gpu.py::test_cornac_bivae_smoke", # 67.84s
"tests/integration/examples/test_notebooks_gpu.py::test_cornac_bivae_integration", # 453.21s
],
"group_gpu_003": [ # Total group time: 1616s
"tests/unit/examples/test_notebooks_gpu.py::test_gpu_vm", # 0.76s
"tests/smoke/examples/test_notebooks_gpu.py::test_ncf_deep_dive_smoke", # 102.71s
"tests/smoke/examples/test_notebooks_gpu.py::test_ncf_smoke", # 114.39s
"tests/integration/examples/test_notebooks_gpu.py::test_ncf_deep_dive_integration", # 351.17s
"tests/integration/examples/test_notebooks_gpu.py::test_ncf_integration", # 1046.97s
],
"group_gpu_004": [ # Total group time: 1778.14s
"tests/unit/examples/test_notebooks_gpu.py::test_gpu_vm", # 0.76s
"tests/smoke/recommenders/recommender/test_newsrec_utils.py::test_naml_iterator", # 5.50s
"tests/smoke/recommenders/recommender/test_newsrec_model.py::test_model_naml", # 450.65s
"tests/smoke/examples/test_notebooks_gpu.py::test_naml_smoke", # 620.13s
#
"tests/smoke/examples/test_notebooks_gpu.py::test_fastai_smoke", # 33.22s
"tests/integration/examples/test_notebooks_gpu.py::test_fastai_integration", # 667.88s
],
"group_gpu_005": [ # Total group time: 1503.22s
"tests/unit/examples/test_notebooks_gpu.py::test_gpu_vm", # 0.76s
"tests/smoke/recommenders/recommender/test_newsrec_model.py::test_model_npa", # 202.61s
"tests/smoke/examples/test_notebooks_gpu.py::test_npa_smoke", # 366.22s
"tests/integration/examples/test_notebooks_gpu.py::test_npa_quickstart_integration", # 810.92s
#
"tests/smoke/examples/test_notebooks_gpu.py::test_wide_deep_smoke", # 122.71s
],
"group_gpu_006": [ # Total group time: 1844.05s
"tests/unit/examples/test_notebooks_gpu.py::test_gpu_vm", # 0.76s
"tests/integration/examples/test_notebooks_gpu.py::test_wide_deep_integration", # 1843.29s
],
"group_gpu_007": [ # Total group time: 1278.96s
"tests/unit/examples/test_notebooks_gpu.py::test_gpu_vm", # 0.76s
"tests/smoke/recommenders/recommender/test_newsrec_model.py::test_model_nrms", # 188.60s
"tests/smoke/examples/test_notebooks_gpu.py::test_nrms_smoke", # 232.55s
"tests/integration/examples/test_notebooks_gpu.py::test_nrms_quickstart_integration", # 857.05s
],
"group_gpu_008": [ # Total group time: 1208.62s
"tests/unit/examples/test_notebooks_gpu.py::test_gpu_vm", # 0.76s
"tests/smoke/examples/test_notebooks_gpu.py::test_lstur_smoke", # 246.46s
"tests/smoke/recommenders/recommender/test_newsrec_model.py::test_model_lstur", # 194.88s
"tests/integration/examples/test_notebooks_gpu.py::test_lstur_quickstart_integration", # 766.52s
],
"group_gpu_009": [ # Total group time: 1063.51s
"tests/unit/examples/test_notebooks_gpu.py::test_gpu_vm", # 0.76s
"tests/integration/examples/test_notebooks_gpu.py::test_sasrec_quickstart_integration", # 448.06s + 614.69s
],
"group_gpu_010": [ # Total group time: 2034.61s
"tests/unit/examples/test_notebooks_gpu.py::test_gpu_vm", # 0.76s
"tests/integration/examples/test_notebooks_gpu.py::test_naml_quickstart_integration", # 2033.85s
],
"group_spark_001": [ # Total group time: 845.16s
"tests/smoke/recommenders/dataset/test_movielens.py::test_load_spark_df", # 4.33s
"tests/integration/recommenders/datasets/test_movielens.py::test_load_spark_df", # 25.58s + 101.99s + 139.23s
#
"tests/smoke/recommenders/dataset/test_criteo.py::test_criteo_load_spark_df", # 6.83s
"tests/smoke/examples/test_notebooks_pyspark.py::test_mmlspark_lightgbm_criteo_smoke", # 32.45s
"tests/integration/recommenders/datasets/test_criteo.py::test_criteo_load_spark_df", # 374.64s
#
"tests/smoke/examples/test_notebooks_pyspark.py::test_als_pyspark_smoke", # 49.53s
"tests/integration/examples/test_notebooks_pyspark.py::test_als_pyspark_integration", # 110.58s
],
}