Skip to content

[Web] WebGPU backend on Safari fails to initialise TypeError: undefined is not an object (evaluating 'e.subgroupMinSize') #26480

@aleksanderkatan

Description

@aleksanderkatan

Describe the issue

I tracked the issue to device.adapterInfo being straight up undefined on Safari (Version 26.0.1 (20622.1.22.118.4)).
https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/adapterInfo

To reproduce

import * as ort from 'onnxruntime-web/webgpu';

const session = await ort.InferenceSession
  .create('/path/to/model/2netp.onnx', {
    executionProviders: ['webgpu'],
  });

Model I used is 2netp.onnx, https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2netp.onnx

Urgency

It's not urgent.

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.23.0-dev.20250917-21fbad8a65

Execution Provider

'webgpu' (WebGPU)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ep:WebGPUort-web webgpu providerplatform:webissues related to ONNX Runtime web; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions