unsupported model IR version: 9, max supported IR version: 8
#1
by
eciachandel
- opened
if you see this error while running t5-base-grammar-correction model using transformer.js, or any other model for that matter,
you need to overrride onnxruntime-node
in package.json like this (i am using "@xenova/transformers": "^2.17.2")-
"overrides": {
"onnxruntime-node": "1.16.0"
}
I had to do
"overrides": {
"onnxruntime-node": "1.14.0",
"onnxruntime-web": "1.14.0"
}
and then specify: env.backends.onnx.wasm.wasmPaths = 'https://cdn.jsdelivr.net/npm/[email protected]/dist/';
then it worked, but broke all other Xenova pipelines and had about 100 console errors. Any chance they'll update this model?