Skip to content

Conversation

@bvrockwell
Copy link
Contributor

creates unit tests for run_server.py

Tests to provide some coverage to important launch scripts, with a focus on default configuration instantiation.

  1. test sets different model_name params to instantiate default configs. Provides some coverage for unintended default changes.
  2. this test ensures the server run and wait for termination methods are called exactly once.

@bvrockwell bvrockwell marked this pull request as ready for review July 5, 2024 03:41
@bvrockwell bvrockwell requested a review from FanhaiLu1 July 5, 2024 03:41
@qihqi qihqi merged commit 98a8e28 into main Jul 8, 2024
@qihqi qihqi deleted the add-server-tests branch July 8, 2024 17:12
@qihqi
Copy link
Collaborator

qihqi commented Jul 8, 2024

thanks!

Copy link
Collaborator

@FanhaiLu1 FanhaiLu1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the tests!

wang2yn84 pushed a commit that referenced this pull request Jul 18, 2024
* add enable jax profiler to run_server

* add run_server.py unit tests

* add ring buffer test
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.

4 participants