These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0 trained on @fffiloni's SD-XL trainer.
The weights were trained on the concept prompt:
in the style of TOK
Use this keyword to trigger your custom model in your prompts.
LoRA for the text encoder was enabled: False.
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
Usage
Make sure to upgrade diffusers to >= 0.19.0:
pip install diffusers --upgrade
In addition make sure to install transformers, safetensors, accelerate as well as the invisible watermark:
import torch
from diffusers import DiffusionPipeline, AutoencoderKL
device = "cuda"if torch.cuda.is_available() else"cpu"
vae = AutoencoderKL.from_pretrained('madebyollin/sdxl-vae-fp16-fix', torch_dtype=torch.float16)
pipe = DiffusionPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
vae=vae, torch_dtype=torch.float16, variant="fp16",
use_safetensors=True
)
pipe.to(device)
# This is where you load your trained weights
specific_safetensors = "pytorch_lora_weights.safetensors"
lora_scale = 0.9
pipe.load_lora_weights(
'squaadinc/1712063687890x664632431632669300',
weight_name = specific_safetensors,
# use_auth_token = True
)
prompt = "A majestic in the style of TOK jumping from a big stone at night"
image = pipe(
prompt=prompt,
num_inference_steps=50,
cross_attention_kwargs={"scale": lora_scale}
).images[0]
Runs of habulaj 1712063687890x664632431632669300 on huggingface.co
8
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
5
30-day runs
More Information About 1712063687890x664632431632669300 huggingface.co Model
1712063687890x664632431632669300 huggingface.co
1712063687890x664632431632669300 huggingface.co is an AI model on huggingface.co that provides 1712063687890x664632431632669300's model effect (), which can be used instantly with this habulaj 1712063687890x664632431632669300 model. huggingface.co supports a free trial of the 1712063687890x664632431632669300 model, and also provides paid use of the 1712063687890x664632431632669300. Support call 1712063687890x664632431632669300 model through api, including Node.js, Python, http.
1712063687890x664632431632669300 huggingface.co is an online trial and call api platform, which integrates 1712063687890x664632431632669300's modeling effects, including api services, and provides a free online trial of 1712063687890x664632431632669300, you can try 1712063687890x664632431632669300 online for free by clicking the link below.
habulaj 1712063687890x664632431632669300 online free url in huggingface.co:
1712063687890x664632431632669300 is an open source model from GitHub that offers a free installation service, and any user can find 1712063687890x664632431632669300 on GitHub to install. At the same time, huggingface.co provides the effect of 1712063687890x664632431632669300 install, users can directly use 1712063687890x664632431632669300 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
1712063687890x664632431632669300 install url in huggingface.co: