File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
backends/apple/coreml/runtime/delegate Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ test_model_with_coreml() {
222
222
223
223
DTYPE=float16
224
224
225
- " ${PYTHON_EXECUTABLE} " -m examples.apple.coreml.scripts.export --model_name=" ${MODEL_NAME} " --compute_precision " ${DTYPE} "
225
+ " ${PYTHON_EXECUTABLE} " -m examples.apple.coreml.scripts.export --model_name=" ${MODEL_NAME} " --compute_precision " ${DTYPE} " --use_partitioner
226
226
EXPORTED_MODEL=$( find " ." -type f -name " ${MODEL_NAME} *.pte" -print -quit)
227
227
228
228
if [ -n " $EXPORTED_MODEL " ]; then
Original file line number Diff line number Diff line change @@ -203,10 +203,7 @@ ModelLoggingOptions get_logging_options(BackendExecutionContext& context) {
203
203
size_t nInputs = nArgs.first ;
204
204
size_t nOutputs = nArgs.second ;
205
205
delegate_args.reserve (nInputs + nOutputs);
206
-
207
- // Container to hold wrapped scalar input args
208
- std::vector<executorch::extension::TensorPtr> wrapped_scalars;
209
-
206
+
210
207
// inputs
211
208
for (size_t i = 0 ; i < nInputs; i++) {
212
209
auto multi_array = get_multi_array (args[i], ArgType::Input);
You can’t perform that action at this time.
0 commit comments