Make unit tests runnable via a tox environment#2765
Merged
Conversation
perfci run on commit 9c55f27 |
This was referenced Nov 21, 2025
Contributor
yoichiyoshida
left a comment
There was a problem hiding this comment.
Looks good, please double check if those 2 asserts need to be removed
yoichiyoshida
approved these changes
Nov 22, 2025
- Using the tox environment "unit", you can quickly call unit tests once you have a build of tensile-client already available. - Add documentation to the README advertising this fact. - In 5ee394f the Sparse key was removed from the returned value in matrixInstructionToMIParameters but this test was never updated. Removing from the test allows the test to pass again.
1849c0d to
568a8c6
Compare
perfci run on commit 2962746 |
ammallya
pushed a commit
that referenced
this pull request
Feb 3, 2026
* Fix Default2DEpilogue usage * Fix Default2DEpilogue usage for batch_prefill [ROCm/composable_kernel commit: 9f35cde]
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Using the tox environment "unit", you can quickly call unit tests once you have a build of tensile-client already available.
Add documentation to the README advertising this fact.
Motivation
Our integration testing (via the YAML files) is a comprehensive test of the codegen capabilities of tensilelite. We also need to be able to test the Python components separately. Codegen testing (because it ends up calling the actual tensilelite-client) can run for 15 minutes up to an hour or more. Unit testing of Python code can be done in 5-20 seconds, permitting faster development iteration cycles.
Technical Details
Test Plan
tox -e unit -- Tensile/Tests/unit
Test Result
29 passed, 1 xfailed in 18.54s
(the one expected failure can be addressed in a follow up PR)
Submission Checklist