-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
api:Javascriptissues related to the Javascript APIissues related to the Javascript APImodel:transformerissues related to a transformer model: BERT, GPT2, Hugging Face, Longformer, T5, etc.issues related to a transformer model: BERT, GPT2, Hugging Face, Longformer, T5, etc.platform:webissues related to ONNX Runtime web; typically submitted using templateissues related to ONNX Runtime web; typically submitted using template
Description
Describe the issue
env
- arm64
- macOS (Sonoma 14.3)
- npm version : 11.1.0
- node v23.7.0
- onnxruntime-node@1.21.0 (no issue on 1.20.1 version)
- @huggingface/transformers@3.4.0
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
onnxruntime-node@1.21.0
ONNX Runtime API
JavaScript
Architecture
ARM64
Execution Provider
Default CPU
Execution Provider Library Version
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api:Javascriptissues related to the Javascript APIissues related to the Javascript APImodel:transformerissues related to a transformer model: BERT, GPT2, Hugging Face, Longformer, T5, etc.issues related to a transformer model: BERT, GPT2, Hugging Face, Longformer, T5, etc.platform:webissues related to ONNX Runtime web; typically submitted using templateissues related to ONNX Runtime web; typically submitted using template



