Instructions to use TensorVizion/StableDiffusion-1.4-Pruned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TensorVizion/StableDiffusion-1.4-Pruned with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TensorVizion/StableDiffusion-1.4-Pruned", dtype=torch.bfloat16, device_map="cuda") prompt = "A high tech solarpunk utopia in the Amazon rainforest" image = pipe(prompt).images[0] - Pruna AI
How to use TensorVizion/StableDiffusion-1.4-Pruned with Pruna AI:
from pruna import PrunaModel pip install -U diffusers transformers accelerate
from pruna import PrunaModel import torch # switch to "mps" for apple devices pipe = PrunaModel.from_pretrained("TensorVizion/StableDiffusion-1.4-Pruned", dtype=torch.bfloat16, device_map="cuda") prompt = "A high tech solarpunk utopia in the Amazon rainforest" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
- Xet hash:
- dbdc33f894d1b34811dc48a79c7a8d5ff27c0a30e4b30eb89b734a568ff46880
- Size of remote file:
- 3.64 MB
- SHA256:
- 8e019f9349caf5f9bb92514b0e4fc00c92841aef6ae8df9d833d975c623b7c72
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.