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

Add reporting for llama testing and improve error handling #322

Merged
merged 25 commits into from
Oct 30, 2024
Merged

Conversation

saienduri
Copy link
Contributor

@saienduri saienduri commented Oct 24, 2024

This commit generates reports for the llama testing. Every time it runs it in CI, it will deploy to github pages (https://nod-ai.github.io/SHARK-Platform). @aviator19941 is working on getting the rest of the tests properly implemented. Only the llama8b fp16 tests are working as intended at the moment.

@saienduri saienduri marked this pull request as draft October 24, 2024 09:00
@saienduri saienduri marked this pull request as ready for review October 30, 2024 03:02
@saienduri saienduri changed the title Add reporting for llama testing. Add reporting for llama testing and improve error handling Oct 30, 2024
@@ -256,3 +256,23 @@ def get_iree_flags(request: FixtureRequest):
model_path["iree_hal_target_backends"] = set_fixture_from_cli_option(
request, "--iree-hal-target-backends", "iree_hal_target_backends"
)


def pytest_html_results_table_header(cells):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you use these functions anywhere?
Nit: Maybe a small comment to what the functions are doing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a comment. Yeah, these functions allow us to customize the html reports and add the XFail Reason column in the https://nod-ai.github.io/SHARK-Platform.

@saienduri saienduri merged commit d3b0681 into main Oct 30, 2024
4 checks passed
@saienduri saienduri deleted the reports branch October 30, 2024 18:39
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.SHARK_PLATFORM_GH_TOKEN }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This broke the CI for PRs from forks, see #395. Sending a PR to deactivate this until fixed.

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