inference icon indicating copy to clipboard operation
inference copied to clipboard

onnxruntime CoreML execution provider leaks ~70-78 KB per inference on macOS (RF-DETR default config)

Open yeldarby opened this issue 1 month ago • 13 comments

Summary

On macOS, running an ONNX model through onnxruntime's CoreMLExecutionProvider with the options inference_models sets by default for RF-DETR (ModelFormat=MLProgram, MLComputeUnits=CPUAndGPU, see inference_models/inference_models/models/common/onnx.py, get_default_coreml_provider_options) grows process memory by roughly 70-78 KB per session.run call. At 30 inferences per second that is about 1.9-2.0 MB/s, or 6-7 GB per day. The leak is native (not in the Python heap) and is present without any Roboflow code in the loop.

Found while validating an unrelated Workflows feature; it is not caused by that work.

Evidence

Mac M4 Max, macOS 27.0.1, Python 3.10, rfdetr-nano (coco/40 weights). Memory is phys_footprint sampled every second; slopes are linear fits for t >= 30 s.

Run Growth
InferencePipeline + RF-DETR + visualizations, pristine main (18eb2936e) +1.95 MB/s, R² 0.98
Model only through the workflow engine +1.90 MB/s, R² 0.99
Model only with ONNXRUNTIME_EXECUTION_PROVIDERS=CPUExecutionProvider flat (-0.18 MB/s)
Passthrough workflow, no model flat
Bare onnxruntime 1.21.1 loop, CoreML MLProgram CPUAndGPU, no Roboflow code +1.43 MB/s at 18.4 it/s = 78 KB per call, R² 1.00
Same loop, onnxruntime 1.31.1 (latest) +1.96 to 2.15 MB/s at 28.7 it/s
CoreML MLProgram, MLComputeUnits=CPUOnly flat, 14.8 it/s
CoreML NeuralNetwork format flat, but 3 it/s and a 3.7 GB footprint
Objective-C autorelease pool pushed/popped around each run still +2.35 MB/s

tracemalloc shows the Python heap shrinking while RSS grows (94.8 to 84.3 MB traced vs +180 MB process over the same 180 s), so nothing Python-side accumulates. The leak is in the MLProgram GPU path.

Repro

A standalone script that loads the cached rfdetr-nano weights with the same CoreML options and runs a paced loop while sampling memory lives at ~/Code/vision-event-clips/scripts/g1.9/ort_loop.py on Brad's machine (can be attached on request):

python ort_loop.py --provider coreml --seconds 300 --fps 30 --label coreml   # leaks
python ort_loop.py --provider cpu    --seconds 300 --fps 30 --label cpu      # flat

Impact

Any long-running RF-DETR (or other MLProgram-opted-in model) deployment on macOS with the default provider options, e.g. InferencePipeline on a Mac for hours.

Mitigation candidates

  • MLComputeUnits=CPUOnly for CoreML: no leak, about half the throughput (14.8 vs 30 it/s on this model).
  • Periodic InferenceSession recycling in the ONNX model wrapper.
  • Upstream report to onnxruntime with the bare-loop repro (1.21.1 and 1.31.1 both affected).

yeldarby avatar Oct 30 '26 09:10 yeldarby

@yeldarby ,

I would like to work on this issue. Kindly requesting you to assign the issue to me if possible.

Nishant-ZFYII avatar Oct 30 '26 12:10 Nishant-ZFYII

Hi @yeldarby, I tried to reproduce this on a different Mac and couldn't, in case the data point is useful.

Setup: MacBook Neo (Apple A18 Pro, 8 GB), macOS 26.5, Python 3.12, rfdetr-nano via AutoModel (resolved to coco/38 here), CoreML MLProgram with CPUAndGPU. I sampled phys_footprint every second in a loop paced at 30 fps (the model ran at 12-16 it/s on this machine), with both a reused input and a fresh random input each call.

  • ORT 1.21.1, 300 s, fresh inputs: flat, 395.9 MB from t=60 s to the end (~3,800 runs in total)
  • ORT 1.31.1, 300 s, fresh inputs: no upward trend (it dropped from ~398 MB to ~332 MB and came back to ~408 MB)
  • CPUExecutionProvider and CoreML CPUOnly: flat as well, apart from a single 10 MB step on CPUOnly

Differences from your setup: A18 Pro vs M4 Max, macOS 26.5 vs 27.0.1, Python 3.12 vs 3.10, and coco/38 vs coco/40 weights. So I can't tell which of those matters.

If you can share ort_loop.py, I'm happy to run it as-is on this machine so the comparison is exact.

Nishant-ZFYII avatar Oct 31 '26 22:10 Nishant-ZFYII

[Update: Actively reproducing the leak; full trace and details incoming once the current test finishes.]

Initial 300-second baseline on an M4 (10 cores, 16 GB), macOS 27.0.1 across coco/38 and coco/40 (7cbf2328597d16ce1e423f8af39db77eb42310cc83edf9c7dac7ca850f61545d, input [1,3,576,576]), ORT 1.21.1 / 1.31.1, and Python 3.10–3.12:

MLProgram CPUAndGPU (coco/40, Python 3.10.20, ORT 1.21.1):

  • 1,741 calls in 300 s showed periodic memory releases over a 5-minute window
    • +0.0949 MiB/s, 16.8 KiB/call, $R^2 = 0.044$ for $t \ge 30\text{ s}$
    • +0.3103 MiB/s, 54.9 KiB/call, $R^2 = 0.448$ for $t \ge 60\text{ s}$

Controls (CPUOnly and CPUExecutionProvider): Flat after initial warm-up.

(Note: Published ORT 1.31.1 wheels require Python $\ge 3.11$, so 1.31.1 runs used 3.11/3.12.)

davidnichols-ops avatar Nov 04 '26 00:11 davidnichols-ops

Follow-up: reproduced on M4 with longer runs

My earlier 300 s comparisons were too short: periodic memory releases hid the trend (R² ≈ 0.04 and 0.45). 15-minute runs show sustained growth.

Setup: M4 (10 cores, 16 GB), macOS 27.0.1, coco/40 weights, CoreML MLProgram, CPUAndGPU.

Growth (fit against completed calls, t ≥ 30 s):

Config Calls KiB/call R²
ORT 1.21.1, Py 3.10 10,875 69.4 0.996
ORT 1.31.1, Py 3.11 7,170 74.9 0.9999
5× ORT 1.21.1 runs (default threads, 1 thread, reused input) 51,540 total 69.4–76.7 —

This matches the reported 70–78 KB/call. A single reused input still grows, so fresh input allocation isn't required. RSS dropped several times while phys_footprint kept rising, so RSS alone can miss it.

Where it sits:

  • The Python heap stays flat, but live MPSNDArray objects rose from 3,888 to 75,090.
  • After session deletion and GC, leaks reported 219,544 blocks (105.4 MiB) rooted in an NSMutableArray tree of MPSNDArray / MPSTemporaryNDArray. A reused-input repeat gave 270,089 blocks (129.6 MiB).
  • A Python-free, ORT-free Objective-C++ control (one cached partition, synthetic input) also showed MPSNDArray counts climbing (11,766 to 68,070).

This points to Core ML/MPS retention, but doesn't identify the faulty retain site.

One control differs: the whole graph via ORT 1.21.1's standalone native library ran 4,243 calls with substantial releases and no steady growth. That doesn't implicate Python, since throughput and the ORT binary differ. Same-binary and rate-matched controls are in progress.

ORT already wraps CoreML predictions in an autorelease pool, so adding another isn't an established fix.

Not established: the exact retain site, whether growth is bounded over longer runs, or a mitigation.

@Nishant-ZFYII, thanks for the A18 Pro data. A 15+ minute run with matching weights may be worth trying. I'm happy to hand over my raw samples and leaks reports, and if you'd like to take the upstream onnxruntime report, please go ahead.

@yeldarby, could you attach ort_loop.py so I can run it unmodified? I'm also working on a smaller repro without RF-DETR weights. If it holds up, I'll share it here first, and whoever wants to file upstream is welcome to use it.

davidnichols-ops avatar Nov 05 '26 04:11 davidnichols-ops

Smaller repro: 687-byte weight-free graph, also reproduced in native Core ML

Following up on the smaller repro I mentioned: I reduced this to a 12-node, 687-byte ONNX attention graph with no learned weights. It needs no RF-DETR download or API key.

ORT 1.21.1 generated the Core ML model once. I then ran that compiled model through a direct Objective-C++ Core ML harness, without Python or an ORT runtime in the prediction process.

On the same M4 / macOS 27.0.1 (26A434), with reused inputs and a per-call autorelease pool:

  • CPUAndGPU: 1,508 predictions in 60 seconds. leaks --atExit reported 10,554 allocations / 5,186,240 bytes, rooted in 1,508 NSMutableArray instances.
  • CPUOnly: 1,470 predictions in the matched window; 0 leaks / 0 bytes reported. The GPU allocation stack passes through -[__NSArrayM mutableCopy] and -[MPSNDArrayScaledDotProductAttention encodePreProcessingToCommandEncoder:…]. This identifies an allocation path, not the exact faulty retain/release. The leak-tool exits were 1 for findings and 0, respectively; neither run was externally stopped.

A correction to my earlier native control: its flat 15-minute footprint fit did not mean it was leak-free. A separate whole-graph native exit scan found 78,862 allocations / 40,854,640 bytes with the same MPS attention allocation path. Large residency releases can mask retained objects.

The same-binary I/O-binding, immediate-output-deletion and lower-rate controls also showed rising memory ramps between releases, so none is an established workaround. A separate public MPSGraph single-SDPA test did not reproduce retention; graph lowering, layout and kernel selection remain candidate differences.

The attachments include the small ONNX graph, generated Core ML model, native harness, build/run instructions and targeted evidence. I've submitted the native reproducer and evidence to Apple as FB25449865.

@Nishant-ZFYII, if you're able to try this smaller graph on the A18 Pro/macOS 26.5 setup, that would remove the coco/38 versus coco/40 difference from the comparison. Happy to coordinate on the upstream ORT report as well.

The exact ownership fault, an OS regression and whether growth eventually becomes bounded remain unresolved.

issue-3302-coreml-models.zip

issue-3302-minimal-coreml-repro-draft.zip

davidnichols-ops avatar Nov 05 '26 17:11 davidnichols-ops

@yeldarby, here’s a workaround to try with the same coco/40 weights, keeping GPU enabled. Extract the attached helper ZIP, then run:

uv run --python 3.10 rewrite_k_scale.py /path/to/weights.onnx weights-k-scale.onnx

Have ort_loop.py load weights-k-scale.onnx, keeping ModelFormat=MLProgram and MLComputeUnits=CPUAndGPU. The script leaves the original untouched and verifies that the output matches my tested model. On my M4/macOS 27.0.1/ORT 1.21.1, the large growth disappeared over 15 minutes; a separate post-GC scan reported zero leaks. Output checks passed, but weren’t bit-identical.

coco40-k-scale-workaround.zip

davidnichols-ops avatar Nov 05 '26 21:11 davidnichols-ops

@davidnichols-ops I ran your repro and coco/40 on my A18 Pro.

Hardware:

  • MacBook Neo Mac17,5, 8 GB RAM
  • A18 Pro: 6-core CPU (2P+4E), 5-core GPU, Metal 4

Software:

  • macOS 26.5 25F71, coremlc 3520.5.1
  • onnxruntime 1.21.1, coremltools 9.0

Long runs were on AC power with pmset -g therm unchanged before and after.

Running your native_interventions harness on your ViewAttention.mlmodelc under leaks --atExit showed 0 leaks at 60s:

  • 1,638 calls on CPUAndGPU
  • 1,639 on CPUOnly

The graphics ledger at 53.97 MB under CPUAndGPU vs 0 on CPUOnly. Extending that to 15 minutes (900s) was also clean:

  • 23,217 calls on CPUAndGPU
  • 23,253 on CPUOnly, 0 leaks.

Since a flat result doesn't prove much on its own, I checked what was actually executing under lldb and heap. A breakpoint on -[MPSNDArrayScaledDotProductAttention encodePreProcessingToCommandEncoder:commandBuffer:sourceArrays:destinationArray:kernelDAGObject:] resolved to an address, but was never hit. Logging the classes on MPSNDArrayMultiaryKernel encodeToMPSCommandEncoder showed attention running as decomposed MatrixMultiplication, Identity, and StitchedReductionSoftmax kernels, with zero SDPA instances in heap. Since model.mil itself only has transpose / mul / matmul / softmax / matmul, the SDPA fusion has to happen at runtime, and on this setup it doesn't fuse (even when running your macOS 27 compiled .mlmodelc).

The real RF-DETR models behave the same way here. I tested coco/40 (your 7cbf2328... weights), coco/38 (Nano), and fresh exports of Nano, Small, and Medium (rfdetr 1.11.2 / torch 2.14.1) through ORT's CoreML EP (MLProgram + CPUAndGPU). In all of them, the SDPA breakpoint resolved with 0 hits, attention ran as MatrixMultiplication / Reduction / Softmax kernels (no SDPA in the kernel tally), and 60s runs had 0 leaks. A 15-minute run on coco/40 completed 3,243 inferences with 0 leaks under leaks --atExit and flat heap usage (288.55 MB at 60s vs 288.37 MB at 870s), so the coco/38 vs coco/40 weights difference doesn't matter on this machine.

To check whether the leak itself still exists on A18 / macOS 26.5 when the fused kernel is actually used, I built small MIL programs with coremltools that call mb.scaled_dot_product_attention directly on the same shapes ([4, 325, 1152], 6 heads of 64):

  • sdpa_contiguous: K is passed in contiguously. SDPA runs, encodePreProcessing returns the same input array pointer it was given, and a 60s run (1,442 calls) has 0 leaks. If your standalone MPSGraph single-SDPA test fed a contiguous K, that might explain why it didn't reproduce retention.
  • sdpa_transpose_then_scale: K is transposed to [4, 6, 64, 325], multiplied by a scalar, and transposed back to [4, 6, 325, 64] (the same transpose-then-scale order RF-DETR's export uses on K). Having the mul between the two transposes prevents MPSGraph from folding the adjacent transpose pair, so SDPA receives a non-contiguous K view.
  • sdpa_scale_then_transpose: Same graph, but with the mul moved before the transpose pair (matching your K-scale rewrite) so the transposes fold away.

Over 15-minute (900s) runs in native_interventions:

Model Calls Leaks Leaked bytes
sdpa_transpose_then_scale 23,785 190,276 97,420,800
sdpa_scale_then_transpose 23,697 0 0

So the underlying MPSNDArray SDPA leak is present on A18 Pro / macOS 26.5 as well. The difference I can see between our machines on the ONNX repro is whether CoreML fuses the decomposed attention ops into MPSNDArrayScaledDotProductAttention (which could come down to macOS 26.5 vs 27.0.1, A18 vs M4, or coremlc 3520.5.1 vs 3600.25.2).

In sdpa_transpose_then_scale, MPSTemporaryNDArray in heap climbs linearly over the 900s window with no plateau (1,662 -> 12,287 -> 23,174), leaking 8 objects of 512 B (~4 KB) per prediction (1 root NSMutableArray, 1 NSMutableArray (Storage), 2 MPSNDArray, 3 _parent --> MPSNDArray links, and 1 MPSTemporaryNDArray). The allocation stack goes through GPU::ScaledDotProductAttentionOpHandler::encodeNDArrayOp -> MPSNDArrayMultiaryKernel encodeToMPSCommandEncoder -> encodePreProcessingToCommandEncoder:... + 668. Breaking at entry (-K false) and comparing x4 (sourceArrays on entry) against x0 (return value on exit) shows why:

  • On sdpa_transpose_then_scale, x4 enters with the same pointer every time, and x0 returns a newly allocated array address on every encode.
  • On sdpa_scale_then_transpose (and sdpa_contiguous), x0 == x4 on every hit, so no copy is allocated and nothing leaks. That narrows it to the NSMutableArray returned by the non-contiguous K copy branch in encodePreProcessing, though I haven't found the missing release inside MPS either.

Running your rewrite_k_scale.py on coco/40 rewrote all 16 sites and produced the exact same SHA-256 (efacae4b...), with 17 CoreML partitions before and after, inference speed within ~2%, and CPU EP matching with IoU >= 0.953 (after matching the 300 queries by IoU). Interestingly, on 24 synthetic inputs (no real images), the rewritten coco/40 gave bit-identical CoreML EP outputs to the original here, while you saw small differences on your M4. That would fit A18 staying on the decomposed ops, but I haven't confirmed it. Looking at the fresh RF-DETR exports, every attention block has Mul(Transpose(K), Sqrt(...)) (14 sites in Nano, 15 in Small, 16 in Medium, with the scale computed via Sqrt <- Cast <- Div). This ordering comes from PyTorch's TorchScript ONNX exporter (dynamo=False), where symbolic_opset14's scaled_dot_product_attention decomposition emits Transpose(key) followed by Mul(key_transposed, Sqrt(scale)).

I attached issue-3302-a18-sdpa.zip (the probe kit, build_sdpa_models.py, the two standalone MIL .mlpackage zips and a README with the per-call breakdown; your upstream zips are not redistributed) and the three 900s leaks logs. After unpacking your two issue zips into upstream/, you can run using below commands:

issue-3302-a18-sdpa.zip

Leaks Logs: leaks-coco40-ort-900s.txt leaks-scale_then_transpose-900s.txt leaks-transpose_then_scale-900s.txt

cd upstream
unzip -q issue-3302-minimal-coreml-repro-draft.zip
unzip -q issue-3302-coreml-models.zip
cd ..

./setup.sh
.venv/bin/python make_models.py
.venv/bin/python probe_paths.py

# Optional: full coco/40 check (downloads ~132 MB from the public weights endpoint)
.venv/bin/python fetch_coco40.py
.venv/bin/python probe_coco40.py

(If you rebuild the models locally, CoreML generates fresh UUIDs on each save(), so raw file hashes will differ. The kit's make_models.py records mil_structure_sha256 in models/manifest.json for comparing structure.)

I also saw you filed microsoft/onnxruntime#33926 upstream. Happy to post these A18 Pro numbers there if useful, or feel free to link this comment.

Nishant-ZFYII avatar Nov 06 '26 14:11 Nishant-ZFYII

Hey @Nishant-ZFYII, thanks a lot for digging into this — really appreciate the thorough investigation.The forced-SDPA positive/negative pair is especially helpful.

It clearly shows the underlying leak is still present on macOS 26.5, while the clean ONNX runs are taking a different attention path. I think it’s worth keeping the door open on whether this is OS, hardware, or compiler related for now.Yes, please go ahead and post the A18 results + the kit link over on [microsoft/onnxruntime#33926]

I’ve also put together an Apple addendum for FB25449865 using your direct-MIL pair and the 900s logs (with credit to you).If you can attach the generated models/manifest.json, out/results.json, and the LLDB/heap captures, that would be great — they’d help preserve the kernel-selection and return-pointer evidence next to the leak totals. The exact missing ownership operation is still an open question on our side.

davidnichols-ops avatar Nov 06 '26 15:11 davidnichols-ops

@davidnichols-ops Attached issue-3302-a18-evidence.zip.

It has models/manifest.json, out/results.json, and the per-model LLDB (*-sdpa.txt), kernel tally, leaks, and heap logs, plus the coco/40 logs under out-coco40/.

Both toy models matched on this run:

  • sdpa_transpose_then_scale: x0 != x4 on all 4 hits, 12,396 leaks over 1,557 calls in 60s.
  • sdpa_scale_then_transpose: x0 == x4 on all 4 hits, 0 leaks.

The mil_structure_sha256 hashes for both toy models match the ones from the 900s logs.

Thanks for including this in the Apple addendum. I'll post the A18 results on microsoft/onnxruntime#33926 now.

issue-3302-a18-evidence.zip

Nishant-ZFYII avatar Nov 06 '26 23:11 Nishant-ZFYII

Nishant-ZFYII following up on your A18 Pro offer — I just put up the opt-in K-scale rewrite as a draft in microsoft/onnxruntime#33972. If you still have time to run a quick check on your Mac17,5 / macOS 26.5 setup before I mark it ready, these two runs would really help:

RF-DETR coco/40 via CoreMLExecutionProvider (MLProgram + CPUAndGPU) with the option on and off, just to confirm the rewrite is a clean no-op when SDPA doesn't fuse.

Your forced-SDPA MIL pair, to confirm the rewritten order still shows 0 leaks on 26.5.

Leak counts and a quick output diff check would be plenty. No rush at all, and thanks again for all the thorough testing on the A18!

davidnichols-ops avatar Nov 10 '26 22:11 davidnichols-ops

@davidnichols-ops I built #33972 from source at 5f346ab and ran both checks on the A18 Pro.

Setup:

  • MacBook Neo Mac17,5, macOS 26.5 25F71, coremlc 3520.5.1
  • onnxruntime built from the PR (--use_coreml, Release), Python 3.12 (main needs >= 3.11), numpy 2.2.6

Each run was 60s under leaks --atExit with MLProgram + CPUAndGPU, a fresh cache directory per variant, and the same fixed input (np.random.default_rng(0)) for every run.

With coco/40, both the off and on runs had 0 leaks (486 and 476 calls), 12 CoreML partitions with 913/959 nodes supported, and identical kernel tallies. The SDPA breakpoint resolved but was never hit in either. The rewrite changes the emitted MIL (below), but it doesn't change the execution path or outputs on this machine, as expected. The outputs were bit-identical between off and on for both dets and labels. Both differ from the CPU EP by the same amount (max abs 3.1e-4 on dets, 5.7e-4 on labels), so that gap was already there before the rewrite. The minimal 687-byte model showed the same thing: 0 leaks both ways (33,193 and 32,064 calls) and bit-identical outputs.

To make sure the rewrite was actually applied and not just skipped, I checked the emitted MIL. With the option on, the cache uses the _attention_layout_v2 path, and all 16 coco/40 sites have the mul before the transpose with a const fp32 scalar. Twelve of them use [0,2,3,1] and four use [1,2,3,0]. Interestingly, the raw ONNX only has [0,2,3,1], so the decoder's [1,2,3,0] comes from ORT's transpose optimizer, as the comment in your PR says. The minimal model has its one site rewritten.

Since ORT never reaches the fused kernel here, I reran the forced-SDPA MIL pair from the kit for the kernel side. It's built with coremltools, so it doesn't go through ORT:

Model Calls Leaks x0 vs x4
sdpa_transpose_then_scale 1,569 12,536 new array on all 4 hits
sdpa_scale_then_transpose 1,543 0 same array on all 4 hits

The K chain your PR emits for the minimal model matches sdpa_scale_then_transpose in op order, permutation, and const fp32 scalar. The direct MIL control still gives 0 leaks with that ordering on 26.5.

Two things I noticed while reading the emitted MIL, though I didn't measure an effect from either. The original transpose is still emitted even when the Mul was its only consumer, so it's left with nothing reading it (in the minimal model, transpose(perm=[0,2,3,1]) has no consumer with the option on). coremlc may drop it, but I haven't checked the compiled model. Also, in the RF-DETR export the K scale is Cast(Div(1, Sqrt(Cast(Slice(Shape(x)))))), so it only passes the constant-initializer check after ORT folds it. At the default optimization level it folds and all 16 sites match, but with graph optimizations disabled I'd expect the option to rewrite nothing.

I attached the logs, results.json and the K-chain excerpts. Happy to do a longer run with the option on if that helps before you mark it ready.

PFA:

pr-33972-a18-validation.zip

Nishant-ZFYII avatar Nov 11 '26 02:11 Nishant-ZFYII

Thanks @Nishant-ZFYII, this is exactly the cross-device check I needed before marking #33972 ready. The rewrite fires on all 16 coco/40 sites, outputs are bit-identical off vs on, and the forced-SDPA pair goes 12,536 leaks to 0 with scale-then-transpose. A longer option-on run would be great, and I'll wait on it. I'll fix the dangling transpose in a follow-up commit and document that the match depends on constant folding (no rewrite with optimizations disabled). Zip received, thank you

davidnichols-ops avatar Nov 11 '26 16:11 davidnichols-ops

Status update for #3302 now that #3384 has merged:

  • Inference stopgap: roboflow/inference#3402 adds a default-off option, INFERENCE_MODELS_COREML_KEY_SCALE_WORKAROUND, that moves the RF-DETR key scaling before the transpose so CoreML no longer leaks. It builds on #3384's cache, lock, and fallback. On an M4 with ORT 1.31.1, coco/40 went from ~60 MB leaked to 0, with all 12 CoreML partitions kept and matching outputs.
  • ONNX Runtime fix: microsoft/onnxruntime#33972 (draft) adds the same rewrite as a CoreML execution provider option, so any ORT user can turn it on.
  • Apple: reported as FB25449865. The root cause is in Metal's fused attention (MPS SDPA).

Exit path: once an ORT release ships the onnxruntime#33972 option, Inference turns that option on and removes its own rewrite. Once Apple ships a fix in macOS, the ORT option can go too. I'll re-check the leak on each ORT and macOS release and open the removal PRs myself.

davidnichols-ops avatar Nov 12 '26 18:11 davidnichols-ops