This repository was archived by the owner on Jun 3, 2025. It is now read-only.
[Feature Branch][LLM Testing] Full Testing Harness for LLMs#1216
Merged
Conversation
* initial commit * finish creation of helper objects * Update tests/conftest.py * small refactor * [Feature Branch][LLM Testing] LLM Testing Suite (#1227) * Update README.md * Update src/deepsparse/yolov8/README.md * Update text_generation.py * quality * readability * all tests passing * added some full kv cache tests * initial commit * ready for review * Delete tests/deepsparse/transformers/pipelines/proposal_text_generation_tests.md
dsikka
reviewed
Sep 8, 2023
dsikka
reviewed
Sep 8, 2023
dsikka
reviewed
Sep 8, 2023
dsikka
reviewed
Sep 8, 2023
dsikka
left a comment
Contributor
There was a problem hiding this comment.
How confident are we in our test coverage? Possibly add tests when running with deterministic off or multiple input sequences?
…ithub.com/neuralmagic/deepsparse into feature/damian/llm_testing_feature_branch
bfineran
reviewed
Sep 11, 2023
dsikka
suggested changes
Sep 11, 2023
dsikka
left a comment
Contributor
There was a problem hiding this comment.
- Remove ORT ground truth class and use deepsparse pipeline instead
bfineran
approved these changes
Sep 13, 2023
bfineran
left a comment
Contributor
There was a problem hiding this comment.
LGTM overall. as discussed offline - will need some refactors to move cleanly to a config based method
dsikka
approved these changes
Sep 13, 2023
dsikka
left a comment
Contributor
There was a problem hiding this comment.
LGTM. Support for getting this to run on a nightly basis is still pending?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The implementation of the test harness for LLMs. By default, the tests are turned off so that we do not choke GHA.
To enable tests: remove
@pytest.mark.skip(reason="Those tests are too heavy to run as a normal part of the CI.")@pytest.mark.skip(reason="Those tests are too heavy to run as a normal part of the CI.")
and run
pytest tests/deepsparse/transformers/pipelines/test_text_generation.pyFuture consideration: adding config and utilizing small toy models to make tests extremely lightweight.
Includes PRs: