Text-to-Image
Diffusers
diffusers-training
lora
template:sd-lora
stable-diffusion-xl
stable-diffusion-xl-diffusers
Instructions to use preetham/labra_model2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use preetham/labra_model2 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/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("preetham/labra_model2") prompt = "A photo of sks dog in a bucket" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
- Xet hash:
- 7757695d63a1595d67d2d7a1a7bd1fc35a101608d6febebd66b67643c6107bca
- Size of remote file:
- 47.4 MB
- SHA256:
- 9babe4187b16a32d48b0f1ec549ef86bbc9021ae1194b8a4db0191fb8bcf18af
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.