Update .gitattributes d733b65
Sam Lloyd commited on
How to use EgadZoundsGadzooks/testing with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("EgadZoundsGadzooks/testing")
prompt = "<bumblebee>"
image = pipe(prompt).images[0]How to use EgadZoundsGadzooks/testing with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("EgadZoundsGadzooks/testing", device_map="auto")