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

[Fix][TVMScript] Print truncdiv for int div #156

Closed
wants to merge 2 commits into from
Closed

[Fix][TVMScript] Print truncdiv for int div #156

wants to merge 2 commits into from

Conversation

cyx-6
Copy link
Contributor

@cyx-6 cyx-6 commented Mar 5, 2023

This PR fixes the output for T.Div(int, int). It will print T.truncdiv(int, int), instead of int / int, to avoid the integer division ambiguity in parser.

@cyx-6 cyx-6 changed the title [Fix]{TVMScript] Print truncdiv for int div [Fix][TVMScript] Print truncdiv for int div Mar 5, 2023
This PR fixes the output for `T.Div(int, int)`. It will print `T.truncdiv(int, int)`, instead of `int / int`, to avoid the integer division ambiguity in parser.
@junrushao
Copy link
Member

Perhaps we could close this PR and rebase to upstream once it's merged? apache/tvm#14200

@cyx-6
Copy link
Contributor Author

cyx-6 commented Mar 7, 2023

@junrushao Yes, this PR will be closed.

@cyx-6 cyx-6 closed this Mar 7, 2023
vinx13 pushed a commit to vinx13/mlc-relax that referenced this pull request May 8, 2023
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