**Bug report**-When opening the experimental Phi-3 WebGPU Space, model initialization starts normally ("Compiling shaders and warming up model..."), but inference fails with the following error:

#11
by konul9 - opened

Screenshot 2026-03-26 002052

Uncaught (in promise) TypeError: A float16 tensor's data must be type of Float16Array

After that, the UI throws a secondary error:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'sentence')

Additional ONNX Runtime warning shown:

Some nodes were not assigned to the preferred execution providers...

Environment:

  • Browser: Chrome
  • WebGPU status: Hardware accelerated
  • WebGL status: Hardware accelerated
  • Canvas / Rasterization: Hardware accelerated

This suggests the issue is not lack of WebGPU support, but likely an FP16 tensor / ONNX Runtime Web / frontend compatibility issue during inference.

Sign up or log in to comment