onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

[Web] requested dist/*.mjs files for cdnjs

Open jozefchutka opened this issue 1 year ago • 1 comments

Describe the issue

Not sure you are also maintaining cdnjs (and other cdns) but I have opened a PR https://github.com/cdnjs/packages/pull/1870

starting v 1.19.0 the /dist in npmjs and jsdelivr contains runtime important .mjs files, while these are not yet on cdnjs

Solving runtime errors:

GET https://cdnjs.cloudflare.com/ajax/libs/onnxruntime-web/1.19.0/ort-wasm-simd-threaded.jsep.mjs 404 (Not Found)

Please check if I am not missing anything important or close this issue.

To reproduce

  1. use onnruntime-web from cdnjs
  2. get 404 for https://cdnjs.cloudflare.com/ajax/libs/onnxruntime-web/1.19.0/ort-wasm-simd-threaded.jsep.mjs

Urgency

Critical as this throws critical runtime errors when using 1.19.0 from cdnjs

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.19.0

Execution Provider

'webgpu' (WebGPU)

jozefchutka avatar Aug 19 '24 05:08 jozefchutka

thank you for reporting this issue. I am not aware of this problem because I assume the CDN should automatically work (and this is what jsdelivr does).

Since you already opened a PR there, is there anything that I can do from my side?

fs-eire avatar Aug 29 '24 09:08 fs-eire

That PR seem to need a reviewer, but I guess it shall be someone from cdnjs team? Other than that, just make sure other CDNs that host onnxruntime provide all the necessary files, else the recent versions are just unusable from CDN.

jozefchutka avatar Sep 02 '24 06:09 jozefchutka

Applying stale label due to no activity in 30 days

Applying stale label due to no activity in 30 days