Remove debug logging from FlashVSR SegmentUpscale
Issue was a workflow wiring mistake, not a code bug. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
3
nodes.py
3
nodes.py
@@ -1895,8 +1895,6 @@ class FlashVSRSegmentUpscale:
|
|||||||
from .flashvsr_arch.models.utils import clean_vram
|
from .flashvsr_arch.models.utils import clean_vram
|
||||||
clean_vram()
|
clean_vram()
|
||||||
|
|
||||||
logger.info(f"[FlashVSR Segment {segment_index}] upscale result: {result.shape}, dtype={result.dtype}")
|
|
||||||
|
|
||||||
# Handle crossfade blending with previous segment's tail
|
# Handle crossfade blending with previous segment's tail
|
||||||
if segment_index > 0 and overlap_frames > 0 and hasattr(model, '_overlap_tail'):
|
if segment_index > 0 and overlap_frames > 0 and hasattr(model, '_overlap_tail'):
|
||||||
prev_tail = model._overlap_tail # [blend_frames, H, W, C] on CPU
|
prev_tail = model._overlap_tail # [blend_frames, H, W, C] on CPU
|
||||||
@@ -1923,5 +1921,4 @@ class FlashVSRSegmentUpscale:
|
|||||||
else:
|
else:
|
||||||
model._overlap_tail = None
|
model._overlap_tail = None
|
||||||
|
|
||||||
logger.info(f"[FlashVSR Segment {segment_index}] final output: {result.shape}, dtype={result.dtype}, device={result.device}")
|
|
||||||
return (result, model)
|
return (result, model)
|
||||||
|
|||||||
Reference in New Issue
Block a user