mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-01-23 10:44:29 +08:00
remove prints
This commit is contained in:
parent
5a15eea036
commit
7364ce7d2d
@ -490,7 +490,7 @@ class TorchCompileCosmosModel:
|
||||
if not self._compiled:
|
||||
try:
|
||||
for name, block in diffusion_model.blocks.items():
|
||||
print(f"Compiling block {name}")
|
||||
#print(f"Compiling block {name}")
|
||||
compiled_block = torch.compile(block, mode=mode, dynamic=dynamic, fullgraph=fullgraph, backend=backend)
|
||||
m.add_object_patch(f"diffusion_model.blocks.{name}", compiled_block)
|
||||
#diffusion_model.blocks[name] = compiled_block
|
||||
@ -503,7 +503,6 @@ class TorchCompileCosmosModel:
|
||||
"dynamic": dynamic,
|
||||
}
|
||||
setattr(m.model, "compile_settings", compile_settings)
|
||||
print(model.model.diffusion_model.blocks)
|
||||
|
||||
except:
|
||||
raise RuntimeError("Failed to compile model")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user