Instructions to use ak3385/SD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ak3385/SD with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ak3385/SD", 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
| torch>=2.4.0 | |
| torchvision>=0.19.0 | |
| opencv-python>=4.9.0.80 | |
| diffusers>=0.31.0 | |
| transformers>=4.49.0 | |
| tokenizers>=0.20.3 | |
| accelerate>=1.1.1 | |
| tqdm | |
| imageio | |
| easydict | |
| ftfy | |
| dashscope | |
| imageio-ffmpeg | |
| flash_attn | |
| gradio>=5.0.0 | |
| numpy>=1.23.5,<2 | |