Skip to content

Commit 3f2c226

Browse files
committed
up
1 parent 7d0b38f commit 3f2c226

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.ci/scripts/test_model.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ test_model_with_coreml() {
222222

223223
DTYPE=float16
224224

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
226226
EXPORTED_MODEL=$(find "." -type f -name "${MODEL_NAME}*.pte" -print -quit)
227227

228228
if [ -n "$EXPORTED_MODEL" ]; then

backends/apple/coreml/runtime/delegate/coreml_backend_delegate.mm

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,7 @@ ModelLoggingOptions get_logging_options(BackendExecutionContext& context) {
203203
size_t nInputs = nArgs.first;
204204
size_t nOutputs = nArgs.second;
205205
delegate_args.reserve(nInputs + nOutputs);
206-
207-
// Container to hold wrapped scalar input args
208-
std::vector<executorch::extension::TensorPtr> wrapped_scalars;
209-
206+
210207
// inputs
211208
for (size_t i = 0; i < nInputs; i++) {
212209
auto multi_array = get_multi_array(args[i], ArgType::Input);

0 commit comments

Comments
 (0)