How to use profpeng/cgtest with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.2-I2V-A14B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("profpeng/cgtest") prompt = "A woman is straddling a man and having sex with him. She bounces up and down on top of the man. The view is from the side or The view is from the front and at a 45 degree angle" image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!