Skip to content

Add ONNX Runtime 1.25.1 C++ module wrapper and runnable template - #1

Merged
Sunrisepeak merged 12 commits into
mainfrom
feat/mwrap-onnxruntime
Oct 24, 2026
Merged

Sunrisepeak merged 12 commits into
mainfrom
feat/mwrap-onnxruntime

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Add ONNX Runtime 1.25.1 C/C++ APIs through mcpplibs.mwrap.onnxruntime, preserving Ort:: and C API names and SDK type identities. The independent official CPU SDK provider owns headers, shared runtime, ABI constraints and deployed LICENSE/ThirdPartyNotices.

  • Root, .config and .macros interfaces expose the SDK surface; preprocessing uses the textual bridge. The default project template executes an embedded Identity model without user assets.
  • Linux x86_64 glibc, Windows x86_64 MSVC ABI and macOS ARM64 are supported. GPU providers, musl and MinGW need separate SDKs. Linux selects a toolchain-coupled C++ runtime and tests typed exception behavior.
  • English and Chinese READMEs follow the reviewed layout: one-sentence introduction, one navigation line, badges, core module imports before quickstart and More Modules API documentation.
  • First mwrap package version equals upstream 1.25.1. The independent mwrap-1.25.1 tag avoids rewriting historical releases. Index PR #564 provides flat pkgs/mwrap/onnxruntime.lua and the official SDK provider; source and SDK CN mirrors are verified independently.

Validation at exact PR head 45073fc979c8091f9d94988ea973e634fa5728ff: all four native CI jobs pass, including actual template inference. Local cold SDK installation, complete wrapper tests, export audit and generated Identity inference pass. Two candidate-archive downloads match every tracked file. Official SDK archives for all three platforms were downloaded twice, include their notices and match publicly fetched GitCode mirror bytes.

Self-review: checked upstream/SDK version, exported original types, runtime/exception boundary, exact dependency identity, template rendering, bilingual links, source/archive bytes and unsupported-provider scope. No engine changes. Squash merge is followed by exact main-commit CI before tag/release; formal indexed-archive relocation and public-index installation remain ecosystem publication gates.

@Sunrisepeak Sunrisepeak changed the title Add ONNX Runtime CPU modules and executable project template Unify mwrap.onnxruntime identity and upstream 1.25.1 first release Oct 24, 2026
@Sunrisepeak Sunrisepeak changed the title Unify mwrap.onnxruntime identity and upstream 1.25.1 first release Add ONNX Runtime 1.25.1 C++ module wrapper and runnable template Oct 24, 2026
@Sunrisepeak
Sunrisepeak marked this pull request as ready for review October 24, 2026 22:55
@Sunrisepeak
Sunrisepeak merged commit 98b7cc3 into main Oct 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant