chunk_content: --lora_r 16 \
    --lora_alpha 27 \
    --lora_text_encoder_r 16 \
    --lora_text_encoder_alpha 17 \
    --learning_rate=1e-4 \
    --gradient_accumulation_steps=1 \
    --gradient_checkpointing \
    --max_train_steps=800
  
  Inference with a single adapter
  	
  To run inference with the fine-tuned model, first specify the base model with which the fine-tuned LoRA weights will be combined:
  
  
  	Copied
  import os
  import torch
  
  from diffusers import StableDiffusionPi