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

Pytest automated tests #15

Merged
merged 14 commits into from
Nov 8, 2024
Merged

Pytest automated tests #15

merged 14 commits into from
Nov 8, 2024

Conversation

InnocentBug
Copy link
Collaborator

Here I am adding automated tests via pytest.

The process is step-by-step to allow incremental updates.

The way it is structured right now is, that all automated pytest are in python/pytest.
And as I progress through the workload, I am adding tests from for example python/tests and move them to python/pytest once ported and green for the new version.

Generally, the test is setup to be able to run on GPU and CPU, by exporting the environment variable:
TORCH_TEST_DEVICE

For now the automated tests are CPU only on self-hosted runners.
We talk about GPU automated runs another time.

@InnocentBug InnocentBug self-assigned this Nov 6, 2024
@InnocentBug InnocentBug marked this pull request as draft November 8, 2024 17:25
@InnocentBug InnocentBug marked this pull request as ready for review November 8, 2024 18:51
@InnocentBug
Copy link
Collaborator Author

@richardxd for visibility

@risi-kondor risi-kondor merged commit 8634a64 into dev5 Nov 8, 2024
4 checks passed
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.

2 participants