{"id":23177295,"url":"https://github.com/haoming02/sd-webui-memory-release","last_synced_at":"2025-08-18T11:32:41.369Z","repository":{"id":163306951,"uuid":"638823903","full_name":"Haoming02/sd-webui-memory-release","owner":"Haoming02","description":"An Extension for Automatic1111 Webui that releases the memory each generation","archived":false,"fork":false,"pushed_at":"2024-01-25T03:39:02.000Z","size":103,"stargazers_count":56,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-25T04:29:22.715Z","etag":null,"topics":["stable-diffusion-webui","stable-diffusion-webui-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Haoming02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-05-10T07:24:44.000Z","updated_at":"2024-01-17T06:04:42.000Z","dependencies_parsed_at":"2024-01-05T05:26:04.001Z","dependency_job_id":"2b24c715-cd07-47b5-a1dd-c4ac019d7506","html_url":"https://github.com/Haoming02/sd-webui-memory-release","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haoming02%2Fsd-webui-memory-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haoming02%2Fsd-webui-memory-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haoming02%2Fsd-webui-memory-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haoming02%2Fsd-webui-memory-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haoming02","download_url":"https://codeload.github.com/Haoming02/sd-webui-memory-release/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230227343,"owners_count":18193293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["stable-diffusion-webui","stable-diffusion-webui-plugin"],"created_at":"2024-12-18T06:32:47.169Z","updated_at":"2025-08-18T11:32:41.359Z","avatar_url":"https://github.com/Haoming02.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SD Webui Memory Release\nThis is an Extension for the [Automatic1111 Webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui), which *attempts to* clean up memory after each generation.\n\n### But Why?\n- A few Reddit posts/comments mentioned that CUDA sometimes can cause memory issues/leaks. This Extension *tries to* solve that by calling `torch.cuda.empty_cache()` after each generation.\n\n### Features\n- Perform `torch.cuda.empty_cache()` and `gc.collect()` after every generation automatically\n- Add a `🧹` button that triggers the cleanup manually\n\n\u003chr\u003e\n\n\u003csup\u003e[1] Shout out to [@kgmkm_mkgm](https://twitter.com/kgmkm_mkgm/status/1658760768958140418) for sharing this Extension with tens of thousands of people \u003c/sup\u003e\n\n\u003csup\u003e[2] Apparently, this indeed does help in [certain situations](https://github.com/Haoming02/sd-webui-memory-release/issues/3) \u003c/sup\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaoming02%2Fsd-webui-memory-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaoming02%2Fsd-webui-memory-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaoming02%2Fsd-webui-memory-release/lists"}