-
Notifications
You must be signed in to change notification settings - Fork 683
Revert "Update default executor runner with new optional options" #14193
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
)" This reverts commit 16aac24.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14193
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 105 PendingAs of commit 6ddfcbe with merge base 53b7ec5 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
…ytorch#14193) This reverts commit dc190f9. Original PR, pytorch#14017 was reverted by pytorch#14193. This reverts the revert. The only difference from the original PR is fixing a printf format mismatch in inputs.cpp: %ld is changed to %zu. This should compile on both 32- and 64-bit ABIs. Change-Id: If487e6c6bde313844a94db99a7431af33dfcdd0a
…torch#14193) Reverts pytorch#14017 https://www.internalfb.com/diff/D82053273 Here's the error from internal failure ``` executorch/extension/runner_util/inputs.cpp:118:13: error: format specifies type 'long' but the argument has type 'std::tuple_element<1, std::pair<char *, unsigned int>>::type' (aka 'unsigned int') [-Werror,-Wformat] [CONTEXT] 117 | "input size (%ld) and tensor size (%ld) mismatch!", [CONTEXT] | ~~~ xplat/executorch/extension/runner_util/inputs.cpp:119:13: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat] [CONTEXT] 117 | "input size (%ld) and tensor size (%ld) mismatch!", [CONTEXT] | ~~~ xplat/executorch/extension/runner_util/inputs.cpp:118:13: error: format specifies type 'long' but the argument has type 'std::tuple_element<1, std::pair<char *, unsigned int>>::type' (aka 'unsigned int') [-Werror,-Wformat] [CONTEXT] 117 | "input size (%ld) and tensor size (%ld) mismatch!", [CONTEXT] | ~~~ xplat/executorch/extension/runner_util/inputs.cpp:119:13: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat] [CONTEXT] 117 | "input size (%ld) and tensor size (%ld) mismatch!", [CONTEXT] | executorch/extension/runner_util/inputs.cpp:118:13: error: format specifies type 'long' but the argument has type 'std::tuple_element<1, std::pair<char *, unsigned int>>::type' (aka 'unsigned int') [-Werror,-Wformat] [CONTEXT] 117 | "input size (%ld) and tensor size (%ld) mismatch!", [CONTEXT] | ~~~ [CONTEXT] | %u [CONTEXT] 118 | buffer_size, [CONTEXT] | ^~~~~~~~~~~ [CONTEXT] xplat/executorch/runtime/platform/log.h:181:13: note: expanded from macro 'ET_LOG' [CONTEXT] 180 | _format, \ [CONTEXT] | ~~~~~~~ [CONTEXT] 181 | ##__VA_ARGS__); \ [CONTEXT] | ^~~~~~~~~~~ xplat/executorch/extension/runner_util/inputs.cpp:119:13: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat] [CONTEXT] 117 | "input size (%ld) and tensor size (%ld) mismatch!", [CONTEXT] | ~~~ [CONTEXT] | %zu [CONTEXT] 118 | buffer_size, [CONTEXT] 119 | tensor_meta->nbytes()); [CONTEXT] | ^~~~~~~~~~~~~~~~~~~~~ [CONTEXT] xplat/executorch/runtime/platform/log.h:181:13: note: expanded from macro 'ET_LOG' [CONTEXT] 180 | _format, \ [CONTEXT] | ~~~~~~~ [CONTEXT] 181 | ##__VA_ARGS__); \ [CONTEXT] | ^~~~~~~~~~~ [CONTEXT] 2 errors generated. ```
Reverts #14017
https://www.internalfb.com/diff/D82053273
Here's the error from internal failure