mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2026-05-13 14:06:53 +08:00
Update nodes.py
This commit is contained in:
parent
dbd5f09c11
commit
6fb6cba50b
1
nodes.py
1
nodes.py
@ -327,6 +327,7 @@ class DownloadAndLoadHy3DPaintModel:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if compile_args is not None:
|
if compile_args is not None:
|
||||||
|
pipeline.to(device)
|
||||||
torch._dynamo.config.cache_size_limit = compile_args["dynamo_cache_size_limit"]
|
torch._dynamo.config.cache_size_limit = compile_args["dynamo_cache_size_limit"]
|
||||||
if compile_args["compile_transformer"]:
|
if compile_args["compile_transformer"]:
|
||||||
pipeline.unet = torch.compile(pipeline.unet)
|
pipeline.unet = torch.compile(pipeline.unet)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user