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

[CI/Build] Enable entrypoints tests to be run in a single command #4759

Closed

Conversation

DarkLight1337
Copy link
Contributor

@DarkLight1337 DarkLight1337 commented May 11, 2024

By setting gpu_memory_utilization to a low value for tests that only use small models, all entrypoints tests can now be run in a single command.

However, I now get this warning when running test_oot_registration_for_api_server after changing multiprocessing to use the 'spawn' start method instead of the default 'fork':

/usr/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown

Does this mean the OS has to restart in order to clean this memory leak? Hopefully it won't become a significant issue.

@DarkLight1337
Copy link
Contributor Author

With the change in #4328, entrypoints tests cannot be run in a single command anyway. I have switched to using pytest markers to separate the tests in that PR.

@DarkLight1337 DarkLight1337 deleted the entrypoints-tests branch May 22, 2024 08:36
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.

None yet

1 participant