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

Use faster direct call of train/predict methods in test scripts. #720

Open
jstjohn opened this issue Mar 5, 2025 · 1 comment
Open

Use faster direct call of train/predict methods in test scripts. #720

jstjohn opened this issue Mar 5, 2025 · 1 comment

Comments

@jstjohn
Copy link
Collaborator

jstjohn commented Mar 5, 2025

          TODO Dorota - this test would execute much faster is we import `train` method and just tests it. Get this unit test from gitlab

Originally posted by @dorotat-nv in #694 (comment)

@jstjohn jstjohn mentioned this issue Mar 5, 2025
9 tasks
@jstjohn
Copy link
Collaborator Author

jstjohn commented Mar 5, 2025

There are two functions in Evo2 to apply this to. test_train.py and test_predict.py. We should make @pytest.mark.slow variants of these that test the full e2e command line call (how it goes now) but make regular versions of this test that cover the case of directly calling the function called by the CLI script.

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

No branches or pull requests

1 participant