How to use LyliaEngine/Dwarf with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LyliaEngine/Pony_Diffusion_V6_XL", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("LyliaEngine/Dwarf") prompt = "score_9, score_8_up, score_7_up, score_6_up, score_5_up, score_4_up, (A dwarf from the world of warcraft, beautiful green eyes, he is in full green armor and holding an axe while standing in a magical forest. The background features colorfull magic mushrooms:1.2) " image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!