MCPcopy Create free account
hub / github.com/Lightricks/ComfyUI-LTXVideo / LTXVTiledSampler

Class LTXVTiledSampler

tiled_sampler.py:15–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 name="LTXVTiledSampler",
14)
15class LTXVTiledSampler:
16
17 @classmethod
18 def INPUT_TYPES(s):
19 return {
20 "required": {
21 "model": ("MODEL",),
22 "vae": ("VAE",),
23 "noise": ("NOISE",),
24 "sampler": ("SAMPLER",),
25 "sigmas": ("SIGMAS",),
26 "guider": ("GUIDER",),
27 "latents": ("LATENT",),
28 "horizontal_tiles": ("INT", {"default": 1, "min": 1, "max": 6}),
29 "vertical_tiles": ("INT", {"default": 1, "min": 1, "max": 6}),
30 "overlap": ("INT", {"default": 1, "min": 1, "max": 8}),
31 "latents_cond_strength": (
32 "FLOAT",
33 {"default": 0.15, "min": 0.0, "max": 1.0, "step": 0.01},
34 ),
35 "boost_latent_similarity": (
36 "BOOLEAN",
37 {"default": False},
38 ),
39 "crop": (["center", "disabled"], {"default": "disabled"}),
40 },
41 "optional": {
42 "optional_cond_images": ("IMAGE",),
43 "optional_cond_indices": ("STRING", {"default": "0"}),
44 "images_cond_strengths": ("STRING", {"default": "0.9"}),
45 },
46 }
47
48 RETURN_TYPES = (
49 "LATENT",
50 "LATENT",
51 )
52 RETURN_NAMES = (
53 "output",
54 "denoised_output",
55 )
56
57 FUNCTION = "sample"
58
59 CATEGORY = "sampling"
60
61 def sample(
62 self,
63 model,
64 vae,
65 noise,
66 sampler,
67 sigmas,
68 guider,
69 latents,
70 horizontal_tiles,
71 vertical_tiles,
72 overlap,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected