You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "cyx-6 (via GitHub)" <gi...@apache.org> on 2023/03/05 05:43:22 UTC
[GitHub] [tvm] cyx-6 opened a new pull request, #14200: [Fix][TVMScript] Print truncdiv for int div
cyx-6 opened a new pull request, #14200:
URL: https://github.com/apache/tvm/pull/14200
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] junrushao merged pull request #14200: [Fix][TVMScript]TVMScript BinOP printing refactor
Posted by "junrushao (via GitHub)" <gi...@apache.org>.
junrushao merged PR #14200:
URL: https://github.com/apache/tvm/pull/14200
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] junrushao commented on pull request #14200: [Fix][TVMScript] Print truncdiv for int div
Posted by "junrushao (via GitHub)" <gi...@apache.org>.
junrushao commented on PR #14200:
URL: https://github.com/apache/tvm/pull/14200#issuecomment-1457022231
Any updates?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] junrushao commented on a diff in pull request #14200: [Fix][TVMScript]TVMScript BinOP printing refactor
Posted by "junrushao (via GitHub)" <gi...@apache.org>.
junrushao commented on code in PR #14200:
URL: https://github.com/apache/tvm/pull/14200#discussion_r1128593066
##########
python/tvm/script/parser/tir/operation.py:
##########
@@ -46,12 +46,12 @@ def r(op: Type, i: int, m: OpMethod): # pylint: disable=invalid-name
for i in [0, 1]:
# Case 1. binop
Review Comment:
i was thinking if we could remove all the binary operators here given our printer has taken good care of it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] junrushao commented on pull request #14200: [Fix][TVMScript]TVMScript BinOP printing refactor
Posted by "junrushao (via GitHub)" <gi...@apache.org>.
junrushao commented on PR #14200:
URL: https://github.com/apache/tvm/pull/14200#issuecomment-1458972537
Feel free to merge it yourself as soon as it turns green
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] tvm-bot commented on pull request #14200: [Fix][TVMScript] Print truncdiv for int div
Posted by "tvm-bot (via GitHub)" <gi...@apache.org>.
tvm-bot commented on PR #14200:
URL: https://github.com/apache/tvm/pull/14200#issuecomment-1454996812
<!---bot-comment-->
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](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @-ing them in a comment.
<sub>Generated by [tvm-bot](https://github.com/apache/tvm/blob/main/ci/README.md#github-actions)</sub>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] cyx-6 commented on a diff in pull request #14200: [Fix][TVMScript]TVMScript BinOP printing refactor
Posted by "cyx-6 (via GitHub)" <gi...@apache.org>.
cyx-6 commented on code in PR #14200:
URL: https://github.com/apache/tvm/pull/14200#discussion_r1128626623
##########
python/tvm/script/parser/tir/operation.py:
##########
@@ -46,12 +46,12 @@ def r(op: Type, i: int, m: OpMethod): # pylint: disable=invalid-name
for i in [0, 1]:
# Case 1. binop
Review Comment:
Sure! All those overloaded op have been removed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org