Closed EnricoBeltramo closed 10 months ago
hi, @EnricoBeltramo , meet the same question, did you finally solve it?
Have you generated the pipeline in the diffusers format from the single checkpoint? If so, could you provide a link to the serialized pipeline?
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Describe the bug
I tried to fine tuning a model from a checkpoint (i.e https://civitai.com/models/119202/talmendoxl-sdxl-uncensored-full-model)I converted the checkpoint to diffuser format using this library: https://github.com/waifu-diffusion/sdxl-ckpt-converter/
The model converted works fine for inference and the training script works fine if I use a standard base i.e.: "stabilityai/stable-diffusion-xl-base-1.0", but I have error when start from converted model
Reproduction
download checkpoint: https://civitai.com/models/119202/talmendoxl-sdxl-uncensored-full-model convert using: https://github.com/waifu-diffusion/sdxl-ckpt-converter/ tstart training with: !accelerate launch train_text_to_image_lora_sdxl.py \ --pretrained_model_name_or_path="/content/drive/MyDrive/talmendoxlSDXL_v11Beta" \ --pretrained_vae_model_name_or_path="madebyollin/sdxl-vae-fp16-fix" \ --dataset_name="$INSTANCE_DIR_PARSED" \ --caption_column="text" \ --resolution=1024 \ --train_batch_size=1 \ --num_train_epochs=$TRAIN_EPOCHS \ --checkpointing_steps=1000000 \ --learning_rate=$LEARNING_RATE \ --lr_scheduler="constant" \ --lr_warmup_steps=0 \ --seed=42 \ --output_dir="$OUTPUT_DIR" \ --enable_xformers_memory_efficient_attention \ --gradient_checkpointing \ --mixed_precision="fp16" \ --use_8bit_adam
Logs
System Info
diffusers
version: 0.21.0.dev0Who can help?
@williamberman, @patrickvonplaten, @sayakpau