microsoft / microsoft/onnxruntime-inference-examples

The onnx model can't be loaded on the front end, which uses the react architecture

Open
#427 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.7k
Forks
414
Avg merge
1d 6h
Merged PRs (30d)
14

Description

failed to inference ONNX model: Error: no available backend found. ERR: [wasm] RuntimeError: Aborted(CompileError: WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 3c 21 44 4f @+0). Build with -sASSERTIONS for more info., [cpu] Error: previous call to 'initializeWebAssembly()' failed., [xnnpack] Error: previous call to 'initializeWebAssembly()' failed..failed to inference ONNX model: Error: no available backend found. ERR: .
failed to inference ONNX model: Error: no available backend found. ERR: .

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the React front-end inference entry point and reproducing the reported ONNX loading error. Check why the WASM backend receives invalid content; done means the model loads and inference completes without the reported no-backend errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, wasm
Domain
frontend, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.