-
Notifications
You must be signed in to change notification settings - Fork 13
Fix visitCall in deviceIR. Always visit argument nodes #178
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
Conversation
[ghstack-poisoned]
@joydddd I don't believe ghstack works in this repo. @oulgen can confirm. I have been using https://github.com/modular/stack-pr instead. You may need to recreate the PR using that. |
there's a way to make ghstack work, but its pretty tedious, so yea please use stack-pr, it is very similar |
def _to_proxy(self, node: ast.AST) -> object: | ||
assert isinstance(node, ExtendedAST) | ||
type_info = node._type_info | ||
if not type_info.contains_tensor(): | ||
return type_info.proxy() | ||
return self.visit(node) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function has become the same as self.visit. Let's delete it and update the callers to call self.visit
directly.
Stack from ghstack (oldest at bottom):