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

Support creating TestMo "resource" files #32

Merged
merged 22 commits into from
Oct 1, 2024
Merged

Conversation

derekk-nm
Copy link
Contributor

Summary:

add support for creating TestMo "resource" files and allow passing one to the testmo-run-submit-thread action.
This is to enable reporting resources when submitting LM-Eval run results to TestMo. Explicit testing of that will verify that we get the expected behavior when resource file is included.

Details:

  • adds a new testmo-create-resources action to create any resource file
  • adds a python script called by that action, compose_testmo_resources_file.py, that generates the proper JSON
  • updates testmo-run-submit-thread to generate a resource file with specified contents, and pass that in when submitting a new thread.
  • instructs ruff to ignore S603 issues, whose recommended solution contradicts S602. see Potential conflicted rules between S602 and S603 astral-sh/ruff#4045

Test Plan:

  • tested with the a branch of nm-vllm-ent where these are being used.

Related Issues:

n/a

@derekk-nm
Copy link
Contributor Author

This PR replaces #24

Copy link
Contributor

@dbarbuzzi dbarbuzzi left a comment

Choose a reason for hiding this comment

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

Looks good pending the removal of the change to ruff.toml.

ruff.toml Show resolved Hide resolved
Copy link
Member

@andy-neuma andy-neuma left a comment

Choose a reason for hiding this comment

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

okay

@derekk-nm derekk-nm added this pull request to the merge queue Oct 1, 2024
Merged via the queue into main with commit 909ee01 Oct 1, 2024
1 check passed
@derekk-nm derekk-nm deleted the dmk/testmo_resources_2 branch October 1, 2024 17:28
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.

3 participants