aifartist commited on
Commit
92a23e0
·
verified ·
1 Parent(s): 01ba090

Update gradio-app.py

Browse files
Files changed (1) hide show
  1. gradio-app.py +1 -0
gradio-app.py CHANGED
@@ -45,6 +45,7 @@ if TORCH_COMPILE:
45
  #pipe.vae = torch.compile(pipe.vae, mode=optmode)
46
  doCompile = True
47
  if doCompile:
 
48
  config = CompilationConfig.Default()
49
 
50
  try:
 
45
  #pipe.vae = torch.compile(pipe.vae, mode=optmode)
46
  doCompile = True
47
  if doCompile:
48
+ from sfast.compilers.diffusion_pipeline_compiler import (compile, compile_unet, compile_vae, CompilationConfig)
49
  config = CompilationConfig.Default()
50
 
51
  try: