Skip to content

WebGPU error in chromium 135 #75

@RangerMauve

Description

@RangerMauve

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

Image

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions