[CI] Update image tag to 20240917-153130-9f281758#17397
Conversation
|
looks like a flaky error, we should increas atol and rtol for the case |
|
|
here is the error |
|
Seems like a bug in pytest or our fixture impl cc @Lunderberg |
|
Some guess about what happens to the This is the only test where all parameters appears as bool PrimExpr and also do not contain a bool constant, not sure how that impacts the comparison impl. Update, i managed to create a case that hits the error import tvm
i, j, k = [tvm.tir.Var(name, "int32") for name in "ijk"]
((i == j), (i > j)) == ((i == j), (i > j))raises I can also reproduce the error via env Note that the same failure happens in my python 3.10 env |
|
@yongwww can you help a bit with model binary |
|
Python 3.8 is going to EoL in 2024-10, so maybe it's a good time to move to 3.9. |
|
Update about my finding. I find that i can reproduce the same issue on my python3.10 (the tuple comparison issue) but the testcase did not fail, then i digged a bit into pytest code. The pytest of my python3.10 do not have the same code as Seems it is a versioning problem. The pytest version was too old. Likely the reliance of On a separate note, i agree it is good time to move to higher python version. |
|
The test passes with |
|
Ah actually it has to do with newer pytest version. I see, then we should up find ways to fix the testcase |
|
I think one solution would be to add a wrapper class for the parameters of this testcase and define our own equal operator, so it won't rely on tuple equal. @mshr-h do you mind try that? We can use structural equality and hash for the wrapper key |
|
if we can work around the torch model issue by skipping first, we can aim to merge first |
46d7cfd to
d19d28a
Compare
d19d28a to
dfab291
Compare
As per title.
Part of #17346