You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to create an inference session with a minimal model that casts input from fp32 into fp8 and back again, the wasm._OrtCreateSession fails with
Can't create a session. ERROR_CODE: 10, ERROR_MESSAGE: This is an invalid model. Type Error: Type 'tensor(float8e4m3fn)' of input parameter (_to_copy) of operator (Neg) in node (node_Neg_1) is invalid.
Describe the issue
When trying to create an inference session with a minimal model that casts input from fp32 into fp8 and back again, the wasm._OrtCreateSession fails with
negf8.html
To reproduce
Running the attached html file (uploaded as markdown) will attempt to create an inference session with a model that uses FP8 precision for casting.
Urgency
No response
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
v1.20.1
Execution Provider
'wasm'/'cpu' (WebAssembly CPU)
The text was updated successfully, but these errors were encountered: