Instructions to use pbarbarant/sd-sonio with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use pbarbarant/sd-sonio with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/sd-turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("pbarbarant/sd-sonio") prompt = "A healthy cardiac image from a Philipps scanner. The image should exhibit a high level of speckle noise like on the ultrasound or sar images." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K