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

Add common release-drafter workflow #439

Merged
merged 2 commits into from
May 16, 2022

Conversation

mikemckiernan
Copy link
Member

Use the workflow from the organization repo.
This update should help us with creating
release notes.

Use the workflow from the organization repo.
This update should help us with creating
release notes.
@mikemckiernan mikemckiernan added the documentation Improvements or additions to documentation label May 16, 2022
@mikemckiernan mikemckiernan added this to the Merlin 22.06 milestone May 16, 2022
@github-actions
Copy link

Documentation preview

https://nvidia-merlin.github.io/models/review/pr-439

@nvidia-merlin-bot
Copy link

Click to view CI Results
GitHub pull request #439 of commit 3464fbd44bad5247b4d687840fd6b073bb03d333, no merge conflicts.
Running as SYSTEM
Setting status of 3464fbd44bad5247b4d687840fd6b073bb03d333 to PENDING with url https://10.20.13.93:8080/job/merlin_models/288/console and message: 'Pending'
Using context: Jenkins
Building on master in workspace /var/jenkins_home/workspace/merlin_models
using credential nvidia-merlin-bot
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/NVIDIA-Merlin/models/ # timeout=10
Fetching upstream changes from https://github.com/NVIDIA-Merlin/models/
 > git --version # timeout=10
using GIT_ASKPASS to set credentials This is the bot credentials for our CI/CD
 > git fetch --tags --force --progress -- https://github.com/NVIDIA-Merlin/models/ +refs/pull/439/*:refs/remotes/origin/pr/439/* # timeout=10
 > git rev-parse 3464fbd44bad5247b4d687840fd6b073bb03d333^{commit} # timeout=10
Checking out Revision 3464fbd44bad5247b4d687840fd6b073bb03d333 (detached)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3464fbd44bad5247b4d687840fd6b073bb03d333 # timeout=10
Commit message: "Add common release-drafter workflow"
 > git rev-list --no-walk 4b1b8305db4eb222d728ff6a8000401c738a34b6 # timeout=10
[merlin_models] $ /bin/bash /tmp/jenkins7873389562723889928.sh
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: testbook in /usr/local/lib/python3.8/dist-packages (0.4.2)
Requirement already satisfied: nbformat>=5.0.4 in /usr/local/lib/python3.8/dist-packages (from testbook) (5.4.0)
Requirement already satisfied: nbclient>=0.4.0 in /var/jenkins_home/.local/lib/python3.8/site-packages (from testbook) (0.5.13)
Requirement already satisfied: jupyter-client>=6.1.5 in /usr/local/lib/python3.8/dist-packages (from nbclient>=0.4.0->testbook) (7.3.1)
Requirement already satisfied: nest-asyncio in /usr/local/lib/python3.8/dist-packages (from nbclient>=0.4.0->testbook) (1.5.5)
Requirement already satisfied: traitlets>=5.0.0 in /usr/local/lib/python3.8/dist-packages (from nbclient>=0.4.0->testbook) (5.2.0)
Requirement already satisfied: fastjsonschema in /usr/local/lib/python3.8/dist-packages (from nbformat>=5.0.4->testbook) (2.15.3)
Requirement already satisfied: jupyter-core in /usr/local/lib/python3.8/dist-packages (from nbformat>=5.0.4->testbook) (4.10.0)
Requirement already satisfied: jsonschema>=2.6 in /usr/local/lib/python3.8/dist-packages (from nbformat>=5.0.4->testbook) (4.5.1)
Requirement already satisfied: importlib-resources>=1.4.0 in /usr/local/lib/python3.8/dist-packages (from jsonschema>=2.6->nbformat>=5.0.4->testbook) (5.7.1)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /usr/local/lib/python3.8/dist-packages (from jsonschema>=2.6->nbformat>=5.0.4->testbook) (0.18.1)
Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.8/dist-packages (from jsonschema>=2.6->nbformat>=5.0.4->testbook) (21.4.0)
Requirement already satisfied: tornado>=6.0 in /var/jenkins_home/.local/lib/python3.8/site-packages/tornado-6.1-py3.8-linux-x86_64.egg (from jupyter-client>=6.1.5->nbclient>=0.4.0->testbook) (6.1)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.8/dist-packages (from jupyter-client>=6.1.5->nbclient>=0.4.0->testbook) (2.8.2)
Requirement already satisfied: entrypoints in /usr/local/lib/python3.8/dist-packages (from jupyter-client>=6.1.5->nbclient>=0.4.0->testbook) (0.4)
Requirement already satisfied: pyzmq>=22.3 in /usr/local/lib/python3.8/dist-packages (from jupyter-client>=6.1.5->nbclient>=0.4.0->testbook) (22.3.0)
Requirement already satisfied: zipp>=3.1.0 in /usr/local/lib/python3.8/dist-packages (from importlib-resources>=1.4.0->jsonschema>=2.6->nbformat>=5.0.4->testbook) (3.8.0)
Requirement already satisfied: six>=1.5 in /var/jenkins_home/.local/lib/python3.8/site-packages (from python-dateutil>=2.8.2->jupyter-client>=6.1.5->nbclient>=0.4.0->testbook) (1.15.0)
coverage run -m pytest -rsx tests -m "tensorflow and not integration" || exit 1
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.1.2, pluggy-1.0.0
rootdir: /var/jenkins_home/workspace/merlin_models/models, configfile: pyproject.toml
plugins: anyio-3.5.0, xdist-2.5.0, forked-1.4.0, cov-3.0.0
collected 443 items / 130 deselected / 2 skipped / 313 selected

tests/tf/test_core.py ................ [ 5%]
tests/tf/test_dataset.py ............... [ 9%]
tests/tf/test_public_api.py . [ 10%]
tests/tf/blocks/test_cross.py ............ [ 14%]
tests/tf/blocks/test_dlrm.py ........ [ 16%]
tests/tf/blocks/test_interactions.py . [ 16%]
tests/tf/blocks/test_mlp.py ............................. [ 26%]
tests/tf/blocks/core/test_aggregation.py ......... [ 29%]
tests/tf/blocks/core/test_base.py . [ 29%]
tests/tf/blocks/core/test_index.py ... [ 30%]
tests/tf/blocks/core/test_masking.py ....... [ 32%]
tests/tf/blocks/core/test_transformations.py ........... [ 36%]
tests/tf/blocks/retrieval/test_matrix_factorization.py .. [ 36%]
tests/tf/blocks/retrieval/test_two_tower.py ........... [ 40%]
tests/tf/examples/test_01_getting_started.py . [ 40%]
tests/tf/examples/test_02_dataschema.py . [ 40%]
tests/tf/examples/test_03_exploring_different_models.py . [ 41%]
tests/tf/examples/test_04_export_ranking_models.py . [ 41%]
tests/tf/examples/test_05_export_retrieval_model.py . [ 41%]
tests/tf/examples/test_06_advanced_own_architecture.py . [ 42%]
tests/tf/features/test_continuous.py ..... [ 43%]
tests/tf/features/test_embedding.py ..........s. [ 47%]
tests/tf/features/test_tabular.py ....... [ 49%]
tests/tf/layers/test_queue.py .............. [ 54%]
tests/tf/losses/test_losses.py ....................... [ 61%]
tests/tf/metrics/test_metrics_popularity.py ..... [ 63%]
tests/tf/metrics/test_metrics_ranking.py ................. [ 68%]
tests/tf/models/test_benchmark.py . [ 69%]
tests/tf/models/test_ranking.py ...................... [ 76%]
tests/tf/models/test_retrieval.py .................. [ 81%]
tests/tf/prediction_tasks/test_classification.py .. [ 82%]
tests/tf/prediction_tasks/test_multi_task.py ....... [ 84%]
tests/tf/prediction_tasks/test_next_item.py ...................... [ 91%]
tests/tf/prediction_tasks/test_regression.py .. [ 92%]
tests/tf/prediction_tasks/test_sampling.py .................... [ 98%]
tests/tf/utils/test_batch.py .... [100%]

=============================== warnings summary ===============================
../../../.local/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py:22
/var/jenkins_home/.local/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py:22: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp

../../../../../usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:23
/usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:23: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
'nearest': pil_image.NEAREST,

../../../../../usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:24
/usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:24: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
'bilinear': pil_image.BILINEAR,

../../../../../usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:25
/usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:25: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
'bicubic': pil_image.BICUBIC,

../../../../../usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:28
/usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:28: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
if hasattr(pil_image, 'HAMMING'):

../../../../../usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:29
/usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:29: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
_PIL_INTERPOLATION_METHODS['hamming'] = pil_image.HAMMING

../../../../../usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:30
/usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:30: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
if hasattr(pil_image, 'BOX'):

../../../../../usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:31
/usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:31: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
_PIL_INTERPOLATION_METHODS['box'] = pil_image.BOX

../../../../../usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:33
/usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:33: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
if hasattr(pil_image, 'LANCZOS'):

../../../../../usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:34
/usr/local/lib/python3.8/dist-packages/keras_preprocessing/image/utils.py:34: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
_PIL_INTERPOLATION_METHODS['lanczos'] = pil_image.LANCZOS

../../../../../usr/lib/python3/dist-packages/requests/init.py:89
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "

../../../../../usr/local/lib/python3.8/dist-packages/torchvision/transforms/functional_pil.py:228
/usr/local/lib/python3.8/dist-packages/torchvision/transforms/functional_pil.py:228: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
interpolation: int = Image.BILINEAR,

../../../../../usr/local/lib/python3.8/dist-packages/torchvision/transforms/functional_pil.py:296
/usr/local/lib/python3.8/dist-packages/torchvision/transforms/functional_pil.py:296: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
interpolation: int = Image.NEAREST,

../../../../../usr/local/lib/python3.8/dist-packages/torchvision/transforms/functional_pil.py:312
/usr/local/lib/python3.8/dist-packages/torchvision/transforms/functional_pil.py:312: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
interpolation: int = Image.NEAREST,

../../../../../usr/local/lib/python3.8/dist-packages/torchvision/transforms/functional_pil.py:329
/usr/local/lib/python3.8/dist-packages/torchvision/transforms/functional_pil.py:329: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
interpolation: int = Image.BICUBIC,

../../../../../usr/local/lib/python3.8/dist-packages/torchvision/io/image.py:11
/usr/local/lib/python3.8/dist-packages/torchvision/io/image.py:11: UserWarning: Failed to load image Python extension: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory
warn(f"Failed to load image Python extension: {e}")

tests/tf/test_dataset.py::test_tf_drp_reset[100-True-10]
tests/tf/test_dataset.py::test_tf_drp_reset[100-True-9]
tests/tf/test_dataset.py::test_tf_drp_reset[100-True-8]
tests/tf/test_dataset.py::test_tf_drp_reset[100-False-10]
tests/tf/test_dataset.py::test_tf_drp_reset[100-False-9]
tests/tf/test_dataset.py::test_tf_drp_reset[100-False-8]
tests/tf/test_dataset.py::test_tf_catname_ordering
tests/tf/test_dataset.py::test_tf_map
/usr/lib/python3.8/site-packages/cudf/core/dataframe.py:1253: UserWarning: The deep parameter is ignored and is only included for pandas compatibility.
warnings.warn(

tests/tf/blocks/core/test_index.py: 6 warnings
tests/tf/models/test_retrieval.py: 57 warnings
tests/tf/prediction_tasks/test_next_item.py: 79 warnings
tests/tf/utils/test_batch.py: 4 warnings
/tmp/tmp0zic9j7b.py:8: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
ag__.converted_call(ag__.ld(warnings).warn, ("The 'warn' method is deprecated, use 'warning' instead", ag__.ld(DeprecationWarning), 2), None, fscope)

tests/tf/blocks/core/test_transformations.py::test_stochastic_swap_noise[0.1]
tests/tf/blocks/core/test_transformations.py::test_stochastic_swap_noise[0.3]
tests/tf/blocks/core/test_transformations.py::test_stochastic_swap_noise[0.5]
tests/tf/blocks/core/test_transformations.py::test_stochastic_swap_noise[0.7]
/var/jenkins_home/.local/lib/python3.8/site-packages/keras/backend.py:6089: UserWarning: tf.keras.backend.random_binomial is deprecated, and will be removed in a future version.Please use tf.keras.backend.random_bernoulli instead.
warnings.warn('tf.keras.backend.random_binomial is deprecated, '

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
SKIPPED [1] tests/implicit/init.py:18: could not import 'implicit': No module named 'implicit'
SKIPPED [1] tests/lightfm/init.py:18: could not import 'lightfm': No module named 'lightfm'
SKIPPED [1] tests/tf/features/test_embedding.py:215: This test fails because cudf.from_dlpack() we use internally in EmbeddingFeatures().embedding_table_dataset() does not work properly. This test should be enabled when the following cudf issue we reported is resolved: rapidsai/cudf#10754
== 312 passed, 3 skipped, 130 deselected, 174 warnings in 1078.92s (0:17:58) ===
coverage report --include 'merlin/models/*'
Name Stmts Miss Cover

merlin/models/init.py 0 0 100%
merlin/models/config/init.py 0 0 100%
merlin/models/config/schema.py 62 6 90%
merlin/models/loader/init.py 0 0 100%
merlin/models/loader/backend.py 379 55 85%
merlin/models/loader/dataframe_iter.py 21 17 19%
merlin/models/loader/tf_utils.py 57 27 53%
merlin/models/loader/utils.py 40 15 62%
merlin/models/tf/init.py 54 0 100%
merlin/models/tf/blocks/init.py 0 0 100%
merlin/models/tf/blocks/core/init.py 0 0 100%
merlin/models/tf/blocks/core/aggregation.py 230 36 84%
merlin/models/tf/blocks/core/base.py 301 52 83%
merlin/models/tf/blocks/core/combinators.py 273 34 88%
merlin/models/tf/blocks/core/context.py 4 0 100%
merlin/models/tf/blocks/core/index.py 103 24 77%
merlin/models/tf/blocks/core/inputs.py 47 4 91%
merlin/models/tf/blocks/core/masking.py 128 13 90%
merlin/models/tf/blocks/core/tabular.py 271 31 89%
merlin/models/tf/blocks/core/transformations.py 318 52 84%
merlin/models/tf/blocks/cross.py 44 0 100%
merlin/models/tf/blocks/dlrm.py 34 1 97%
merlin/models/tf/blocks/experts.py 99 17 83%
merlin/models/tf/blocks/interaction.py 93 40 57%
merlin/models/tf/blocks/mlp.py 111 10 91%
merlin/models/tf/blocks/retrieval/init.py 0 0 100%
merlin/models/tf/blocks/retrieval/base.py 170 74 56%
merlin/models/tf/blocks/retrieval/matrix_factorization.py 33 2 94%
merlin/models/tf/blocks/retrieval/two_tower.py 30 0 100%
merlin/models/tf/blocks/sampling/init.py 0 0 100%
merlin/models/tf/blocks/sampling/base.py 29 2 93%
merlin/models/tf/blocks/sampling/cross_batch.py 114 3 97%
merlin/models/tf/blocks/sampling/in_batch.py 30 1 97%
merlin/models/tf/blocks/sampling/queue.py 114 10 91%
merlin/models/tf/dataset.py 192 51 73%
merlin/models/tf/features/init.py 0 0 100%
merlin/models/tf/features/continuous.py 33 3 91%
merlin/models/tf/features/embedding.py 224 20 91%
merlin/models/tf/losses/init.py 4 0 100%
merlin/models/tf/losses/base.py 9 0 100%
merlin/models/tf/losses/listwise.py 13 0 100%
merlin/models/tf/losses/pairwise.py 113 1 99%
merlin/models/tf/metrics/init.py 2 0 100%
merlin/models/tf/metrics/evaluation.py 106 48 55%
merlin/models/tf/metrics/ranking.py 117 32 73%
merlin/models/tf/models/init.py 0 0 100%
merlin/models/tf/models/base.py 273 28 90%
merlin/models/tf/models/benchmark.py 16 0 100%
merlin/models/tf/models/ranking.py 44 1 98%
merlin/models/tf/models/retrieval.py 35 0 100%
merlin/models/tf/models/utils.py 10 1 90%
merlin/models/tf/prediction_tasks/init.py 0 0 100%
merlin/models/tf/prediction_tasks/base.py 306 46 85%
merlin/models/tf/prediction_tasks/classification.py 86 15 83%
merlin/models/tf/prediction_tasks/multi.py 7 0 100%
merlin/models/tf/prediction_tasks/next_item.py 43 1 98%
merlin/models/tf/prediction_tasks/regression.py 36 6 83%
merlin/models/tf/prediction_tasks/retrieval.py 52 2 96%
merlin/models/tf/typing.py 7 0 100%
merlin/models/tf/utils/init.py 0 0 100%
merlin/models/tf/utils/batch_utils.py 81 3 96%
merlin/models/tf/utils/mixins.py 27 9 67%
merlin/models/tf/utils/repr_utils.py 69 2 97%
merlin/models/tf/utils/testing_utils.py 58 1 98%
merlin/models/tf/utils/tf_utils.py 154 45 71%
merlin/models/torch/init.py 12 0 100%
merlin/models/torch/block/init.py 0 0 100%
merlin/models/torch/block/base.py 167 110 34%
merlin/models/torch/block/mlp.py 38 6 84%
merlin/models/torch/dataset.py 68 44 35%
merlin/models/torch/features/init.py 0 0 100%
merlin/models/torch/features/base.py 4 0 100%
merlin/models/torch/features/continuous.py 22 9 59%
merlin/models/torch/features/embedding.py 165 127 23%
merlin/models/torch/features/tabular.py 65 41 37%
merlin/models/torch/model/init.py 0 0 100%
merlin/models/torch/model/base.py 286 230 20%
merlin/models/torch/model/prediction_task.py 24 4 83%
merlin/models/torch/tabular/init.py 0 0 100%
merlin/models/torch/tabular/aggregation.py 75 47 37%
merlin/models/torch/tabular/base.py 247 162 34%
merlin/models/torch/tabular/transformations.py 67 44 34%
merlin/models/torch/typing.py 6 0 100%
merlin/models/torch/utils/init.py 0 0 100%
merlin/models/torch/utils/torch_utils.py 80 52 35%
merlin/models/utils/init.py 0 0 100%
merlin/models/utils/constants.py 3 0 100%
merlin/models/utils/dataset.py 33 18 45%
merlin/models/utils/doc_utils.py 10 0 100%
merlin/models/utils/example_utils.py 29 23 21%
merlin/models/utils/misc_utils.py 118 90 24%
merlin/models/utils/nvt_utils.py 27 24 11%
merlin/models/utils/registry.py 101 31 69%
merlin/models/utils/schema_utils.py 85 12 86%

TOTAL 7038 1915 73%
coverage html --include 'merlin/models/*'
Wrote HTML report to htmlcov/index.html
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : #!/bin/bash
cd /var/jenkins_home/
CUDA_VISIBLE_DEVICES=1 python test_res_push.py "https://api.GitHub.com/repos/NVIDIA-Merlin/models/issues/$ghprbPullId/comments" "/var/jenkins_home/jobs/$JOB_NAME/builds/$BUILD_NUMBER/log"
[merlin_models] $ /bin/bash /tmp/jenkins3205925373522976622.sh

@mikemckiernan mikemckiernan merged commit d53ee06 into NVIDIA-Merlin:main May 16, 2022
@mikemckiernan mikemckiernan deleted the chore-reusable-rn branch May 16, 2022 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants