Update nodes.py

This commit is contained in:
kijai 2025-01-31 17:24:05 +02:00
parent dbd5f09c11
commit 6fb6cba50b

View File

@ -327,6 +327,7 @@ class DownloadAndLoadHy3DPaintModel:
)
if compile_args is not None:
pipeline.to(device)
torch._dynamo.config.cache_size_limit = compile_args["dynamo_cache_size_limit"]
if compile_args["compile_transformer"]:
pipeline.unet = torch.compile(pipeline.unet)