release: v2.5.12 - fix color artifacts regression from in-place transform ops

This commit is contained in:
Adrien Toupet
2025-11-28 17:50:40 -05:00
parent 6f784b1324
commit 16508d353d
4 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -77,9 +77,9 @@ def prepare_video_transforms(resolution: int, max_resolution: int = 0, debug: Op
downsample_only=False,
max_resolution=max_resolution,
),
Lambda(lambda x: x.clamp_(0.0, 1.0)),
Lambda(lambda x: torch.clamp(x, 0.0, 1.0)),
DivisiblePad((16, 16)),
Normalize(0.5, 0.5, inplace=True),
Normalize(0.5, 0.5),
Lambda(lambda x: x.permute(1, 0, 2, 3)), # t c h w -> c t h w (faster than Rearrange)
])
+1 -1
View File
@@ -4,7 +4,7 @@ Only includes constants actually used in the codebase
"""
# Version information
__version__ = "2.5.11"
__version__ = "2.5.12"
import os
import warnings