LPX55 commited on
Commit
2d87b1e
·
verified ·
1 Parent(s): 366a699

Update optimized.py

Browse files
Files changed (1) hide show
  1. optimized.py +1 -1
optimized.py CHANGED
@@ -23,7 +23,7 @@ pipe = FluxControlNetPipeline.from_pretrained(
23
  token=huggingface_token
24
  )
25
  # Add to your pipeline initialization:
26
- # pipe.enable_xformers_memory_efficient_attention()
27
  # pipe.enable_vae_slicing() # Batch processing of VAE
28
  pipe.enable_model_cpu_offload() # Use with accelerate
29
 
 
23
  token=huggingface_token
24
  )
25
  # Add to your pipeline initialization:
26
+ pipe.enable_xformers_memory_efficient_attention()
27
  # pipe.enable_vae_slicing() # Batch processing of VAE
28
  pipe.enable_model_cpu_offload() # Use with accelerate
29