{"id":22873513,"url":"https://github.com/aatrick/lightdiffusion-next","last_synced_at":"2025-03-31T12:23:26.807Z","repository":{"id":267866662,"uuid":"902597186","full_name":"Aatrick/LightDiffusion-Next","owner":"Aatrick","description":"LightDiffusion SD and Flux refactored. Fastest Diffusion GUI, Pipeline, with the least number of lines and in the least complex way.","archived":false,"fork":false,"pushed_at":"2024-12-12T22:27:15.000Z","size":610,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-12T23:27:23.145Z","etag":null,"topics":["ai","artificial-intelligence","deep-learning","diffusion","generative-ai","gui","image-generation","pytorch","stable-diffusion","text2image","torch","txt2img"],"latest_commit_sha":null,"homepage":"https://aatrick.github.io/LightDiffusion/","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/Aatrick.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-12-12T22:09:03.000Z","updated_at":"2024-12-12T23:00:19.000Z","dependencies_parsed_at":"2024-12-12T23:27:34.221Z","dependency_job_id":"385bbb90-5f1c-42f5-96a2-119d922596e4","html_url":"https://github.com/Aatrick/LightDiffusion-Next","commit_stats":null,"previous_names":["aatrick/lightdiffusion-next"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FLightDiffusion-Next","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FLightDiffusion-Next/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FLightDiffusion-Next/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FLightDiffusion-Next/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aatrick","download_url":"https://codeload.github.com/Aatrick/LightDiffusion-Next/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237522327,"owners_count":19323733,"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":["ai","artificial-intelligence","deep-learning","diffusion","generative-ai","gui","image-generation","pytorch","stable-diffusion","text2image","torch","txt2img"],"created_at":"2024-12-13T14:19:48.148Z","updated_at":"2025-02-06T17:57:29.218Z","avatar_url":"https://github.com/Aatrick.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LightDiffusion-Next\n\nThe purpose of this repository and project is to be refactored version of the original LightDiffusion repository. The goal is to make the code more readable, maintainable, and to add new features to the project. The original repository can be found [here](https://github.com/Aatrick/LightDiffusion).\n\nFor more information, check the [documentation](https://aatrick.github.io/LightDiffusion/)\n\n## Features\n\n- Original Txt2Img, Img2Img (R-ERSGAN4x+ UltimateSDUpscaling DPM++ 2M)\n- Attention syntax\n- Hires-Fix (euler ancestral normal)\n- GPU only\n- Xformers and Pytorch optimization\n- Stable-Fast implementation offering a 70% speedup at the cost of pre inference model optimization windup time\n- FP16 and FP32 precision support\n- Saved state in between starts\n- GUI\n- DPM Adaptive Karras\n- Clip Skip\n- LoRa and textual inversion (embeddings) support\n- Automatic Prompt-Enhancing with llama3.1 (ollama)\n- Discord bot integration with the installation of [Boubou](https://github.com/Aatrick/Boubou) and the usage of LightDiffusion's pipeline\n- Automatic Face and body Detailer (based on [Impact pack](https://github.com/ltdrdata/ComfyUI-Impact-Pack))\n- TAESD image previewing at the cost of a 10% performance hit\n\n![Screenshot 2024-06-10 140130](https://github.com/Aatrick/LightDiffusion/assets/113598245/711100ee-3af6-49aa-9de6-81361a64f3f9)\n\n## Installation\n\nTo install, please download a release or clone this repo and execute the run.bat file in a cmd and you should be good to go.\n\n#### From Source\n\nElse install the python dependencies by writing `pip install -r requirements.txt`\n\nAfter doing that, add your SD1/1.5 safetensors model to the checkpoints directory and you should be good to go.\n\n### Stable-Fast\n\nTo use the stable-fast optimization refer to this [guide](https://github.com/chengzeyi/stable-fast?tab=readme-ov-file#installation) to install from the wheel file.\n\n### Ollama\n\nTo use the Prompt enhancer refer to this [guide](https://github.com/ollama/ollama?tab=readme-ov-file) to install and run those commands\n`ollama run llama3.1`\n`pip install ollama`\n\n### Discord\n\nTo use LightDiffusion in discord, refer to the installation guide in this [repo](https://github.com/Aatrick/Boubou)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatrick%2Flightdiffusion-next","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faatrick%2Flightdiffusion-next","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatrick%2Flightdiffusion-next/lists"}