microsoft / microsoft/ai-dev-gallery
[Bug] Cancellation is slow for Describe Image sample
Open
@Jaylyn-Barbee is already working on this.
Since Jan 21, 2025.
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 223
- PR merge metrics
- No merged PRs in 30d
Description
Context:
btwn Line 134 and Line 139 is where the bulk of the inferencing is happening. This is the part that is actually taking. So when a user clicks "Cancel" 9 times out of 10 they are hung up on this step, waiting for it to return before it can be registered that a cancellation was requested. Specifically line 141 takes a while and there is no way to pass a cancellation token to that function.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.