Since many many popular LoRA models are shared in .safetensors format, and the end users love LoRA very much as it really perform very well in generating great images, it's quite important for us developers that diffusers could have a generic approach/script to convert the .safetensors LoRA...
I am trying to convert a LORA safetensor into a .bin so it can be used in the StableDiffusionPipeline, for example: from diffusers import StableDiffusionPipeline pipe = StableDiffusionPipeline.from_pretrained(sd_model_path, torch_dtype=t...
python scripts/convert_original_stable_diffusion_to_diffusers.py --checkpoint_path ~/Downloads/realisticStockPhoto_v10.safetensors --from_safetensors --dump_path ai_directory/sdxl/realisticStockPhoto_v10 Error: Traceback (most recent call last): File "/Users/sarit/study/diffusers/scripts/convert...
Same question, how to convert sdxl diffusers to safetensors? Member sayakpauladded thecontributions-welcomelabelAug 9, 2023 This was referencedAug 13, 2023 github-actionsbotadded thestaleIssues that haven't received updateslabelSep 5, 2023
# lora_model_path = "<PATH-LoRA-trained-Xlabs.safetensors>" pipe.load_lora_weights(lora_model_path, adapter_name="lora_A") Logs When a custom LoRA trained with Xlabs code containing single_blocks is loaded: File"/home/.pyenv/versions/xflux/lib/python3.10/site-packages/diffusers/loaders...
Stable diffusion model failed to load Loading weights [e948ca5dc4] from /Users/nick/PycharmProjects/stable-diffusion-webui/models/Stable-diffusion/absolutereality_v16.safetensors Creating model from config: /Users/nick/PycharmProjects/stable-diffusion-webui/configs/v1-inference.yaml Traceback (most...
create_diffusers_controlnet_model_from_ldm, create_unet_diffusers_config) from safetensors import safe_open import comfy.model_management @@ -43,16 +45,17 @@ def INPUT_TYPES(cls): "width_sdxl": ("INT", {"default": 1024, "min": 64, "max": 4096, "step": 8}), "height_sdxl"...
Dreambooth requirements... [+] torch version 1.13.1+cu117 installed. [+] torchvision version 0.14.1+cu117 installed. [+] bitsandbytes version 0.35.4 installed. [+] diffusers version 0.14.0 installed. [+] transformers version 4.26.1 installed. [+] xformers version 0.0.17.dev464 ...
After prepare_dataset, a type error occurred when using load_tensors for training logs train_text_to_video_lora.sh #!/bin/bash export TORCH_LOGS="+dynamo,recompiles,graph_breaks" export TORCHDYNAMO_VERBOSE=1 export WANDB_MODE="online" export NCCL_P2P_DISABLE=1 export TORCH_NCCL_ENABLE_...