Instructions to use yevvonlim/mam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yevvonlim/mam with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("yevvonlim/mam", 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
Ctrl+K
- 81 kB
- 49 kB xet
- 43.9 kB xet
- 157 kB xet
- 98.9 kB xet
- 119 kB xet
- 99.6 kB xet
- 41.7 kB xet
- 48.4 kB xet
- 53.3 kB xet
- 127 kB xet
- 80.6 kB xet
- 56.2 kB xet
- 76.3 kB xet
- 55.7 kB xet
- 45.3 kB xet
- 93.3 kB xet
- 59.1 kB xet
- 52.5 kB xet
- 65.8 kB xet
- 47 kB xet
- 29.3 kB xet
- 53.5 kB xet
- 77.3 kB xet
- 57.4 kB xet
- 45.3 kB xet
- 72.6 kB
- 45.5 kB xet
- 44.9 kB xet
- 44.3 kB
- 41.1 kB
- 66.9 kB
- 55.3 kB
- 52.3 kB
- 59.3 kB
- 95 kB
- 35.3 kB
- 54.7 kB
- 105 kB xet
- 74.9 kB
- 45.6 kB
- 57.2 kB
- 117 kB xet
- 57.3 kB
- 34.5 kB
- 51.9 kB
- 38.5 kB
- 513 kB xet
- 207 kB xet
- 124 kB xet