ameerazam08 commited on
Commit
73c0083
·
verified ·
1 Parent(s): 067eb4e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +6 -6
main.py CHANGED
@@ -46,13 +46,13 @@ class Upscale_CaseCade:
46
  self.extras_b.sampling_configs['shift'] = 1
47
  self.extras_b.sampling_configs['timesteps'] = 10
48
  self.extras_b.sampling_configs['t_start'] = 1.0
49
- self.models = ControlNetCore.Models(
50
- **{**self.models.to_dict(), 'generator': torch.compile(self.models.generator, mode="reduce-overhead", fullgraph=True)}
51
- )
52
 
53
- self.models_b = WurstCoreB.Models(
54
- **{**self.models_b.to_dict(), 'generator': torch.compile(self.models_b.generator, mode="reduce-overhead", fullgraph=True)}
55
- )
56
 
57
 
58
 
 
46
  self.extras_b.sampling_configs['shift'] = 1
47
  self.extras_b.sampling_configs['timesteps'] = 10
48
  self.extras_b.sampling_configs['t_start'] = 1.0
49
+ # self.models = ControlNetCore.Models(
50
+ # **{**self.models.to_dict(), 'generator': torch.compile(self.models.generator, mode="reduce-overhead", fullgraph=True)}
51
+ # )
52
 
53
+ # self.models_b = WurstCoreB.Models(
54
+ # **{**self.models_b.to_dict(), 'generator': torch.compile(self.models_b.generator, mode="reduce-overhead", fullgraph=True)}
55
+ # )
56
 
57
 
58