-
Notifications
You must be signed in to change notification settings - Fork 795
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
[Test automation] generate custom test report #739
Conversation
76b4ace
to
991f0e0
Compare
e718395
to
e4f9175
Compare
requirements.txt
Outdated
@@ -11,3 +11,4 @@ requests | |||
rich | |||
setuptools | |||
termcolor | |||
pytest-html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, I don't think we should add this plugin by default because anyone who is not doing development won't need it. this dependency can be added only for the github workflow, or can be manually installed by any developer.
47b6cfb
to
b4b9462
Compare
Please update the test plan / gist when you have a tabular format for the results |
SUPPORTED_MODELS = { | ||
"ollama": [ | ||
CoreModelId.llama3_1_8b_instruct.value, | ||
CoreModelId.llama3_1_8b_instruct.value, | ||
CoreModelId.llama3_1_70b_instruct.value, | ||
CoreModelId.llama3_1_70b_instruct.value, | ||
CoreModelId.llama3_1_405b_instruct.value, | ||
CoreModelId.llama3_1_405b_instruct.value, | ||
CoreModelId.llama3_2_1b_instruct.value, | ||
CoreModelId.llama3_2_1b_instruct.value, | ||
CoreModelId.llama3_2_3b_instruct.value, | ||
CoreModelId.llama3_2_3b_instruct.value, | ||
CoreModelId.llama3_2_11b_vision_instruct.value, | ||
CoreModelId.llama3_2_11b_vision_instruct.value, | ||
CoreModelId.llama3_2_90b_vision_instruct.value, | ||
CoreModelId.llama3_2_90b_vision_instruct.value, | ||
CoreModelId.llama3_3_70b_instruct.value, | ||
CoreModelId.llama_guard_3_8b.value, | ||
CoreModelId.llama_guard_3_1b.value, | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider getting these values dynamically instead of explicitly retrieving them individually?
@ashwinb the gist file has been updated! |
c352da8
to
697ce9c
Compare
8de5bac
to
60d49ce
Compare
60d49ce
to
01cfefe
Compare
4526b77
to
a569a92
Compare
01cfefe
to
f24793d
Compare
33de00c
to
901c10d
Compare
f24793d
to
4ee4bbb
Compare
4ee4bbb
to
9b70900
Compare
What does this PR do?
Generate a test report in MD that contains two main infos:
Test Plan
For local testing, run test script in command line. See a test report being generated at tests/report.html
pytest /Users/sxyi/llama-stack/llama_stack/providers/tests/. --config=ci_test_config.yaml
See gist for output MD file
Sources
Please link relevant resources if necessary.
Before submitting
Pull Request section?