Live data from Hacker News

Try Stable Diffusion's Img2Img Mode

huggingface.co

121–130 of 166 posts

Re: Try Stable Diffusion's Img2Img Mode

#121
post #58
post #13

If you have a GPU with >4GB of VRAM and you want to run this locally, here's a fork of the Stable Diffusion repo with a convenient web UI: https://github.com/hlky/stable-diffusion It supports both txt2img and img2img. (Not affiliated.) Edit: Incidentally, I tried running it on a CPU. It is possible, but it took 3 minutes instead of 10 seconds to produce an image. It also required me to hack up the script in a really…

There are as well forks for the GPU in Apple’s M1 chips: https://github.com/magnusviri/stable-diffusion

Anyone knows how fast this runs on an m1 macbook air?

Re: Try Stable Diffusion's Img2Img Mode

#122

Is there an interpolate mode for Stable Diffusion? (Interpolate between two images without using a text prompt.) Here are DALL-E 2 interpolations: https://twitter.com/model_mechanic/status/151297688118364569...

One of the first things that came out when the model was released.

https://github.com/schmidtdominik/stablediffusion-interpolat...

Re: Try Stable Diffusion's Img2Img Mode

#123
post #58

Earlier quoted context omitted.

There are as well forks for the GPU in Apple’s M1 chips: https://github.com/magnusviri/stable-diffusion

Anyone knows how fast this runs on an m1 macbook air?

Takes anywhere from 30s-1.5m on my M1 Max.

Re: Try Stable Diffusion's Img2Img Mode

#125
post #13

If you have a GPU with >4GB of VRAM and you want to run this locally, here's a fork of the Stable Diffusion repo with a convenient web UI: https://github.com/hlky/stable-diffusion It supports both txt2img and img2img. (Not affiliated.) Edit: Incidentally, I tried running it on a CPU. It is possible, but it took 3 minutes instead of 10 seconds to produce an image. It also required me to hack up the script in a really…

Nvidia GTX 1660 Super with 6GB of VRAM. I do runs at 384px by 384px, with batch size of 1. Sampling method has almost no impact on memory. Using k_euler with 30 steps renders an image in 10 to 20 seconds. The biggest thing that affect rending speed is the steps and the resolution, so 512x512 with C 50 using ddim is much slower than 256x256 with C 25 using k_euler. The sampling methods run mostly in the same timelines…

I'm running 1660 ti on Windows 11.

I'm thinking about getting a 3090 so that I can make higher resolution images.

Gfpgan runs much faster for me 5 seconds per picture

Re: Try Stable Diffusion's Img2Img Mode

#126

Is there an interpolate mode for Stable Diffusion? (Interpolate between two images without using a text prompt.) Here are DALL-E 2 interpolations: https://twitter.com/model_mechanic/status/151297688118364569...

One of the first things that came out when the model was released. https://github.com/schmidtdominik/stablediffusion-interpolat...

Thank you, but this notebook appears to use images generated from text prompts. I was interested in interpolating between two given images, without generating from text.

Re: Try Stable Diffusion's Img2Img Mode

#128
It's interesting that the people who write things like "look at this stream of words, they have to be coming from a sentient being" do not seem to care much about the "intelligence" generating these images.

Re: Try Stable Diffusion's Img2Img Mode

#129

Earlier quoted context omitted.

I’m not gonna lie, I’m quite disappointed at all the anti-NSFW shenanigans.

I'm not gonna lie, I'm quite disappointed by the wilful obstinance on HN whenever there is a discussion of anti-NSFW or anti-racism filters that are present on today's artificial intelligence research. First, the filters are only on the interface. The research is public. That's why there has been an explosion of new implementations. You are welcome to run the code yourself and make the horniest model you like. But mo…

…and why should a company not based in one of those nations care about the views of all the billions of others not there?
Post reply on HN