Diffusers How to use LyliaEngine/aMixIllustrious_aMix with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("LyliaEngine/aMixIllustrious_aMix")
prompt = "mechanical parts, solo, damaged, android, science fiction, cable,, 1girl, cyborg, portrait, , , robot, black sclera, cyberpunk, silver pupils, white skin, silver, wires, , silver, lips, cyberpunk, single tear, expressionless, crying with eyes open, colored eyelashes, sad smile, silver trim, silver headgear, looking at viewer, reaching towards viewer, "
image = pipe(prompt).images[0]