How to use yur1xfd/a3d_lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ckpt/In-Context-LoRA", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("yur1xfd/a3d_lora") prompt = "This is a four-panel image which illustrates a pair of geometrically aligned objects in front and back side views. The [TOP-LEFT] shows a <cat animal> from the front side view. The [TOP-RIGHT] shows the same <cat animal> from the back side view. The [BOTTOM-LEFT] shows a <dog animal> from the front side view. The [BOTTOM-RIGHT] shows the same <dog animal> from the front side view." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!