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

[TKW] Add xfail decorator for unaligned shape #163

Merged
merged 4 commits into from
Sep 24, 2024

Conversation

raikonenfnu
Copy link
Contributor

No description provided.

Signed-off-by: Stanley Winata <stanley.winata@amd.com>
@@ -30,8 +30,10 @@
]

user_specified_test_shapes = ""

test_params_path = os.environ.get("TEST_PARAMS_PATH", None)
default_filename = "test_param.json"
Copy link
Contributor

@Hardcode84 Hardcode84 Sep 24, 2024

Choose a reason for hiding this comment

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

Please, don't. We need to make all tests work with default shapes.

The core issue that test_tiled_reduce_max doesn't work with weird shapes, instead of skipping this shape entirely, we need to fix test or mark it xfail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Interesting, so what was the motivation for adding test_param.json shapes to begin with?

Copy link
Contributor

Choose a reason for hiding this comment

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

The motivation was to run perf test with different set of shapes from CI tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, that makes sense, thanks :)

Copy link
Member

Choose a reason for hiding this comment

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

I left a comment on #119 (comment) . I think pytest marks (for test type / size, as well as xfail) are a better fit here than environment variables and separate json files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Hardcode84 updated the test ,re-review please :)

@raikonenfnu raikonenfnu changed the title [TKW] Add default path relative to wave_e2e_tests [TKW] Add xfail decorator for unaligned shape Sep 24, 2024
Signed-off-by: Stanley Winata <stanley.winata@amd.com>
Signed-off-by: Stanley Winata <stanley.winata@amd.com>
Signed-off-by: Stanley Winata <stanley.winata@amd.com>
@raikonenfnu raikonenfnu merged commit 65eb532 into iree-org:main Sep 24, 2024
8 checks passed
IanNod pushed a commit to IanNod/iree-turbine that referenced this pull request Sep 30, 2024
IanNod pushed a commit to IanNod/iree-turbine that referenced this pull request Sep 30, 2024
Signed-off-by: Ian <ian.nordeng@amd.com>
IanNod pushed a commit to IanNod/iree-turbine that referenced this pull request Sep 30, 2024
Signed-off-by: Ian <ian.nordeng@amd.com>
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