Skip to content

Commit

Permalink
fix_sdxl_light_test_scrip (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
clackhan authored Mar 18, 2024
1 parent 293d7cb commit cef3251
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
from diffusers import StableDiffusionXLPipeline
from onediffx import compile_pipe, compiler_config, save_pipe, load_pipe
from huggingface_hub import hf_hub_download
from diffusers.utils import USE_PEFT_BACKEND

try:
USE_PEFT_BACKEND = diffusers.utils.USE_PEFT_BACKEND
except Exception as e:
USE_PEFT_BACKEND = False

parser = argparse.ArgumentParser()
parser.add_argument(
Expand Down

0 comments on commit cef3251

Please sign in to comment.