Skip to content

transformers@4.0.0-next.7 in Safari: no available backend found. ERR: [webgpu] #1604

@tomayac

Description

@tomayac

System Info

Granite Speech WebGPU demo at https://huggingface.co/spaces/webml-community/granite-4.0-1b-speech-webgpu

Environment/Platform

  • Website/web-app
  • Browser extension
  • Server-side (e.g., Node.js, Deno, Bun)
  • Desktop app (e.g., Electron)
  • Other (e.g., VSCode extension)

Description

Loading the above demo on Safari Version 26.4 (21624.1.16.11.4) or Safari Tech Preview Release 239 (WebKit 21625.1.8.19.1) throws:

no available backend found. ERR: [webgpu] TypeError: Ue().webgpuInit is not a function. (In 'Ue().webgpuInit(s=>{t.webgpu.device=s})', 'Ue().webgpuInit' is undefined)

Reproduction

  1. Go to https://huggingface.co/spaces/webml-community/granite-4.0-1b-speech-webgpu.
  2. Click the Load Model button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions