insert_deferred_runtime_asserts does not work with modulus #125376
Labels
module: dynamic shapes
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
insert_deferred_runtime_asserts operates by symbolic tracing through the PythonReferenceAnalysis. However, the implementation of mod is not traceable:
due to the conditional on x.
This is related to @lezcano complaining about how C and Python modulus semantics are not the same.
Versions
main
The text was updated successfully, but these errors were encountered: