Hacker GitHub

← All repos

huggingface/diffusers

View on GitHub ↗ ★ 34,850 Python

🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

33 mentions on Hacker News by 21 people: 6 stories, 27 comments · first 2022-07-21 · latest 2024-10-16

Mentions per year 33 mentions · busiest year 2022 (20)
20082026
  1. > All the self-hosted [...] text-to-image models come with some restrictions trained into them https://github.com/huggingface/diffusers/issues/3422
  2. …8.0 compute capability) were not officially supported by Meta for the first year of Xformers ( https://github.com/huggingface/diffusers/issues/2234 ) ( https://github.com/facebookresearch/xformers/issues/517#issu... ). This is the…
  3. I opened an issue here: https://github.com/huggingface/diffusers/issues/8306
    comment by reasonableklout · 2024-05-28 · in Diffusion Models
  4. https://github.com/huggingface/diffusers/blob/v0.27.2/src/di...
    comment by ilaksh · 2024-05-26 · in Diffusion Models
  5. Are you sure about that? https://github.com/huggingface/diffusers lists the Apache 2 license.
    comment by simonw · 2024-05-26 · in Diffusion Models
  6. diffusers also has example usage for TensorRT in the Stable Diffusion context: https://github.com/huggingface/diffusers/blob/85dccab7fd280c... Seems those particular examples were submitted by NVIDIA employee too:…
  7. …it can help. In general, these insane speed boosts come at the cost of bleeding edge features. [1] https://github.com/huggingface/diffusers/blob/28e8d1f6ec82a6...
  8. …of the LoRA adapter weights. It's more common in other UIs. diffusers is working on a PR for it: https://github.com/huggingface/diffusers/pull/4473
  9. It is. See for yourself: https://github.com/huggingface/diffusers/blob/2367c1b9fa3126... I see no reason to disable it. Its fast, and its no more personal than basic metadata like image format and resolution... I can't think of any use…
    comment by brucethemoose2 · 2023-07-04 · in Stable Diffusion XL technical report [pdf]
  10. In `diffusers` implementations (like InvokeAI) its pretty easy: https://github.com/huggingface/diffusers/blob/42beaf1d23b5cc... But I also compile the VAE and some other modules, I will reply again later when I can look at my local code.…
    comment by brucethemoose2 · 2023-03-15 · in PyTorch 2.0
  11. …like you encode a text prompt. The diffusers library does this in the image variation pipeline: https://github.com/huggingface/diffusers/blob/main/src/diffu... And you can merge that encoded image with an encoded text prompt, if you wish.…
  12. GitHub: https://github.com/kakaobrain/karlo diffusers lib integration: https://github.com/huggingface/diffusers/releases/tag/v0.11....
  13. yep, same approach but it arrived 3 days later and there's no mention of the [original PR]( https://github.com/huggingface/diffusers/pull/532#issuecomme... ), nice. Else the kernels used in that case -upstream flash attention- are not…
  14. did you even peek at the link ? There's a PR on diffusers, and it's mentioned on the front page https://github.com/huggingface/diffusers/pull/532#issuecomme...
  15. …of an astronaut riding a horse on mars" with autocast("cuda"): image = pipe(prompt).images[0] [1] https://github.com/huggingface/diffusers
  16. …usage. The standard HuggingFace examples (eg for img2img[2]) port across with no trouble too. [1] https://github.com/huggingface/diffusers [2] https://github.com/huggingface/diffusers#image-to-image-text...
  17. Support for ONNX export was just added to diffusers, but no runtime logic for scheduling yet. https://github.com/huggingface/diffusers
    comment by minimaxir · 2022-09-10 · in A Web UI for Stable Diffusion
  18. There is work on a CoreML version which may play nicer with older Macs w/sufficiently beefy dGPUs. https://github.com/huggingface/diffusers/issues/443
    comment by minimaxir · 2022-09-10 · in A Web UI for Stable Diffusion
  19. Diffusers shows how to use the fp16 variant. https://github.com/huggingface/diffusers
    comment by minimaxir · 2022-09-10 · in A Web UI for Stable Diffusion
  20. This branch seems to fix these issues: https://github.com/huggingface/diffusers/tree/mps (Annoyingly I just went and made similar changes and was about to create a PR for them. But they have a fix for a "warm-up" issue I wasn't aware of…
  21. …to MPS, but that probably requires a fix in PyTorch. The MPS support issue for diffusers is here: https://github.com/huggingface/diffusers/issues/292 …and it links to the relevant PyTorch issue here: https://github.com/pytorch/pytorch/issue…
  22. …32 Gb M1 Max, I highly recommend people switching to that version for the improved flexibility. [1] https://github.com/huggingface/diffusers [2] https://github.com/huggingface/diffusers/pull/278
  23. The official repos work fine. https://github.com/huggingface/diffusers https://github.com/CompVis/stable-diffusion
  24. Yes you can https://github.com/huggingface/diffusers/releases/tag/v0.2.3 (probably the easiest way)
    comment by GaggiX · 2022-08-22 · in Stable Diffusion Public Release
  25. …(BLOOM [0]) and DALL-E 2 (Stable Diffusion [1]) [0] https://huggingface.co/bigscience/bloom [1] https://github.com/huggingface/diffusers/releases/tag/v0.2.3
    comment by rvz · 2022-08-22 · in OpenAI API pricing update FAQ
  26. …came out today and looks like it may be able to beat DALL-E in terms of quality some of the time: https://github.com/huggingface/diffusers/releases/tag/v0.2.3
    comment by simonw · 2022-08-22 · in OpenAI API pricing update FAQ
  27. I tried doing this on my own laptop a few weeks ago using Hugging Face diffusers - https://github.com/huggingface/diffusers Here's the code: from diffusers import DiffusionPipeline ldm = DiffusionPipeline.from_pretrained(…