{"id":19001271,"url":"https://github.com/oneflow-inc/diffusers","last_synced_at":"2026-02-27T04:31:16.486Z","repository":{"id":223529925,"uuid":"760381711","full_name":"Oneflow-Inc/diffusers","owner":"Oneflow-Inc","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-21T01:39:40.000Z","size":104,"stargazers_count":31,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-06T09:38:23.698Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oneflow-Inc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-20T10:10:07.000Z","updated_at":"2025-07-23T03:45:39.000Z","dependencies_parsed_at":"2024-02-20T18:52:21.588Z","dependency_job_id":"5a8df65a-d8e9-4a39-8bea-8d8bbbbc2832","html_url":"https://github.com/Oneflow-Inc/diffusers","commit_stats":null,"previous_names":["oneflow-inc/diffusers"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Oneflow-Inc/diffusers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oneflow-Inc%2Fdiffusers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oneflow-Inc%2Fdiffusers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oneflow-Inc%2Fdiffusers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oneflow-Inc%2Fdiffusers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oneflow-Inc","download_url":"https://codeload.github.com/Oneflow-Inc/diffusers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oneflow-Inc%2Fdiffusers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29884686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08T18:10:34.909Z","updated_at":"2026-02-27T04:31:16.471Z","avatar_url":"https://github.com/Oneflow-Inc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# OneFlow diffusers\n\nOneFlow backend support for diffusers\n\n## Getting started\n\nPlease refer to this [wiki](https://github.com/Oneflow-Inc/diffusers/wiki/How-to-Run-OneFlow-Stable-Diffusion)\n\n## Quick demo\n\n```\npython3 -m pip install \"torch\" \"transformers==4.27.1\" \"diffusers[torch]==0.15.1\"\npython3 -m pip uninstall accelerate -y\npython3 -m pip install -U onediff\npython3 -m onediff.demo\n```\n\n## More about OneFlow\n\nOneFlow's main [repo](https://github.com/Oneflow-Inc/oneflow)\n\n## Development\n\n### Option 1: Fresh clone and dev install\n\n```\ngit clone https://github.com/Oneflow-Inc/diffusers.git onediff\ncd onediff\npython3 -m pip install \"torch\" \"transformers==4.27.1\" \"diffusers[torch]==0.15.1\"\npython3 -m pip uninstall accelerate -y\npython3 -m pip install -e .\n```\n\n### Option 2: Setup if you were using the the `oneflow-fork` branch before\n\n1. uninstall transformers and diffusers\n\n```\npython3 -m pip uninstall transformers -y\npython3 -m pip uninstall diffusers -y\n```\n\n2. install transformers and diffusers\n\n```\npython3 -m pip install \"torch\" \"transformers==4.27.1\" \"diffusers[torch]==0.15.1\"\npython3 -m pip uninstall accelerate -y\n```\n\n3. delete the main first:\n\n```\ngit branch -D main\ngit fetch\ngit checkout main\npython3 -m pip install -e .\n```\n\n## More examples\n\nThere is a directory for [examples](/examples/)\n\n## Release\n\n- run examples to check it works\n\n  ```bash\n  python3 examples/text_to_image.py\n  python3 examples/text_to_image_dpmsolver.py\n  ```\n\n- bump version in these files:\n\n  ```\n  setup.py\n  src/onediff/__init__.py\n  ```\n\n- build wheel\n\n  ```\n  rm -rf dist\n  python3 setup.py bdist_wheel\n  ```\n\n- upload to pypi\n\n  ```bash\n  twine upload dist/*\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneflow-inc%2Fdiffusers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foneflow-inc%2Fdiffusers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneflow-inc%2Fdiffusers/lists"}