Skip to content

Commit a8318db

Browse files
authored
Pin onnx dependencies on package level (#641)
1 parent 2d1dd5c commit a8318db

File tree

5 files changed

+324
-61
lines changed

5 files changed

+324
-61
lines changed

.changeset/unlucky-lemons-turn.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@livekit/agents-plugin-livekit": patch
3+
"@livekit/agents-plugin-silero": patch
4+
---
5+
6+
Pin onnx dependencies on package level

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
"name": "@livekit/agents-monorepo",
33
"private": true,
44
"type": "module",
5-
"pnpm": {
6-
"overrides": {
7-
"onnxruntime-node": "1.21.1",
8-
"onnxruntime-common": "1.21.1"
9-
}
10-
},
115
"scripts": {
126
"build": "turbo run build",
137
"clean": "turbo run clean",

plugins/livekit/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636
"devDependencies": {
3737
"@livekit/agents": "workspace:*",
3838
"@microsoft/api-extractor": "^7.35.0",
39-
"onnxruntime-common": ">=1.19.0 <1.22.0",
39+
"onnxruntime-common": "1.21.0",
4040
"tsup": "^8.3.5",
4141
"typescript": "^5.0.0"
4242
},
4343
"peerDependencies": {
4444
"@livekit/agents": "workspace:*"
4545
},
4646
"dependencies": {
47-
"@huggingface/hub": "^2.4.0",
48-
"@huggingface/transformers": "^3.2.1",
49-
"onnxruntime-node": ">=1.19.2 <1.22.0"
47+
"@huggingface/hub": "2.4.1",
48+
"@huggingface/transformers": "3.7.2",
49+
"onnxruntime-node": "1.21.0"
5050
}
5151
}

plugins/silero/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
"@livekit/rtc-node": "^0.13.12",
3939
"@microsoft/api-extractor": "^7.35.0",
4040
"@types/ws": "^8.5.10",
41-
"onnxruntime-common": ">=1.19.0 <1.22.0",
41+
"onnxruntime-common": "1.21.0",
4242
"tsup": "^8.3.5",
4343
"typescript": "^5.0.0"
4444
},
4545
"dependencies": {
46-
"onnxruntime-node": ">=1.19.0 <1.22.0",
46+
"onnxruntime-node": "1.21.0",
4747
"ws": "^8.16.0"
4848
},
4949
"peerDependencies": {

0 commit comments

Comments
 (0)