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

Class LTXVSpatioTemporalTiledVAEDecode

tiled_vae_decode.py:274–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272 name="LTXVSpatioTemporalTiledVAEDecode",
273)
274class LTXVSpatioTemporalTiledVAEDecode(LTXVTiledVAEDecode):
275
276 @classmethod
277 def INPUT_TYPES(s):
278 return {
279 "required": {
280 "vae": ("VAE", {"tooltip": "The VAE to use."}),
281 "latents": ("LATENT", {"tooltip": "The latent samples to decode."}),
282 "spatial_tiles": (
283 "INT",
284 {
285 "default": 4,
286 "min": 1,
287 "max": 8,
288 "tooltip": "The number of spatial tiles to use, horizontal and vertical.",
289 },
290 ),
291 "spatial_overlap": (
292 "INT",
293 {
294 "default": 1,
295 "min": 0,
296 "max": 8,
297 "tooltip": "The overlap between the spatial tiles. (in latent frames)",
298 },
299 ),
300 "temporal_tile_length": (
301 "INT",
302 {
303 "default": 16,
304 "min": 2,
305 "max": 1000,
306 "tooltip": "The length of the temporal tile to use for the sampling, in latent frames, including the overlapping region.",
307 },
308 ),
309 "temporal_overlap": (
310 "INT",
311 {
312 "default": 1,
313 "min": 0,
314 "max": 8,
315 "tooltip": "The overlap between the temporal tiles, in latent frames.",
316 },
317 ),
318 "last_frame_fix": (
319 "BOOLEAN",
320 {
321 "default": False,
322 "tooltip": "If true, the last frame will be repeated and discarded after the decoding.",
323 },
324 ),
325 "working_device": (
326 ["cpu", "auto"],
327 {
328 "default": "auto",
329 "tooltip": "The device to use for the decoding. auto->same as the latents.",
330 },
331 ),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected