Hacker GitHub

← All repos

CompVis/stable-diffusion

View on GitHub ↗ ★ 73,567 Jupyter Notebook

A latent text-to-image diffusion model

66 mentions on Hacker News by 60 people: 5 stories, 61 comments · first 2022-08-10 · latest 2025-01-28

Mentions per year 66 mentions · busiest year 2022 (61)
20082026
  1. Yep! Less than 1B in total [0]: > 860M UNet and 123M text encoder [0] https://github.com/CompVis/stable-diffusion/blob/main/README...
  2. …see the two optimisers at work in the AutoencoderKL class in the Stable Diffusion source code here: https://github.com/CompVis/stable-diffusion/blob/main/ldm/mo...
  3. …otherwise harass others" Does "disparage" have a settled meaning in law? Is a parody disparaging? https://github.com/CompVis/stable-diffusion/blob/main/LICENS...
    comment by convexstrictly · 2023-05-31 · in Falcon 40B LLM (which beats Llama) now Apache 2.0
  4. …Stable Diffusion, it's Latent Diffusion. Stable Diffusion was released in August 2022, and is at https://github.com/CompVis/stable-diffusion
  5. …existing works? um, yes.[1][2] What else would they be trained on? According to the model card: [1] https://github.com/CompVis/stable-diffusion/blob/main/Stable... it was trained on this data set(which has hyperlinks to images, so feel…
  6. …or that you yourself dont retain rights to the generated image once the transaction is done. [0] https://github.com/CompVis/stable-diffusion/blob/main/LICENS...
    comment by longbilly · 2022-12-30 · in Show HN: Logos Created with AI
  7. …relationships between assertions made in documents, indiscriminate and arbitrarily-targeted use). https://github.com/CompVis/stable-diffusion/blob/main/LICENS... For many, this distinction is more of either an academic one or one where we…
  8. …aestethics subset. Either way, the main point is the same: more training data gives better results. https://github.com/CompVis/stable-diffusion#weights
  9. …weeks of lead time that it would take Legal to review the legality of redistributing this model? 0: https://github.com/CompVis/stable-diffusion/blob/main/LICENS...
  10. …software (as defined by the osi or fsf respectively) For anyone else curious here is the license: https://github.com/CompVis/stable-diffusion/blob/main/LICENS...
    comment by dec0dedab0de · 2022-11-19 · in Some notes on the Stable Diffusion safety filter
  11. …As far as textual inversion, JoePenna’s Dreambooth [2] implementation uses Textual Inversion. [1] https://github.com/CompVis/stable-diffusion/commit/a6e2f3b12... [2] https://github.com/JoePenna/Dreambooth-Stable-Diffusion
  12. …public repos ( https://github.com/lucidrains/perceiver-pytorch/blob/main/pe... , https://github.com/CompVis/stable-diffusion/blob/main/ldm/mo... ), one of which was credited in the readme by AUTOMATIC1111. For #2, the Anlatan CEO blamed it
  13. …being used in a business, or from being used for genetic research." Attachment A at the bottom of https://github.com/CompVis/stable-diffusion/blob/main/LICENS... is exactly that kind of restriction.
  14. …Munich. The main British participation appears to have been Stability AI lending computing power. https://github.com/CompVis/stable-diffusion
  15. Official repo is straightforward: https://github.com/CompVis/stable-diffusion Have to admit just started looking into it, mb there are better options
    comment by Nimitz14 · 2022-09-28 · in DALL·E Now Available Without Waitlist
  16. Stable Diffusion is an AI model for computer generated art. https://github.com/CompVis/stable-diffusion
    comment by ayewo · 2022-09-28 · in DALL·E Now Available Without Waitlist
  17. Stable Diffusion is this: https://github.com/CompVis/stable-diffusion It doesn't have a fancy product website because it's not really a product, it's 'just' the model. Developers can use it to build a product. The Stability.ai people…
    comment by bogwog · 2022-09-28 · in DALL·E Now Available Without Waitlist
  18. …ran at ~11sec/iteration. Another OpenVINO based implementation[3] ran at ~6.0sec/iteration. [1] https://github.com/CompVis/stable-diffusion/ [2] https://github.com/divamgupta/stable-diffusion-tensorflow/ [3]…
  19. …doing txt2img? The watermark function is automatically called when you use the CLI in two places, https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a... and https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a... Trivial…
  20. …model itself in a meaningful way. I use Stable Diffusion a lot and I've never touched this script. https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a...
  21. Stable diffusion does: https://github.com/CompVis/stable-diffusion#reference-sampli... Seems like a good idea to me with almost no downsides. If sites start discriminating against images based on that watermark though that's going to…
  22. I haven't looked into exactly what it does, but it seems like there's a (hidden?) watermark: https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a...
  23. …-- but it doesn't mean he knows how to (learn to) build AI systems or do AI research himself. [1] https://github.com/CompVis/stable-diffusion
    comment by throwaway287391 · 2022-09-16 · in From Deep Learning Foundations to Stable Diffusion
  24. This is the line to change to disable the nsfw filter: https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a...
  25. …I was amused by this when reading the source. Here’s the function that loads the replacement. https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a... It looks like removing line 309 of the same file would disable the check, but I…
  26. Inertia, mostly. The official press release on August 10th linked to https://github.com/CompVis/stable-diffusion and diffusers didn't add support for Stable Diffusion until 5782e0393d on August 14th. There has been a ton of work on adding…
  27. The upstream Stable Diffusion uses python 3.8: https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a...
    comment by eminence32 · 2022-09-12 · in Speedup from switch to +=
  28. Some people have been able to run on recent AMD cards with rocm: https://github.com/CompVis/stable-diffusion/issues/48
    comment by btdmaster · 2022-09-10 · in A Web UI for Stable Diffusion
  29. The link to the comment: https://github.com/CompVis/stable-diffusion/issues/219#issue... The seed was 42 :)
    comment by or113 · 2022-09-09 · in Wow I just got rick rolled by an AI
  30. i find it interesting that you only took 9 commits to do it as well (+244 -62 LOC) https://github.com/CompVis/stable-diffusion/compare/main...l... breaking it out for others curious: - modified img2img to accept 2 prompts and 2 seeds (and…
    comment by swyx · 2022-09-07 · in Infinite Stable Diffusion Videos
  31. …deleted off of https://www.reddit.com/r/StableDiffusion/comments/x3yf9i/sta... but the changes are https://github.com/CompVis/stable-diffusion/compare/1b3c7acc... .
  32. …with a picture of Rick Astley (for real [1]). [0] - https://github.com/hlky/stable-diffusion [1] - https://github.com/CompVis/stable-diffusion/issues/120
  33. Use the original SD repo. But modify the txt2img.py according to: https://github.com/CompVis/stable-diffusion/issues/86#issuec...
  34. …SD repo, which is what this code was built off of, and follow all the installation instructions: https://github.com/CompVis/stable-diffusion In that repo, replace the file ldm/modules/attention.py with this file:…
  35. …the fork[1] from the repo in this PR claims to be able to work with as little as 4GB VRAM. [0] https://github.com/CompVis/stable-diffusion#stable-diffusion [1] https://github.com/basujindal/stable-diffusion#txt2img
  36. …you if you try to generate something that triggers its NSFW filter. Here's the code that does it: https://github.com/CompVis/stable-diffusion/blob/main/script... And here's what it looks like: https://twitter.com/qDot/status/156507675146564…
  37. …on 'RuntimeError: expected scalar type BFloat16 but found Float' too. Most relevant links seems https://github.com/CompVis/stable-diffusion/pull/47 but I'm not sure. Please post when there is a solution.
  38. …It was first trained on 2 billion, then fine tuned on smaller sets of highly aesthetic images. https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a...
    comment by dougmwne · 2022-09-01 · in AI-Generated Bible Art
  39. …M* mac and switching to PyTorch's Metal backend. So, yeah PyTorch is correctly serving as a 'glue'. https://github.com/CompVis/stable-diffusion/commit/0763d366e...
    comment by scoopertrooper · 2022-09-01 · in Run Stable Diffusion on Your M1 Mac’s GPU
  40. …of people can generate with ML. of course there is, you're free as long as you respect the rules. https://github.com/CompVis/stable-diffusion/pull/36
    comment by peoplefromibiza · 2022-09-01 · in Stable Diffusion is a big deal
  41. …license that accounts for most of the code you are concerned with was released with an MIT license. https://github.com/CompVis/stable-diffusion/commit/2ff270f4e... The August 10th update made unenforceable rules about how the pre-trained…
  42. The official repos work fine. https://github.com/huggingface/diffusers https://github.com/CompVis/stable-diffusion
  43. …This is pretty much how all AI models work today. Take a look at the Stable Diffusion model card: https://github.com/CompVis/stable-diffusion/blob/main/Stable... They ran multiple training sessions with progressively smaller (and higher…
  44. "open source": https://github.com/CompVis/stable-diffusion/blob/main/LICENS... (from "open" in the article)
    comment by btdmaster · 2022-08-30 · in $250k for your AI-first product startup
  45. …about this and will be posting it on our Twitter account. [1] https://neox.labml.ai/playground [2] https://github.com/CompVis/stable-diffusion [3] https://twitter.com/labmlai
    comment by nmasnadithya · 2022-08-30 · in Show HN: Generate Images with Stable Diffusion
  46. PyTorch for m1 ( https://pytorch.org/blog/introducing-accelerated-pytorch-tra... ) will not work: https://github.com/CompVis/stable-diffusion/issues/25 says "StableDiffusion is CPU-only on M1 Macs because not all the pytorch ops are…
    comment by homarp · 2022-08-29 · in Run Stable Diffusion on Intel CPUs
  47. …thing about that is that it is open source, so you can trivially disable that filter if you like. https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a...
  48. This may be of interest to you: https://github.com/CompVis/stable-diffusion
  49. …using that information, appears “guidance_scale” is parameter’s name in the Stable Diffusion code. https://github.com/CompVis/stable-diffusion/search?q=guidanc...
  50. Maybe try the img2img script? https://github.com/CompVis/stable-diffusion/blob/main/README...
    comment by neurostimulant · 2022-08-22 · in Stable Diffusion Public Release