Skip to content

Commit

Permalink
Freeze onnxruntime dependencies (huggingface#124)
Browse files Browse the repository at this point in the history
Their latest version has a few issues, particularly with webgpu, and also uses .wasm files which are incompatible with their previous versions.

So, while those issues are sorted out, it's best to freeze their packages to the latest stable version.
  • Loading branch information
xenova committed May 29, 2023
1 parent d7c353d commit ac23bc5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
},
"homepage": "https://github.com/xenova/transformers.js#readme",
"dependencies": {
"onnxruntime-web": "^1.14.0",
"onnxruntime-web": "1.14.0",
"sharp": "^0.32.0"
},
"optionalDependencies": {
"onnxruntime-node": "^1.14.0"
"onnxruntime-node": "1.14.0"
},
"devDependencies": {
"@types/jest": "^29.5.1",
Expand Down Expand Up @@ -76,4 +76,4 @@
},
"jsdelivr": "./dist/transformers.min.js",
"unpkg": "./dist/transformers.min.js"
}
}

0 comments on commit ac23bc5

Please sign in to comment.