{"id":19369903,"url":"https://github.com/captainzero93/load-extracted-unet-automatic1111","last_synced_at":"2025-10-29T12:21:55.800Z","repository":{"id":253691493,"uuid":"844233296","full_name":"captainzero93/load-extracted-unet-automatic1111","owner":"captainzero93","description":"Loads models that have been have the unet split in safetensor  by https://github.com/captainzero93/extract-unet-safetensor","archived":false,"fork":false,"pushed_at":"2024-08-19T18:16:38.000Z","size":87,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T17:11:10.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/captainzero93.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-18T19:23:31.000Z","updated_at":"2025-02-12T06:17:13.000Z","dependencies_parsed_at":"2024-08-18T20:54:59.038Z","dependency_job_id":null,"html_url":"https://github.com/captainzero93/load-extracted-unet-automatic1111","commit_stats":null,"previous_names":["captainzero93/load-extracted-unet-automatic1111"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainzero93%2Fload-extracted-unet-automatic1111","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainzero93%2Fload-extracted-unet-automatic1111/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainzero93%2Fload-extracted-unet-automatic1111/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainzero93%2Fload-extracted-unet-automatic1111/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captainzero93","download_url":"https://codeload.github.com/captainzero93/load-extracted-unet-automatic1111/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250460463,"owners_count":21434252,"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":[],"created_at":"2024-11-10T08:13:42.402Z","updated_at":"2025-10-29T12:21:55.709Z","avatar_url":"https://github.com/captainzero93.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Safetensor UNet Loader / Merge Plugin for AUTOMATIC1111 Stable Diffusion Web UI\r\n\r\nThis extension for AUTOMATIC1111's Stable Diffusion Web UI allows you to use separate UNet and non-UNet parts of Stable Diffusion models. It's designed to save space and give you more flexibility in managing your models.\r\n\r\n## What Does This Plugin Do?\r\n\r\nThis plugin lets you:\r\n1. Load separate UNet and non-UNet parts of a Stable Diffusion model.\r\n2. Combine these parts into a full model that you can use for generating images.\r\n3. Save space on your computer by reusing the non-UNet parts with different UNets.\r\n\r\n## Why Should I Use This?\r\n\r\n1. **Save Space**: Instead of storing many full models, you can store one non-UNet part and multiple UNet parts, saving gigabytes of space.\r\n2. **More Models, Less Storage**: You can have more model variations without using as much storage space.\r\n3. **Future-Ready**: As models get bigger and more complex, this approach will become even more helpful for managing storage.\r\n\r\n## How to Install\r\n\r\n1. Open your AUTOMATIC1111 Stable Diffusion Web UI folder.\r\n2. Find the `extensions` folder inside it.\r\n3. Open a command prompt or terminal in this folder.\r\n4. Run this command:\r\n   ```\r\n   git clone https://github.com/captainzero93/load-extracted-unet-automatic1111.git\r\n   ```\r\n5. Restart your AUTOMATIC1111 Stable Diffusion Web UI.\r\n\r\n## How to Use\r\n\r\n1. First, you need to split your Stable Diffusion models into UNet and non-UNet parts. Use the [UNet Extractor and Remover tool](https://github.com/captainzero93/extract-unet-safetensor) for this.\r\n2. After splitting, you'll have two files for each model: a UNet file and a non-UNet file.\r\n3. Put these files in the `extensions/load-extracted-unet-automatic1111/models` folder.\r\n4. Start (or restart) your AUTOMATIC1111 Stable Diffusion Web UI.\r\n5. In the Web UI, look for the \"UNet Loader\" tab.\r\n6. In this tab:\r\n   - Choose a UNet file from the \"UNet File\" dropdown.\r\n   - Choose a non-UNet file from the \"Non-UNet File\" dropdown.\r\n   - Click \"Load Model Parts\".\r\n7. The plugin will combine these parts into a full model.\r\n8. **Important**: Wait for the extension output box to display \"UNet and non-UNet parts combined and loaded successfully.\" This indicates that the model is ready to use, even if the UI doesn't show the loaded model name.\r\n9. You can now use this combined model in the txt2img and img2img tabs just like any other model.\r\n\r\n## Important Notes\r\n\r\n- This plugin works best with files created by the [UNet Extractor and Remover tool](https://github.com/captainzero93/extract-unet-safetensor).\r\n- Make sure your computer (especially your GPU) has enough memory to handle the combined model.\r\n- If things seem slow, try restarting the Web UI to clear the memory.\r\n- The UI may not always show the loaded model name, but this doesn't affect functionality. Always refer to the extension output box for confirmation.\r\n- The extension creates temporary combined model files. Use the \"Cleanup Last Combined Model\" button to remove these when you're done.\r\n\r\n## Troubleshooting\r\n\r\nIf you have problems:\r\n1. Check that your files are in the correct folder (`extensions/load-extracted-unet-automatic1111/models`).\r\n2. Make sure you're using files created by the UNet Extractor tool.\r\n3. Look at the console output and the extension output box for error messages or success confirmation.\r\n4. If the UI doesn't show the loaded model, but the output box confirms it's loaded, proceed with generation anyway.\r\n5. Try refreshing the file list using the \"Refresh File List\" button if new files aren't appearing.\r\n6. If it's still not working, try restarting the Web UI.\r\n7. Ensure you have enough VRAM for the combined model. If you're getting out-of-memory errors, try using a smaller model or freeing up GPU resources.\r\n\r\n## Recent Updates\r\n\r\n- Added dynamic model directory detection for better compatibility with different installation methods.\r\n- Improved error handling and logging for easier troubleshooting.\r\n- Added a \"Refresh File List\" button to update the file dropdowns without restarting.\r\n- Implemented a model cache to speed up loading of previously combined models.\r\n\r\n## Getting Help\r\n\r\nIf you're stuck, you can:\r\n1. Check the [issues page](https://github.com/captainzero93/load-extracted-unet-automatic1111/issues) to see if others have had the same problem.\r\n2. Create a new issue if your problem isn't already listed. When reporting issues, please include:\r\n   - The exact steps you took\r\n   - Any error messages from the console or extension output box\r\n   - Your system specifications (OS, GPU, VRAM)\r\n\r\n## Legal Stuff\r\n\r\nThis plugin is free to use, modify, and share. However, if you use it in your own project, please include this credit:\r\n\r\n```\r\nOriginal work: https://github.com/captainzero93/load-extracted-unet-automatic1111\r\n```\r\n\r\nSee the [LICENSE](LICENSE) file for full legal details.\r\n\r\n## Thank You\r\n\r\n- To everyone who uses and supports this plugin.\r\n- To the AUTOMATIC1111 Stable Diffusion Web UI community.\r\n- To all contributors who help improve this project.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainzero93%2Fload-extracted-unet-automatic1111","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptainzero93%2Fload-extracted-unet-automatic1111","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainzero93%2Fload-extracted-unet-automatic1111/lists"}