AlekseyCalvin commited on
Commit
4e3ca75
·
verified ·
1 Parent(s): 17b4f96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -35,10 +35,6 @@ pipe = FluxWithCFGPipeline.from_pretrained(
35
  # pipe.set_adapters("fast")
36
  # pipe.fuse_lora(adapter_names=["fast"], lora_scale=1.0)
37
  pipe.to("cuda")
38
- pipe.transformer.to(memory_format=torch.channels_last)
39
- pipe.transformer = torch.compile(
40
- pipe.transformer, mode="max-autotune", fullgraph=True
41
- )
42
  torch.cuda.empty_cache()
43
 
44
  # Load LoRAs from JSON file
 
35
  # pipe.set_adapters("fast")
36
  # pipe.fuse_lora(adapter_names=["fast"], lora_scale=1.0)
37
  pipe.to("cuda")
 
 
 
 
38
  torch.cuda.empty_cache()
39
 
40
  # Load LoRAs from JSON file