stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

Add Replicate demo and API

Open chenxwh opened this issue 3 years ago • 7 comments

Hey @pesser ! 👋

This pull request makes it possible to run your model inside a Docker environment, which makes it easier for other people to run it. We're using an open source tool called Cog to make this process easier.

This also means we can make a web page where other people can run your model! View it here: https://replicate.com/pesser/stable-diffusion

Replicate also have an API, so people can easily run your model from their code:

import replicate
model = replicate.models.get("pesser/stable-diffusion")
model.predict(prompt="a virus monster is playing guitar, oil on canvas")

Claim your page here so you can edit it, and we'll feature it on our website and tweet about it too.

In case you're wondering who I am, I'm from Replicate, where we're trying to make machine learning reproducible. We got frustrated that we couldn't run all the really interesting ML work being done. So, we're going round implementing models we like. 😊

chenxwh avatar Jul 23 '22 23:07 chenxwh

This leaks the text2img model checkpoint

neverix avatar Aug 10 '22 10:08 neverix

This leaks the text2img model checkpoint

? the checkpoint is publicly available from the repo

chenxwh avatar Aug 10 '22 10:08 chenxwh

? the checkpoint is publicly available from the repo

I'm not sure what you're talking about, all references in the repo link to Stability's internal cluster?

neverix avatar Aug 10 '22 11:08 neverix

? the checkpoint is publicly available from the repo

I'm not sure what you're talking about, all references in the repo link to Stability's internal cluster?

https://github.com/pesser/stable-diffusion#text-to-image

chenxwh avatar Aug 10 '22 12:08 chenxwh

That is not Stable Diffusion, it's an older model that has been available since April at https://github.com/CompVis/latent-diffusion

neverix avatar Aug 10 '22 12:08 neverix

Aware of latent-diffusion. Maybe it should be stated in the readme, similarly someone asked here but still using this way

chenxwh avatar Aug 10 '22 12:08 chenxwh

Yes this specific checkpoint is causing a lot of confusion

neverix avatar Aug 10 '22 12:08 neverix