Skip to content

Commit

Permalink
Update examples/webgpu-embedding-benchmark/main.js
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Nogueira <[email protected]>
  • Loading branch information
xenova and felladrin authored Mar 13, 2024
1 parent 9371df8 commit d24f764
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/webgpu-embedding-benchmark/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ if (!navigator.gpu) {
throw Error(err);
}

// Proxy the WASM backend to prevent the UI from freezing
env.backends.onnx.wasm.wasmPaths = 'https://cdn.jsdelivr.net/npm/[email protected]/dist/';
env.backends.onnx.wasm.numThreads = 1;

Expand Down

0 comments on commit d24f764

Please sign in to comment.