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

[WIP] some einsum tests fail #391

Merged
merged 3 commits into from
Mar 3, 2023
Merged

[WIP] some einsum tests fail #391

merged 3 commits into from
Mar 3, 2023

Conversation

evaleev
Copy link
Member

@evaleev evaleev commented Mar 2, 2023

@asadchev some unit tests actually used zero-filled tensors (due to bug in fill_random for tensors of integers) and thus "passed" but should not have. I fixed the fill_random so you can see which tests fail. Interesting not all TA-based einsum tests fail, on my machine I see this:

/Users/efv/code/tiledarray/tests/einsum.cpp:970: error: in "einsum_tiledarray/einsum_tiledarray_hi_hi_h": check isApprox(result, reference) has failed
/Users/efv/code/tiledarray/tests/einsum.cpp:970: error: in "einsum_tiledarray/einsum_tiledarray_hji_jih_hj": check isApprox(result, reference) has failed
/Users/efv/code/tiledarray/tests/einsum.cpp:970: error: in "einsum_tiledarray/einsum_tiledarray_replicated": check isApprox(result, reference) has failed
/Users/efv/code/tiledarray/tests/einsum.cpp:970: error: in "einsum_tiledarray/einsum_tiledarray_replicated": check isApprox(result, reference) has failed

@asadchev
Copy link
Contributor

asadchev commented Mar 2, 2023 via email

@evaleev evaleev force-pushed the evaleev/fix/einsum branch from 4f3aaaf to e2009bf Compare March 3, 2023 20:28
@evaleev
Copy link
Member Author

evaleev commented Mar 3, 2023

the issue was in the "Hadamard reduction" branch of the code

@evaleev evaleev merged commit fbf5404 into master Mar 3, 2023
@evaleev evaleev deleted the evaleev/fix/einsum branch March 3, 2023 22:15
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.

2 participants