Repository navigation
Bump Microsoft.ML.OnnxRuntime from 1.30.0 to 1.31.0 - #1710
vincentkoc merged 1 commit into
Conversation
--- updated-dependencies: - dependency-name: Microsoft.ML.OnnxRuntime dependency-version: 1.31.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
|
Codex review: needs real behavior proof before merge. What this changesThis PR updates Microsoft.ML.OnnxRuntime from 1.30.0 to 1.31.0 in the shared library. Example: Preview a downloaded Piper voice with the text "Hello from OpenClaw".
Review scores
ProductKind: Maintenance · Worth it: Yes Merge readiness⛔ Blocked before merge - 3 items remain This PR remains useful because main and the latest release still use 1.30.0; no concrete introduced defect was established. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe shared package supplies managed ONNX inference and native libraries used by the speech stack; models and input tensors produce speech probabilities or synthesized audio, while current microphone capture uses managed energy detection. flowchart LR
A[NuGet package reference] --> B[Shared library]
B --> C[ONNX managed and native runtime]
C --> D[Silero model inference]
C --> E[Piper native speech engine]
E --> F[Local audio playback]
Technical reviewBest possible solution: Land the narrow dependency update with native telemetry suppressed or verified to preserve the existing privacy contract. Do we have a high-confidence way to reproduce the issue? This dependency-maintenance PR reports no application bug; source inspection establishes the version change but does not reproduce unintended telemetry from the shipped artifact. Is this the best way to solve the issue? Updating the existing reference is the narrowest maintenance path, provided the native runtime preserves local speech and the telemetry privacy boundary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 817b0b586c1e. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: unit tests only. SecurityNeeds attention: The native telemetry privacy boundary needs package-specific verification. EvidenceSecurity concerns:
What I checked:
Likely related people:
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 14, 2026, 12:37 AM ET / 04:37 UTC (Revision 2). |
|
Package-specific review evidence for head The Windows DLLs in the official
Both import I also inspected the preceding 1.30.0 package: both Windows DLLs have the same ETW markers and lack the same 1DS markers. Its x64 SHA-256 is This is native-artifact and source proof, not a packet-capture claim. ETW is Windows-owned diagnostics; any broader audit of its existing consent policy is a separate follow-up. The rank-up request to clear a configured endpoint and inspect pending 1DS uploads does not exercise the absent 1DS backend in these Windows assets. No speculative suppression setting or application behavior change has been added. The one failed-only CI rerun is attempt 2 of the exact-head run. The run completed successfully: Core/CLI, Functional UI, Tray UI, accessibility, and the aggregate CI gate all passed. No release, tag, or package publication has been requested. |
Updated Microsoft.ML.OnnxRuntime from 1.30.0 to 1.31.0.
Release notes
Sourced from Microsoft.ML.OnnxRuntime's releases.
1.31.0
ONNX Runtime 1.31.0 stabilizes model-package and EPContext data APIs, improves CPU model loading and quantized MoE inference, expands device-based execution-provider selection, and strengthens model-loading and runtime reliability. These notes cover changes since ONNX Runtime 1.30.0. CUDA and WebGPU kernel updates are summarized here; detailed provider notes are covered by their separate plugin EP releases.
Highlights
PREFER_NPU(#31975).Announcements & Compatibility
GatherBlockQuantizedbehavior change: out-of-range indices now produce zero output slices across CPU, CUDA, and WebGPU for both integer and floating-point quantized formats. This deliberately differs from ONNXGathererror semantics (#32480).OrtApi::GetModelPackageApiand the stableOrtModelPackageApitable. EPContext callback registration now uses stable APIs; the corresponding experimental lookup entries were removed. The stable native callback contract carries callback/state pointers, with payload limits enforced by application callbacks, bindings, or EPs rather than a native read-options policy (#33166, #32265).--use_aclnow receive a deprecation warning (#32564).--use_windows_telemetryoronnxruntime_USE_WINDOWS_TELEMETRY=ON; telemetry can be disabled with--no_telemetry(#32384).New Features
Core APIs & Runtime
session.strict_workspace_verification=1to fail initialization on workspace declaration overruns or nonzero orphaned reservations; strict verification is not supported for ORT-format model loads (#31962, #32189).onnxruntime_DISABLE_DEVICE_DISCOVERY=ONto skip platform accelerator probing and report only the CPU device (#32592).Shared Contrib Operators
These updates affect core operator schemas and cross-provider behavior, not only the separately released GPU plugins.
EngramGateandNGramHashMappingfor Qwen4-Exp, and addedVarlenNGramHashMappingfor packed DeepSeek Engram batching with request-local history. Packed hashing also supports Qwen4-Exp head offsets, EOS resets, and segment boundaries (#32285, #32358, #32467).activationattribute toGatedRMSNormfor SiLU, its Swish alias, and Sigmoid gating across CPU, CUDA, and WebGPU. SiLU remains the default (#32512).BranchwiseRMSNorm,ScaledSiLU,HyperConnectionPreMix, andHyperConnectionPostMix, with CPU, CUDA, and WebGPU implementations (#32687).GatherBlockQuantizedto FP8/FP4 data, full-axis blocks, and scale broadcasting, and improved CPU UINT8 dequantization. See the out-of-range-index behavior change above (#32480, #32621).Plugin Execution Provider Infrastructure
Execution Provider Updates
CUDA EP
CUDA updates include sparse attention and packed continuous batching, expanded paged speculative decoding, INT2 and mixed-width QMoE execution, opt-in MatMul auto-tuning, improved MXFP4 support on Blackwell consumer GPUs, and reliability fixes.
... (truncated)
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)