芯门尽启,双架同舟贯九十一径 - #8
Merged
Merged
Conversation
建立 provider-neutral InferenceSession,并为检测与识别 session 分别记录 provider、模型哈希、精度、shape、runtime、cache 与 fallback。 保持 CPU/FP32 默认行为和旧 executionProvider 字段不变;未资格审查的加速器与无效策略组合稳定失败。 Refs #4
移除依赖 GitHub 托管加速器的重型资格工作流,将 placement、质量、性能、缓存和生命周期 Gate 固化为本机真实 Apple Silicon 流程。\n\n当前仅允许完整通过 Gate 的 Apple M4 加速,新增设备身份采集与未资格设备 CPU 回退证明,并同步更新资格合同、发布校验和文档。
接受由本机 M4 Max 真机报告生成的 Apple provider baseline,锁定模型、placement、质量、性能、缓存、生命周期与回退证据哈希。\n\n当前加速 allow-list 仅含 Apple M4;其他设备族保持可审计的 CPU fallback,新增设备族须重新完成本地真机资格流程。
功能分支仅由 pull_request 触发,push 仅保留 main;同一 PR 的新提交会取消旧运行,避免重复消耗免费 runner。
将生产 Core ML 策略改为 open-macos,允许 macOS 15+ 的 arm64 与 x86_64 设备显式尝试加速。 保留 M4 为已验证性能证据,通过 deviceValidated 区分其余 Mac 的实验兼容状态;Intel 使用 CPU+GPU 路由。 同步更新 bundle schema、C++/Node 诊断、资格工具、测试与文档。 Refs #4
仅在 Core ML 构建中声明 Apple 设备准入状态,修复 Linux 等 CPU-only 平台的 Werror 未使用变量失败。
birhantprkc
pushed a commit
to birhantprkc/light-ocr
that referenced
this pull request
Jul 29, 2026
* feat(runtime): 星桥初架,双路推理各明归程 建立 provider-neutral InferenceSession,并为检测与识别 session 分别记录 provider、模型哈希、精度、shape、runtime、cache 与 fallback。 保持 CPU/FP32 默认行为和旧 executionProvider 字段不变;未资格审查的加速器与无效策略组合稳定失败。 Refs arcships#4 * feat(apple): 芯河贯夜,九十一径尽归双途 * ci(apple): 云舟初渡,双芯共验九十一径 * fix(build): 云外收锋,异域编译不闻虚警 * feat(apple): 云外息烽,真机独照芯途 移除依赖 GitHub 托管加速器的重型资格工作流,将 placement、质量、性能、缓存和生命周期 Gate 固化为本机真实 Apple Silicon 流程。\n\n当前仅允许完整通过 Gate 的 Apple M4 加速,新增设备身份采集与未资格设备 CPU 回退证明,并同步更新资格合同、发布校验和文档。 * chore(apple): 芯印既定,玉册独照四代 接受由本机 M4 Max 真机报告生成的 Apple provider baseline,锁定模型、placement、质量、性能、缓存、生命周期与回退证据哈希。\n\n当前加速 allow-list 仅含 Apple M4;其他设备族保持可审计的 CPU fallback,新增设备族须重新完成本地真机资格流程。 * ci(core): 云舟减棹,分支一检不重航 功能分支仅由 pull_request 触发,push 仅保留 main;同一 PR 的新提交会取消旧运行,避免重复消耗免费 runner。 * feat(apple): 芯门尽启,双架同舟渡 将生产 Core ML 策略改为 open-macos,允许 macOS 15+ 的 arm64 与 x86_64 设备显式尝试加速。 保留 M4 为已验证性能证据,通过 deviceValidated 区分其余 Mac 的实验兼容状态;Intel 使用 CPU+GPU 路由。 同步更新 bundle schema、C++/Node 诊断、资格工具、测试与文档。 Refs arcships#4 * fix(build): 无芯之境,收却虚旗 仅在 Core ML 构建中声明 Apple 设备准入状态,修复 Linux 等 CPU-only 平台的 Werror 未使用变量失败。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
devicePolicy: open-macos:macOS 15+ 的 arm64 与 x86_64 均可显式请求 Apple provider,不再以设备证据列表作为运行白名单Apple M4为当前唯一已审阅性能证据,通过 C++/Node 的deviceValidated区分正式实证与其他 Mac 的实验兼容CPUAndGPU,不宣称 ANE;仅接受cpuPartition: allow,strict GPU-only 模式保持 Apple-Silicon-only支持与证据边界
deviceValidated=false,不承诺加速倍数sessionFallback: cpu继续提供稳定的整 session 回退validated-only仅保留给受控部署与回退测试;npm 生产 bundle 固定使用open-macosCI 资源策略
M4 Max 本机真机验收
5ac8e117…2788;Apple M4是 evidence,不是运行 allow-list本次回归验证
deviceValidated=true、无 session fallbackvalidated-only:排除 M4 后稳定回退 ONNX Runtime CPU,canary 保持HELLO 123open-macos、architectures: [arm64, x86_64]、validatedDeviceFamilies: [Apple M4]git diff --check通过Refs #4