Skip to content

Conversation

kavin-sai-krishna
Copy link
Contributor

This PR resolves #17874. Currently, only one in-place operation (bitwise_or_) is affected, and it has been remapped to use self.binary_op_inplace instead of self.binary_op. Going forward, any additional in-place operations (e.g., bitwise_and, bitwise_xor, etc.) should also be explicitly mapped to self._binary_op_inplace to ensure correct handling.

@mshr-h
Copy link
Contributor

mshr-h commented Apr 23, 2025

LGTM. Thanks!

@mshr-h mshr-h merged commit 299ef81 into apache:main Apr 23, 2025
10 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
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.

[Bug] [FRONTEND][PYTORCH][FxGraph] Incorrect Handling of In-Place Ops in FX-Based TVM Frontend
2 participants