Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Web] Non-zero status code returned while running Slice node webgpu #18892

Open
DavidGOrtega opened this issue Dec 20, 2023 · 3 comments
Open
Labels
platform:web issues related to ONNX Runtime web; typically submitted using template

Comments

@DavidGOrtega
Copy link

Describe the issue

Slice layer does not look good in webgpu, wasm works perfectly.

Uncaught (in promise) Error: failed to call OrtRun(). ERROR_CODE: 1, ERROR_MESSAGE: Non-zero status code returned while running Slice node. Name:'Slice_47' Status Message: Failed to run JSEP kernel
    at t.checkLastError (wasm-utils.ts:60:11)
    at t.run (wasm-core-impl.ts:275:9)
    at async t.OnnxruntimeWebAssemblySessionHandler.run (session-handler.ts:83:11)
    at async o.run (inference-session-impl.js:94:15)
    at async infer (index.js?v=1a:68:30)
    at async run (index.js?v=1a:181:17)

To reproduce

Our model uses Slice, unfortunately I can not provide the model.

Urgency

No response

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.16.3

Execution Provider

'webgpu' (WebGPU)

@DavidGOrtega DavidGOrtega added the platform:web issues related to ONNX Runtime web; typically submitted using template label Dec 20, 2023
Copy link
Contributor

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Jan 19, 2024
@DavidGOrtega
Copy link
Author

🙏

@github-actions github-actions bot removed the stale issues that have not been addressed in a while; categorized by a bot label Jan 20, 2024
@fs-eire
Copy link
Contributor

fs-eire commented Feb 16, 2024

@DavidGOrtega sorry I replied late. Since you cannot share the model, could you share the shape of this Slice operator's inputs/outputs? You can get those info outputted in console by setting the following before creating your session:

ort.env.logLevel = 'verbose';
ort.env.debug = true;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:web issues related to ONNX Runtime web; typically submitted using template
Projects
None yet
Development

No branches or pull requests

2 participants