meadowrun-dallemini-demo
meadowrun
meadowrun-dallemini-demo | meadowrun | |
---|---|---|
1 | 2 | |
0 | 93 | |
- | - | |
0.0 | 9.1 | |
over 1 year ago | 10 months ago | |
Python | Python | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
meadowrun-dallemini-demo
-
Run Your Own DALL·E Mini (Craiyon) Server on EC2
For the second half of this article, we’ll use meadowdata/meadowrun-dallemini-demo which contains a notebook for running multiple models as sequential batch jobs to generate images using Meadowrun. The combination of models is inspired by jina-ai/dalle-flow.
meadowrun
-
Run Your Own DALL·E Mini (Craiyon) Server on EC2
If you’re anything like us, though, you’ll feel compelled to poke around the code and run the model yourself. We’ll do that in this article using Meadowrun, an open-source library that makes it easy to run Python code in the cloud. For ML models in particular, we just added a feature for requesting GPU machines in a recent release. We’ll also feed the images generated by DALL·E Mini into additional image processing models (GLID-3-xl and SwinIR) to improve the quality of our generated images. Along the way we’ll deal with the speedbumps that come up when running open-source ML models on EC2.
-
Why Starting Python on a Fresh EC2 Instance Takes Over a Minute
So it is more reasonable to cache the download locally for up to 4 hours. That saves us 5–10 seconds on every run.
What are some alternatives?
dalle-playground - A playground to generate images from any text prompt using Stable Diffusion (past: using DALL-E Mini)
glid-3-xl - 1.4B latent diffusion model fine tuning
SwinIR - SwinIR: Image Restoration Using Swin Transformer (official repository)
dalle-flow - 🌊 A Human-in-the-Loop workflow for creating HD images from text
warehouse - The Python Package Index
glid-3-xl - 1.4B latent diffusion model fine tuning
jax - Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more
distribution - Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
latent-diffusion - High-Resolution Image Synthesis with Latent Diffusion Models