ameerazam08
commited on
Update main.py
Browse files
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 |
-
|
51 |
-
)
|
52 |
|
53 |
-
self.models_b = WurstCoreB.Models(
|
54 |
-
|
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 |
|