Skip to content

OrtRun failed with WebGPU buffer error on Apple M1 Max #1

@bdim404

Description

@bdim404

Description

After loading the model, any inference attempt fails immediately with:

Something went wrong: failed to call OrtRun(). ERROR_CODE: 1, ERROR_MESSAGE:
/mnt/vss/_work/1/s/onnxruntime/core/providers/webgpu/buffer_manager.cc:543
status == wgpu::MapAsyncStatus::Success was false.
Failed to download data from buffer: Failed to execute 'mapAsync' on 'GPUBuffer':
[Invalid Buffer (unlabeled)] is invalid due to a previous error.

Environment

  • OS: macOS (Darwin 25.4.0)
  • GPU: Apple M1 Max (Metal 4)
  • Browser: Chrome (WebGPU enabled)
  • Model: gemma-4-E2B (default)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions