Gauthier Lambert
Gauthier Lambert
+1, @sebastien-lempens thanks for the solution!
After testing, I confirm that the bug persists in transformers.js v3.4.0.
In my setup: On installing v3.4.0, and debugging the env, the env.backends is undefined on starting my worker that initialises the model and makes inferences. I can add env.backends.onnx.numThreads =...
That indeed fixes the issue @fs-eire . Thanks!
I tested A (with the 2 files from the example repo) and B. Both solve the issue.