Closed
Description
Describe the issue
env
- arm64
- macOS (Sonoma 14.3)
- npm version : 11.1.0
- node v23.7.0
- [email protected] (no issue on 1.20.1 version)
- @huggingface/[email protected]
description
when importing onnxruntime-node and @huggingface/transformers, onnxruntime makes segmentation fault or bus error and prints the following error message
libc++abi: terminating due to uncaught exception of type onnxruntime::OnnxRuntimeException: /Users/runner/work/1/s/onnxruntime/core/session/ort_env.cc:92 static void OrtEnv::Release(OrtEnv *) env_ptr == p_instance_.get() was false.
zsh: abort node index.js
screenshots(only import):
screenshots(load model after import):
To reproduce
Urgency
No response
Platform
Mac
OS Version
Sonoma 14.3
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
ONNX Runtime API
JavaScript
Architecture
ARM64
Execution Provider
Default CPU
Execution Provider Library Version
No response