{"id":25908607,"url":"https://github.com/blepping/ComfyUI-ApplyResAdapterUnet","last_synced_at":"2025-03-03T08:01:36.746Z","repository":{"id":229892908,"uuid":"777927075","full_name":"blepping/ComfyUI-ApplyResAdapterUnet","owner":"blepping","description":"ComfyUI node to apply the ResAdapter Unet patch for SD1.5 models","archived":false,"fork":false,"pushed_at":"2024-03-26T19:29:48.000Z","size":6505,"stargazers_count":31,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T16:44:19.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blepping.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}},"created_at":"2024-03-26T19:03:25.000Z","updated_at":"2024-12-14T03:33:18.000Z","dependencies_parsed_at":"2024-03-26T20:42:52.053Z","dependency_job_id":null,"html_url":"https://github.com/blepping/ComfyUI-ApplyResAdapterUnet","commit_stats":null,"previous_names":["blepping/comfyui-applyresadapterunet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blepping%2FComfyUI-ApplyResAdapterUnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blepping%2FComfyUI-ApplyResAdapterUnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blepping%2FComfyUI-ApplyResAdapterUnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blepping%2FComfyUI-ApplyResAdapterUnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blepping","download_url":"https://codeload.github.com/blepping/ComfyUI-ApplyResAdapterUnet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241629738,"owners_count":19993708,"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":"2025-03-03T08:01:05.699Z","updated_at":"2025-03-03T08:01:36.704Z","avatar_url":"https://github.com/blepping.png","language":"Python","funding_links":[],"categories":["Workflows (3395) sorted by GitHub Stars","All Workflows Sorted by GitHub Stars"],"sub_categories":[],"readme":"# ComfyUI-ApplyResAdapterUnet\n\nComfyUI node to apply the ResAdapter Unet patch for SD1.5 models.\n\nSee https://github.com/bytedance/res-adapter for explanation and link to download the LoRA and unet patch.\n\nNote: I am not affiliated with ResAdapter. This is an (experimental) personal project. I believe it works correctly, but no guarantees!\n\n## Usage\n\n### SDXL\n\nFor SDXL, you only need the LoRA (as far as I know) so a dedicated node is unnecessary: just load the LoRA as usual. You don't need this repo.\n\n### SD 1.5\n\n* Put the `resolution_normalization.safetensors` model in `models/unet`\n* Patch the model with the `ApplyResAdapterUnet` node, load the `resolution_lora.safetensors` LoRA normally.\n\n![Node example](assets/applynode.png)\n\nYou can experiment with different unet and LoRA strengths.\nI haven't tested it extensively, but at resolutions above 1024x1024 using full strength doesn't seem to work well (and in fact may be worse than nothing).\nIt's also possible to combine ResAdapter with other techniques such as Kohya Deep Shrink (AKA `PatchModelAddDownScale`).\n\n## Example Workflow\n\nWorkflow with included ComfyUI metadata:\n\n![Example workflow](assets/resadaptercomparisonworkflow.png)\n\n(Simple demonstration, I made no effort to get a pretty picture.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblepping%2FComfyUI-ApplyResAdapterUnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblepping%2FComfyUI-ApplyResAdapterUnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblepping%2FComfyUI-ApplyResAdapterUnet/lists"}