You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that after upgrading onnxruntime, multithreading will encounter exceptions, which may affect transformers
Should dependency be downgraded? Version 1.20.1 works normally
import path from 'path';
import { Worker } from 'worker_threads';
(() => {
let url = path.join(__dirname, './worker.mjs');
let instance = new Worker(url);
instance.postMessage(1);
let instance2 = new Worker(url);
instance2.postMessage(1);
})();
System Info
windows 10 / transformers 3.5.0
Environment/Platform
Description
microsoft/onnxruntime#24486
I found that after upgrading onnxruntime, multithreading will encounter exceptions, which may affect transformers
Should dependency be downgraded? Version 1.20.1 works normally
Reproduction
worker
index
model
https://github.com/microsoft/onnxruntime-inference-examples/blob/main/js/quick-start_onnxruntime-node/model.onnx
work on 1.20.1
failed on 1.21.1 1.21.0
The text was updated successfully, but these errors were encountered: