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
- 916 kB xet
- 949 kB xet
- 880 kB xet
- 761 kB xet
- 781 kB xet
- 945 kB xet
- 876 kB xet
- 850 kB xet
- 850 kB xet
- 964 kB xet
- 698 kB xet
- 755 kB xet
- 625 kB xet
- 817 kB xet
- 1.11 MB xet
- 1.17 MB xet
- 884 kB xet
- 1.13 MB xet
- 902 kB xet
- 1.03 MB xet
- 269 kB xet
- 317 kB xet
- 275 kB xet
- 178 kB xet
- 325 kB xet
- 233 kB xet
- 208 kB xet
- 282 kB xet
- 351 kB xet