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

Clears GPU Cache when there are no more active sessions #22490

Merged
merged 6 commits into from
Oct 24, 2024

Conversation

prathikr
Copy link
Contributor

Fixes #21574

@prathikr prathikr requested a review from guschmue October 23, 2024 00:42
js/web/lib/wasm/jsep/webgpu/gpu-data-manager.ts Outdated Show resolved Hide resolved
js/web/lib/wasm/jsep/webgpu/gpu-data-manager.ts Outdated Show resolved Hide resolved
js/web/lib/wasm/jsep/webgpu/gpu-data-manager.ts Outdated Show resolved Hide resolved
js/web/lib/wasm/jsep/webgpu/gpu-data-manager.ts Outdated Show resolved Hide resolved
@prathikr prathikr requested a review from guschmue October 23, 2024 20:03
@guschmue guschmue added the ep:WebGPU ort-web webgpu provider label Oct 24, 2024
@prathikr prathikr merged commit 742594c into main Oct 24, 2024
90 checks passed
@prathikr prathikr deleted the prathikrao/clear-cache-bug branch October 24, 2024 05:22
ishwar-raut1 pushed a commit to ishwar-raut1/onnxruntime that referenced this pull request Nov 19, 2024
ankitm3k pushed a commit to intel/onnxruntime that referenced this pull request Dec 11, 2024
ankitm3k pushed a commit to intel/onnxruntime that referenced this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:WebGPU ort-web webgpu provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Web] How to free webgpu gpu mem in onnxruntime web
2 participants