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

Infra/mergeback 1.5.0 #1152

Merged
merged 5 commits into from
Sep 18, 2023
Merged

Infra/mergeback 1.5.0 #1152

merged 5 commits into from
Sep 18, 2023

Conversation

yunchu
Copy link
Contributor

@yunchu yunchu commented Sep 15, 2023

Summary

  • merge-back releases/1.5.0 to develop

How to test

Checklist

  • I have added unit tests to cover my changes.​
  • I have added integration tests to cover my changes.​
  • I have added the description of my changes into CHANGELOG.​
  • I have updated the documentation accordingly

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below).
# Copyright (C) 2023 Intel Corporation
#
# SPDX-License-Identifier: MIT

yunchu and others added 5 commits September 15, 2023 10:19
#1145)

- Add multi-threading option (`num_workers > 0`) to `ModelTransform` and
`SAMBboxToInstanceMask`.
- It is required if the model launcher can take multiple requests at the
same time and have high throughput.

Signed-off-by: Kim, Vinnam <vinnam.kim@intel.com>
- One of the tests added in #1145 is flaky:
https://github.com/openvinotoolkit/datumaro/actions/runs/6156803415/job/16706221640
```console
=========================== short test summary info ============================
FAILED tests/unit/test_util.py::MultiProcUtilTest::test_raise_exception_in_main_thread
= 1 failed, 1493 passed, 38 skipped, 2 xfailed, 48148 warnings in 407.34s (0:06:47) =
tests-py38-darwin: exit 1 (462.14 seconds) /Users/runner/work/datumaro/datumaro> python -m pytest -v --csv=/Users/runner/work/datumaro/datumaro/.tox/results-tests-py38-darwin.csv tests/unit --cov --cov-report=xml pid=4536
.pkg: _exit> python /Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta
  tests-py38-darwin: FAIL code 1 (793.18=setup[331.04]+cmd[462.14] seconds)
  evaluation failed :( (803.78 seconds)
```
- This is because `join_timeout` is too short, so that the main thread
tries to assert the error logs before they are created.
- To fix it, set `join_timeout=None` to wait it infinitely until the
producer thread terminates.

Signed-off-by: Kim, Vinnam <vinnam.kim@intel.com>
* update changelog
* update release note
* update version string
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@yunchu yunchu marked this pull request as ready for review September 15, 2023 01:26
@yunchu yunchu requested review from a team as code owners September 15, 2023 01:26
@yunchu yunchu requested review from jihyeonyi and removed request for a team September 15, 2023 01:26
@vinnamkim
Copy link
Contributor

Please keep in mind that the merge back PR should be merged by "Merge pull request". Do not Squash and merge.

Copy link
Contributor

@vinnamkim vinnamkim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@yunchu yunchu merged commit 355ddbf into develop Sep 18, 2023
2 checks passed
@yunchu yunchu deleted the infra/mergeback-1.5.0 branch October 4, 2023 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants