Unified unit & end-to-end testing#155
Merged
flxst merged 24 commits intodev_experimentsfrom Jun 19, 2024
Merged
Conversation
le1nux
reviewed
Jun 14, 2024
le1nux
reviewed
Jun 14, 2024
Co-authored-by: Max Lübbering <2804731+le1nux@users.noreply.github.com>
…the steps. Enforced a check for it now.
…odalities into feat/unified-testing
…dition to the model state.
…odalities into feat/unified-testing
fromm-m
approved these changes
Jun 19, 2024
Member
|
We should add the pip packaging to pyproject.toml and run once the git pre-commit hooks so that the actions run through, beside that it can be merged. |
Member
Author
Will be done as part of #157. |
…odalities into feat/unified-testing
le1nux
approved these changes
Jun 19, 2024
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR
introduces a new script
tests/tests.py, which can be used for both unit and end-to-end testing. (6101bb9, 81cacfa, 74045d8, e0d0a42, 563cf27)Examples:
python tests/tests.py: run CPU tests + single-GPU tests on GPU 0 + multi-GPU tests on GPUs 0/1python tests/tests.py --devices 4,5: same as above but using devices 4/5python tests/tests.py --cpu: run CPU testspython tests/tests.py --single-gpu --devices 3: run CPU tests + single-GPU tests on GPU 3python tests/tests.py --multi-gpu --devices 3,4: run multi-GPU tests on GPUs 3/4Note that any GPU device 0-7 can be specified.
fixes some unit test minor issues (6c4e0f4, 5d2cd14)
fixes all end-to-end tests (all other commits)