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

Memory is not released after leaving page for SD 1.5 and SD Turbo #61

Closed
ibelem opened this issue Nov 15, 2024 · 1 comment · Fixed by #62
Closed

Memory is not released after leaving page for SD 1.5 and SD Turbo #61

ibelem opened this issue Nov 15, 2024 · 1 comment · Fixed by #62

Comments

@ibelem
Copy link
Contributor

ibelem commented Nov 15, 2024

The memory will keep increasing in following scenario:

Steps:

  1. Visit https://microsoft.github.io/webnn-developer-preview/demos/stable-diffusion-1.5/
  2. Click "Load Models" button -> Wait for loading and compiling models completed

Actual Result 1:

The memory of GPU process and Tab (blink process) will increase

Image

Steps:

  1. In the same tab, visit https://microsoft.github.io/webnn-developer-preview/demos/sd-turbo/

Actual Result 2:

The memory of GPU process and Tab (blink process) from stable-diffusion-1.5 are not released

Image

Steps:

  1. Click "Load Models" button -> Wait for loading and compiling models completed

Actual Result 3:

  1. The memory of GPU process and Tab (blink process) keep increasing for both SD Turbo and SD 1.5
  2. The probability of the "Context lost" error occurring is greatly increased, page blink and black screen happens

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant