Instructions to use Guoyanjun/MemorizeWhenNeed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Guoyanjun/MemorizeWhenNeed with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Guoyanjun/MemorizeWhenNeed", 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
- 574 kB xet
- 1.04 MB xet
- 1.23 MB xet
- 915 kB xet
- 1.34 MB xet
- 1.39 MB xet
- 470 kB xet
- 926 kB xet
- 531 kB xet
- 2.81 MB xet
- 1.34 MB xet
- 611 kB xet
- 528 kB xet
- 520 kB xet
- 945 kB xet
- 667 kB xet
- 678 kB xet
- 2.39 MB xet
- 633 kB xet
- 527 kB xet
- 397 kB xet
- 310 kB xet
- 527 kB xet
- 390 kB xet
- 419 kB xet
- 489 kB xet
- 1.7 MB xet
- 720 kB xet
- 923 kB xet
- 736 kB xet
- 676 kB xet
- 1.03 MB xet
- 2.38 MB xet
- 1.77 MB xet
- 2.39 MB xet
- 770 kB xet
- 448 kB xet
- 477 kB xet
- 2.01 MB xet
- 1.22 MB xet
- 727 kB xet
- 1.4 MB xet