Open fs-eire opened 2 weeks ago
Per my understanding, onnxruntime-web is more like the default one, while onnxruntime-web/ are for specific usages. Can we leave onnxruntime-web/webgpu as is (for symmetry), and have onnxruntime-web (without /) map to the files for onnxruntime-web/webgpu (ort.webgpu.*)? Furthermore, can we rename onnxruntime-web to onnxruntime, as we already know it will be used on the web. This could be another breaking change.
Per my understanding, onnxruntime-web is more like the default one, while onnxruntime-web/* are for specific usages. Can we leave onnxruntime-web/webgpu as is (for symmetry), and have onnxruntime-web (without /) map to the files for onnxruntime-web/webgpu (ort.webgpu.)? Furthermore, can we rename onnxruntime-web to onnxruntime, as we already know it will be used on the web. This could be another breaking change.
One reason that I want to deprecate ort.webgpu.min.js is because it is actually JSEP, not webgpu. JSEP build contains webgpu and webnn and is based on wasm. "onnxruntime-web/webgpu" will be kept in a few version anyway so we can decide whether to remove it or not then
Description
This PR changes the following exports:
onnxruntime-web
now is same toonnxruntime-web/webgpu
.onnxruntime-web/webgpu
is deprecating.Migration instructions:
onnxruntime-web
instead ofonnxruntime-web/webgpu
.onnxruntime-web/wasm
if want to use onnxruntime-web without webgpu/webnn.Export table
ort.all.js
ort.all.min.mjs
ort.all.mjs
onnxruntime-web/all
ort.js
ort.min.mjs
ort.mjs
onnxruntime-web
ort.webgpu.js
ort.webgpu.min.mjs
ort.webgpu.mjs
onnxruntime-web/webgpu
ort.wasm.js
ort.wasm.min.mjs
ort.wasm.mjs
onnxruntime-web/wasm