{"id":13493562,"url":"https://github.com/papuSpartan/stable-diffusion-webui-distributed","last_synced_at":"2025-03-28T11:32:55.935Z","repository":{"id":143724355,"uuid":"610059288","full_name":"papuSpartan/stable-diffusion-webui-distributed","owner":"papuSpartan","description":"Chains stable-diffusion-webui instances together to facilitate faster image generation.","archived":false,"fork":false,"pushed_at":"2024-09-17T07:25:13.000Z","size":526,"stargazers_count":178,"open_issues_count":1,"forks_count":13,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-09-17T10:03:57.568Z","etag":null,"topics":["automatic1111","distributed-computing","multi-gpu","stable-diffusion","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/papuSpartan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-06T02:01:42.000Z","updated_at":"2024-09-12T12:29:03.000Z","dependencies_parsed_at":"2023-09-25T03:54:10.068Z","dependency_job_id":"9a43cc60-965b-43c6-aeb8-027426e3edca","html_url":"https://github.com/papuSpartan/stable-diffusion-webui-distributed","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papuSpartan%2Fstable-diffusion-webui-distributed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papuSpartan%2Fstable-diffusion-webui-distributed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papuSpartan%2Fstable-diffusion-webui-distributed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papuSpartan%2Fstable-diffusion-webui-distributed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/papuSpartan","download_url":"https://codeload.github.com/papuSpartan/stable-diffusion-webui-distributed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246021508,"owners_count":20710946,"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":["automatic1111","distributed-computing","multi-gpu","stable-diffusion","stable-diffusion-webui","stable-diffusion-webui-plugin"],"created_at":"2024-07-31T19:01:16.588Z","updated_at":"2025-03-28T11:32:55.570Z","avatar_url":"https://github.com/papuSpartan.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# stable-diffusion-webui-distributed\nThis extension enables you to chain multiple webui instances together for txt2img and img2img generation tasks.\n\n*For those with **multi-gpu** setups, **yes** this can be used for generation across all of those devices.*\n\nThe main goal is minimizing the lag of (high batch size) requests from the **main** sdwui instance.\n\n![alt text](doc/sdwui_distributed.drawio.png)\\\n*Diagram shows Master/slave architecture of the extension*\n\n**Contributions and feedback are much appreciated!**\n\n[![](https://dcbadge.vercel.app/api/server/Jpc8wnftd4)](https://discord.gg/Jpc8wnftd4)\n\n## Installation\n\nOn the master instance:\n- Go to the extensions tab, and swap to the \"available\" sub-tab. Then, search \"Distributed\", and hit install on this extension.\n\nOn each slave instance:\n- enable the api by passing `--api` and ensure it is listening by using `--listen`\n- ensure all of the models, scripts, and whatever else you think you might request from them is present\\\nIe. if you're using sd-1.5 on the controlling instance, then the sd-1.5 model should also be present on each slave instance. Otherwise, the remote will fallback to some other model that **is** present.\n\n*if you want to easily sync models between your nodes, you might want to use something like [rclone](https://rclone.org/)*\n\n### Tips\n- If benchmarking fails, try hitting the **Redo benchmark** button under the script's **Util** tab.\n- If any remote is taking far too long to returns its share of the batch, you can hit the **Interrupt** button in the **Util** tab.\n- If you think that a worker is being under-utilized, you can adjust the job timeout setting to be higher. However, doing this may be suboptimal in cases where the \"slow\" machine is **actually** really slow. Alternatively, you may just need to do a re-benchmark or manually edit the config.\n\n### Command-line arguments\n\n**--distributed-skip-verify-remotes** Disable verification of remote worker TLS certificates (useful for if you are using self-signed certs like with [auto tls-https](https://github.com/papuSpartan/stable-diffusion-webui-auto-tls-https))\\\n**--distributed-remotes-autosave** Enable auto-saving of remote worker generations\\\n**--distributed-debug** Enable debug information\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FpapuSpartan%2Fstable-diffusion-webui-distributed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FpapuSpartan%2Fstable-diffusion-webui-distributed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FpapuSpartan%2Fstable-diffusion-webui-distributed/lists"}