Open xenova opened 4 days ago
When attempting to run https://huggingface.co/onnx-community/rtdetr_r50vd on WebGPU, I receive the following error:
JSFiddle: https://jsfiddle.net/j8uc3k91/
const url = 'https://huggingface.co/onnx-community/rtdetr_r18vd_coco_o365/resolve/main/onnx/model.onnx?download=true'; const session = await ort.InferenceSession.create(url, { executionProviders: ['webgpu'], }); const dims = [1, 3, 640, 640]; const input = new ort.Tensor( 'float32', new Float32Array(dims.reduce((acc, x) => acc * x, 1)), dims, ) // prepare feeds. use model input names as keys. const feeds = { pixel_values: input }; // feed inputs and run const results = await session.run(feeds); console.log(results)
Blocks RT-DETR use in Transformers.js w/ WebGPU
Released Package
1.18.0
'webgpu' (WebGPU)
cc @guschmue @fs-eire
ok, we'll fix this. I think there is another issue on this too.
Describe the issue
When attempting to run https://huggingface.co/onnx-community/rtdetr_r50vd on WebGPU, I receive the following error:![image](https://github.com/microsoft/onnxruntime/assets/26504141/2a4bc8a2-18d0-4469-8869-dc170a50fa30)
To reproduce
JSFiddle: https://jsfiddle.net/j8uc3k91/
Urgency
Blocks RT-DETR use in Transformers.js w/ WebGPU
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.18.0
Execution Provider
'webgpu' (WebGPU)