-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[test] test_ad_atomic.py::test_ad_reduce
sometimes fails
#828
Comments
test_ad_atomic.py::test_ad_reduce
sometimes failstest_ad_atomic.py::test_ad_reduce
sometimes fails
@yuanming-hu What do you think? |
Thanks for looking into this. This has been a nasty issue for a while :-) We should remove taichi/python/taichi/lang/snode.py Line 41 in 1046995
to avoid this confusing syntax here. Not sure if this is the cause though. To debug, take a look at |
|
After I changed taichi/tests/python/test_ad_atomic.py Line 14 in 9a3bb30
to
, both the snode tree and the IR didn't change. |
Thanks for the info. I took another look at the script and had no idea why it fails. We should also try to stably reproduce this issue: if I remember correctly this test will only fail with, a small probability, if I run all the tests together (which takes a couple of minutes), and it will pass if I run this one alone. Also, it only fails on Windows. |
Do you also think that I found it still exists if I set
( |
Could you provide greater detail? I'm not sure if I understand what |
I think
And I don't understand why
|
Correct.
$6 and $11 do not have the same address. Note that each element of |
Another mysterious crash: https://ci.appveyor.com/project/yuanming-hu/taichi/builds/32373295/job/jbdelwb6ch2yj2g6#L9430 |
This may related to variable-not-initialized? I found #633 caused by |
Closing as we no longer use appveyor and this test seem to be stable now. Please feel free to open a new issue if it happens again. |
Describe the bug
test_ad_atomic.py::test_ad_reduce
sometimes fails on AppVeyor, and it often passes when rerun.Log/Screenshots
I find it weird here :
$6 = get child [S0root->S5dense] $5
and$11 = get child [S0root->S3dense] $5
. Can one statement link to twoSNode
s?Additional comments
taichi/tests/python/test_ad_atomic.py
Line 14 in 9a3bb30
I'm not sure if it's allowed to call
place
two times in one statement.The text was updated successfully, but these errors were encountered: