-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[AOTInductor] Wrapper codegen fixes #111089
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
Summary: The changes: 1. When using fake inputs make sure they are on the same device as the original inputs. 1. Don't change the value of `self.cpp_wrapper` from `True` to `False` if can't generate a C++ wrapper, instead have a check and fail early to avoid producing Python code for C++ compiler. Differential Revision: D50154720
|
This pull request was exported from Phabricator. Differential Revision: D50154720 |
|
@pytorchbot label "topic: not user facing" |
It's a reimplementation of #111089 1. When using fake inputs make sure they are on the same device as the original inputs. 2. Don't change the value of self.cpp_wrapper from True to False if can't generate a C++ wrapper, instead have a check and fail early to avoid producing Python code for C++ compiler. Pull Request resolved: #111102 Approved by: https://github.com/desertfire, https://github.com/jgong5, https://github.com/chunyuan-w
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
|
It was implemented in #111102 |
Summary:
The changes:
self.cpp_wrapperfromTruetoFalseif can't generate a C++ wrapper, instead have a check and fail early to avoid producing Python code for C++ compiler.Differential Revision: D50154720
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @aakhundov @ColinPeppler