Skip to content

Commit a536b8d

Browse files
committed
allow using 'webgpu' in nodejs binding
1 parent 5b5e5ed commit a536b8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backends/onnx.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ if (ORT_SYMBOL in globalThis) {
8383
break;
8484
}
8585

86+
supportedDevices.push('webgpu');
8687
supportedDevices.push('cpu');
8788
defaultDevices = ['cpu'];
8889
} else {

0 commit comments

Comments
 (0)