Instructions to use wofmanaf/sd-knowledge-model-lora-sdxl-ft-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wofmanaf/sd-knowledge-model-lora-sdxl-ft-encoder with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("wofmanaf/sd-knowledge-model-lora-sdxl-ft-encoder") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download image_1.png from wofmanaf/sd-knowledge-model-lora-sdxl-ft-encoder: direct link, hf CLI and curl.
- Browser
- Download file 897 kB
-
https://huggingface.co/wofmanaf/sd-knowledge-model-lora-sdxl-ft-encoder/resolve/main/image_1.png
- Command line
-
hf download hf://wofmanaf/sd-knowledge-model-lora-sdxl-ft-encoder/image_1.png
-
curl -L -o image_1.png https://huggingface.co/wofmanaf/sd-knowledge-model-lora-sdxl-ft-encoder/resolve/main/image_1.png
897 kB
