Skip to content

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

@ibelem

Description

@ibelem

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions