{"id":20796865,"url":"https://github.com/hkproj/pytorch-stable-diffusion","last_synced_at":"2025-05-15T03:06:56.059Z","repository":{"id":196769664,"uuid":"695699688","full_name":"hkproj/pytorch-stable-diffusion","owner":"hkproj","description":"Stable Diffusion implemented from scratch in PyTorch","archived":false,"fork":false,"pushed_at":"2024-10-22T08:34:36.000Z","size":1136,"stargazers_count":830,"open_issues_count":11,"forks_count":171,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-15T00:49:09.861Z","etag":null,"topics":["diffusion-models","latent-diffusion-models","paper-implementations","pytorch","pytorch-implementation","stable-diffusion"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=ZBKpAp_6TGI","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hkproj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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-09-24T00:00:17.000Z","updated_at":"2025-04-14T15:24:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"12eda793-112c-431b-a912-c2b03f9f89bd","html_url":"https://github.com/hkproj/pytorch-stable-diffusion","commit_stats":null,"previous_names":["hkproj/pytorch-stable-diffusion"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkproj%2Fpytorch-stable-diffusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkproj%2Fpytorch-stable-diffusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkproj%2Fpytorch-stable-diffusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkproj%2Fpytorch-stable-diffusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hkproj","download_url":"https://codeload.github.com/hkproj/pytorch-stable-diffusion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264766,"owners_count":22041793,"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":["diffusion-models","latent-diffusion-models","paper-implementations","pytorch","pytorch-implementation","stable-diffusion"],"created_at":"2024-11-17T16:29:18.123Z","updated_at":"2025-05-15T03:06:51.037Z","avatar_url":"https://github.com/hkproj.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pytorch-stable-diffusion\nPyTorch implementation of Stable Diffusion from scratch\n\n## Download weights and tokenizer files:\n\n1. Download `vocab.json` and `merges.txt` from https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5/tree/main/tokenizer and save them in the `data` folder\n2. Download `v1-5-pruned-emaonly.ckpt` from https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5/tree/main and save it in the `data` folder\n\n## Tested fine-tuned models:\n\nJust download the `ckpt` file from any fine-tuned SD (up to v1.5).\n\n1. InkPunk Diffusion: https://huggingface.co/Envvi/Inkpunk-Diffusion/tree/main\n2. Illustration Diffusion (Hollie Mengert): https://huggingface.co/ogkalu/Illustration-Diffusion/tree/main\n\n## Special thanks\n\nSpecial thanks to the following repositories:\n\n1. https://github.com/CompVis/stable-diffusion/\n1. https://github.com/divamgupta/stable-diffusion-tensorflow\n1. https://github.com/kjsman/stable-diffusion-pytorch\n1. https://github.com/huggingface/diffusers/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkproj%2Fpytorch-stable-diffusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhkproj%2Fpytorch-stable-diffusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkproj%2Fpytorch-stable-diffusion/lists"}