training_extensions
training_extensions copied to clipboard
(Do net merge) Fix multi batch testing for visual prompting
Summary
Visual prompting tasks have only supported single batch test and prediction. This PR enables multi batch testing for those tasks.
How to test
$ tox -vv -e integration-test-visual_prompting
===== 18 passed, 13 skipped, 2 xfailed, 59 warnings in 1611.14s (0:26:51) =====
Checklist
- [ ] I have added unit tests to cover my changes.
- [ ] I have added integration tests to cover my changes.
- [ ] I have ran e2e tests and there is no issues.
- [ ] I have added the description of my changes into CHANGELOG in my target branch (e.g., CHANGELOG in develop).
- [ ] I have updated the documentation in my target branch accordingly (e.g., documentation in develop).
- [ ] I have linked related issues.
License
- [ ] I submit my code changes under the same Apache 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) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0