Modules

Libraries

ONNX Runtime Web

onnxruntime-web@1.27.0

ONNX inference runtime (WASM + WebGPU), the base for model packs.

Version
1.27.0
License
MIT
Size
3.5 MB

Add it

Declare it in prototir.json at the root of your ZIP. Prototir checks the version at upload and adds it to the page's import map.

prototir.json
{
  "modules": [
    "onnxruntime-web@1.27.0"
  ]
}

Then import it by name, from 'onnxruntime-web', as you would from npm.

Reference

Prototir serves the library unchanged, so its own documentation applies.

ONNX Runtime Web documentation

Versions

Every version stays available, so a prototype keeps working exactly as published. Declare the one you tested with.

  • onnxruntime-web@1.27.0
  • onnxruntime-web@1.20.1

As JSON: /modules/onnxruntime-web.json. Source: npm:onnxruntime-web.