[Web] [Feature Request] Ability to abort #23703
Labels
ep:WebGPU
ort-web webgpu provider
platform:web
issues related to ONNX Runtime web; typically submitted using template
Describe the issue
I am working on a PR for huggingface/transformers.js that adds the ability to abort an operation. Right now, it works for model downloads, but it does not work for generation that happens via ORT.
To reproduce
On the JS side of things, an AbortController as used by
fetch()
would be great.Urgency
No response
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.20.1 and 1.21.0-dev.20250206-d981b153d3
Execution Provider
'wasm'/'cpu' (WebAssembly CPU), 'webgpu' (WebGPU)
The text was updated successfully, but these errors were encountered: