Text-to-Audio
Diffusers
English
FlaxStableDiffusionPipeline
TPU
JAX
Flax
stable-diffusion
text-to-image
Instructions to use flax/openjourney-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use flax/openjourney-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("flax/openjourney-v2", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add `scale_factor` to vae config. (#1)
- Add `scale_factor` to vae config. (bdc899d65ed916d832b45f5ced6dce99cbc2641e) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>8630d59
-
Create README.md
c0f2dd0 -
flax
894c1b2 -
initial commit
dfd522e