-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Description
Hey there, I tried running the WebGPU demo but I end up getting an error when I hit "generate".
I'm running this under x86_64 linux with wayland with WebGPU using the Vulkan backend.
This is the stack trace:
worker-BKr81zhZ.js:8 Uncaught (in promise) TypeError: A float16 tensor's data must be type of function Float16Array() { [native code] }
at new U (worker-BKr81zhZ.js:8:18990)
at new U (worker-BKr81zhZ.js:2768:70178)
at A.addPastKeyValues (worker-BKr81zhZ.js:2763:36035)
at A.W [as _forward] (worker-BKr81zhZ.js:2763:21495)
at A.forward (worker-BKr81zhZ.js:2763:28162)
at A.generate (worker-BKr81zhZ.js:2763:34392)
at J_.generate (worker-BKr81zhZ.js:2774:943)
at nm.generate (worker-BKr81zhZ.js:2778:625)
at worker-BKr81zhZ.js:2778:2410
As well here's a screenshot from the debugger's stack

Is this a case of the example being out of date or is there something I should change on my end in the browser flags to fix this?
Metadata
Metadata
Assignees
Labels
No labels