guan404ming commented on code in PR #18535:
URL: https://github.com/apache/tvm/pull/18535#discussion_r2600824746
##########
python/tvm/relax/frontend/torch/exported_program_translator.py:
##########
@@ -1477,6 +1483,11 @@ def create_convert_map(
"item.default": self._item,
"sym_size.int": self._sym_size_int,
"_local_scalar_dense.default": self._item,
+ # symbolic shape constraints (no-ops for compilation)
+ "sym_constrain_range_for_size.default": lambda node:
self.env[node.args[0]],
+ "_assert_scalar.default": lambda node: self.env[node.args[0]],
+ "ge": self._symbolic_comparison,
+ "le": self._symbolic_comparison,
Review Comment:
Hi @tlopex, I just noticed that the review was written but it seems like not
submitted (by clicking the green submit button), so it stayed in pending state
wasn’t visible to others. I realized this recently as well, just thought I’d
let you know. Thanks!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]