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

Uplift tt-mlir version and skip the failing tests (Nov-12-2024). #29

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

mmanzoorTT
Copy link
Contributor

No description provided.

@uazizTT
Copy link
Contributor

uazizTT commented Nov 8, 2024

The failure is due to an issue reported in tt-xla as well tenstorrent/tt-xla#57. Referencing it here so slice tests are enabled once the issue is resolved.

@@ -285,6 +285,7 @@ def forward(self, x):
@pytest.mark.parametrize(
"begin, end, dim", [*dim2_cases, *dim3_cases, *dim0_cases, *dim1_cases]
)
@pytest.mark.skip("AssertionError: ATOL too high: nan vs 0.01")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it all of the slice tests that are failing? Could we just skip some of them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

slice test is only working for dim=3. I have skipped remaining tests.

@mmanzoorTT mmanzoorTT force-pushed the mmanzoor/ttmlir-uplift branch 3 times, most recently from fe4d490 to 4bb95ff Compare November 12, 2024 15:41
@mmanzoorTT mmanzoorTT force-pushed the mmanzoor/ttmlir-uplift branch from 4bb95ff to 78565ee Compare November 12, 2024 15:43
@mmanzoorTT mmanzoorTT changed the title Uplift tt-mlir version and skip the failing tests (Nov-08-2024). Uplift tt-mlir version and skip the failing tests (Nov-12-2024). Nov 12, 2024
@@ -286,6 +286,10 @@ def forward(self, x):
"begin, end, dim", [*dim2_cases, *dim3_cases, *dim0_cases, *dim1_cases]
)
def test_slice(begin, end, dim):
# Slice test is only working for dim=3; skipping all other tests.
if dim != 3:
Copy link
Contributor

Choose a reason for hiding this comment

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

Please also add an issue tracking this bug so that we'll eventually follow up and remove the skip.

@mmanzoorTT mmanzoorTT merged commit 5e8317d into main Nov 12, 2024
3 checks passed
@mmanzoorTT mmanzoorTT deleted the mmanzoor/ttmlir-uplift branch November 12, 2024 17:47
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