Update nodes.py
This commit is contained in:
@@ -71,11 +71,11 @@ class DownloadAndLoadCogVideoModel:
|
||||
pipe = CogVideoXPipeline(vae, transformer, scheduler)
|
||||
|
||||
if torch_compile:
|
||||
torch._dynamo.config.suppress_errors = True
|
||||
torch._inductor.config.conv_1x1_as_mm = True
|
||||
torch._inductor.config.coordinate_descent_tuning = True
|
||||
torch._inductor.config.epilogue_fusion = False
|
||||
torch._inductor.config.coordinate_descent_check_all_directions = True
|
||||
torch._inductor.config.num_stages = 1
|
||||
pipe.transformer.to(memory_format=torch.channels_last)
|
||||
pipe.transformer = torch.compile(pipe.transformer, mode="max-autotune", fullgraph=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user