davidnichols-ops

Results comments of davidnichols-ops

[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...

**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...

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...

@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 ```...

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...

Nishant-ZFYII following up on your [A18 Pro offer](https://github.com/microsoft/onnxruntime/issues/33926#issuecomment-6699131706) — 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...

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...

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...

Closing this out: [`inference_server/docs/legacy_env.md`](https://github.com/roboflow/inference/blob/main/inference_server/docs/legacy_env.md) now lists `USE_PYTORCH_FOR_PREPROCESSING` as legacy-only (`legacy ORT preprocessing`, not read by the `inference_server` / `inference_models` stack), so changing the legacy default doesn't make sense.

Adding a data point from cross-backend conformance testing. Under the configuration tested (Apple M4, coremltools 9.0, PyTorch 2.13.0, fp16 conversion with ComputeUnit.ALL), we observe architecture-dependent fp16 sensitivity consistent with what...