{"id":22677150,"url":"https://github.com/extraltodeus/distancesampler","last_synced_at":"2025-04-12T14:24:05.537Z","repository":{"id":254971670,"uuid":"848132029","full_name":"Extraltodeus/DistanceSampler","owner":"Extraltodeus","description":"Heuristic modification of the Heun sampler using normalized distances.","archived":false,"fork":false,"pushed_at":"2025-02-15T00:22:11.000Z","size":74,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T14:24:01.444Z","etag":null,"topics":["artificial-intelligence","comfyui","comfyui-nodes","flux","fluxai","generative-ai","pixart-sigma","sd3","stable-diffusion"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Extraltodeus.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-27T07:32:07.000Z","updated_at":"2025-03-05T00:47:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f7b0029-86a0-4070-b5ed-419992a35139","html_url":"https://github.com/Extraltodeus/DistanceSampler","commit_stats":null,"previous_names":["extraltodeus/distancesampler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extraltodeus%2FDistanceSampler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extraltodeus%2FDistanceSampler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extraltodeus%2FDistanceSampler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extraltodeus%2FDistanceSampler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Extraltodeus","download_url":"https://codeload.github.com/Extraltodeus/DistanceSampler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248579033,"owners_count":21127747,"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":["artificial-intelligence","comfyui","comfyui-nodes","flux","fluxai","generative-ai","pixart-sigma","sd3","stable-diffusion"],"created_at":"2024-12-09T17:59:10.836Z","updated_at":"2025-04-12T14:24:05.532Z","avatar_url":"https://github.com/Extraltodeus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DistanceSampler\n\nModification of the Heun sampler using a custom function based on normalized distances. For ComfyUI.\n\nWork better with little amounts of steps. Starting at 4, recommanded 10. CFG scale at 8.\n\nA CFG at 1.0 with 4-8 steps can also give interesting results.\n\nUsing AYS/AYS30/Simple/Karras for the schedulers.\n\nI recommand using the \"fast\" or the \"s4e1\" version with 10 steps [AYS30 scheduler](https://github.com/pamparamm/ComfyUI-ppm) and CFG scale at 8.\n\nAlso includes a \"Heun CFG++\" using the [alternative Euler CFGpp version found in ComfyUI](https://github.com/comfyanonymous/ComfyUI/blob/7df42b9a2364bae6822fbd9e9fa10cea2e319ba3/comfy_extras/nodes_advanced_samplers.py) slapped with the Heun part at the end. This may or may not be a correct implementation but the results are too good to be ignored.\n\nThe file \"presets_to_add\" can be easily edited to add/remove presets to the list.\n\nThe presets are about how many times it will sample per step, like start high (s) and end low (e) so \"s4e1\" means 4 at start, 1 at the end (1 gives Heun).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextraltodeus%2Fdistancesampler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextraltodeus%2Fdistancesampler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextraltodeus%2Fdistancesampler/lists"}