mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2026-01-23 20:54:31 +08:00
Update nodes.py
This commit is contained in:
parent
17d964aa37
commit
315dd9aa7a
1
nodes.py
1
nodes.py
@ -717,6 +717,7 @@ class Hy3DSampleMultiView:
|
||||
def process(self, pipeline, ref_image, normal_maps, position_maps, view_size, seed, steps,
|
||||
camera_config=None, scheduler=None, denoise_strength=1.0, samples=None):
|
||||
device = mm.get_torch_device()
|
||||
mm.unload_all_models()
|
||||
mm.soft_empty_cache()
|
||||
torch.manual_seed(seed)
|
||||
generator=torch.Generator(device=pipeline.device).manual_seed(seed)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user