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

[cherry-pick][ARITH] Enhance CanonicalSimplify to Simplify ProdDiv and [ci] disable merge #14715

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

driazati
Copy link
Member

@driazati driazati commented Apr 24, 2023

This disables the merge to main behavior for this branch and includes the code #14725 to get this to pass CI. This also disables the docker GPU build which is currently broken on this branch and has no bearing on the release (and is being built erroneously anyways since this PR has no docker changes).

@tvm-bot
Copy link
Collaborator

tvm-bot commented Apr 24, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@ysh329
Copy link
Contributor

ysh329 commented Apr 25, 2023

I found there's a test failed:
image

@driazati
Copy link
Member Author

@tvm-bot rerun

@ysh329
Copy link
Contributor

ysh329 commented Apr 25, 2023

Hi @driazati , I tried this test locally on commit 6af881c and failed log as below:

$ # keep `test_proddiv_simplify` only
$ python3 ./tests/python/unittest/test_arith_canonical_simplify.py
Traceback (most recent call last):
  File "./tests/python/unittest/test_arith_canonical_simplify.py", line 427, in <module>
    test_proddiv_simplify()
  File "./tests/python/unittest/test_arith_canonical_simplify.py", line 398, in test_proddiv_simplify
    ck.verify(flm(x * 32 * x, x), 0)
  File "./tests/python/unittest/test_arith_canonical_simplify.py", line 29, in verify
    assert tvm.ir.structural_equal(res, expected), "\ndata={}\nres={}\nexpected={}".format(
AssertionError:
data=x * 32 * x % x
res=x * 32 * x % x
expected=0

Can you reproduce this failed case, either?

@driazati
Copy link
Member Author

@ysh329 I believe this PR is exposing a latent bug that was being hidden by the merge before, I think we can fix it by cherry picking #14538, that works locally for me at least

@ysh329
Copy link
Contributor

ysh329 commented Apr 26, 2023

@ysh329 I believe this PR is exposing a latent bug that was being hidden by the merge before, I think we can fix it by cherry picking #14538, that works locally for me at least

Fixed with cherry-picked PR #14725. It's a bit strange why the previous PR CI test did not reflect this failed test.

@driazati driazati changed the title [ci] Disable merge to main [cherry-pick][ARITH] Enhance CanonicalSimplify to Simplify ProdDiv and [ci] disable merge Apr 26, 2023
@driazati
Copy link
Member Author

@ysh329 I believe this PR is exposing a latent bug that was being hidden by the merge before, I think we can fix it by cherry picking #14538, that works locally for me at least

Fixed with cherry-picked PR #14725. It's a bit strange why the previous PR CI test did not reflect this failed test.

I think because before it was merging the PR from main, so the fix was being applied even though it hadn't been cherry-picked. To avoid the failure in your cherry-pick PR I just added both changes to this one

@ysh329
Copy link
Contributor

ysh329 commented Apr 27, 2023

@ysh329 I believe this PR is exposing a latent bug that was being hidden by the merge before, I think we can fix it by cherry picking #14538, that works locally for me at least

Fixed with cherry-picked PR #14725. It's a bit strange why the previous PR CI test did not reflect this failed test.

I think because before it was merging the PR from main, so the fix was being applied even though it hadn't been cherry-picked. To avoid the failure in your cherry-pick PR I just added both changes to this one

Great! Thanks for your work. 😆

This disables the merge to main behavior for this branch

[cherry-pick][ARITH] Enhance CanonicalSimplify to Simplify ProdDiv

[ci] Disable docker build
@driazati driazati merged commit dd25968 into v0.12.0 Apr 28, 2023
ysh329 pushed a commit to ysh329/tvm that referenced this pull request Apr 28, 2023
…d [ci] disable merge (apache#14715)

This disables the merge to main behavior for this branch and includes the code apache#14725 to get this to pass CI. This also disables the docker GPU build which is currently broken on this branch and has no bearing on the release (and is being built erroneously anyways since this PR has no docker changes).
@tqchen tqchen deleted the driazati/release_merge branch May 15, 2023 02:41
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.

4 participants