Files
automatic/modules/postprocess
CalamitousFelicitousness 76aa949a26 refactor: integrate sharpfin for high-quality image resize
Vendor sharpfin library (Apache 2.0) and add centralized wrapper
module (images_sharpfin.py) replacing torchvision tensor/PIL
conversion and resize operations throughout the codebase.

- Add modules/sharpfin/ vendored library with MKS2021, Lanczos3,
  Mitchell, Catmull-Rom kernels and optional Triton sparse acceleration
- Add modules/images_sharpfin.py wrapper with to_tensor(), to_pil(),
  pil_to_tensor(), normalize(), resize(), resize_tensor()
- Add resize_quality and resize_linearize_srgb settings
- Add MKS2021 and Lanczos3 upscaler entries
- Replace torchvision.transforms.functional imports across 18 files
- to_pil() auto-detects HWC/BHWC layout, adds .round() before uint8
- Sparse Triton path falls back to dense GPU on compilation failure
- Mixed-axis resize splits into two single-axis scale() calls
- Masks and non-sRGB data always use linearize=False
2026-02-11 09:57:37 +01:00
..
2024-07-05 09:29:16 -04:00
2023-09-20 13:07:29 -04:00
2025-02-18 18:47:42 -05:00
2024-01-10 09:45:26 -05:00
2024-12-31 19:42:24 +03:00
2025-12-06 12:33:52 +01:00
2026-02-05 16:55:06 +01:00
2026-02-05 11:21:17 +01:00
2025-02-10 11:24:05 -05:00
2024-01-10 09:45:26 -05:00
2025-07-05 18:33:55 -04:00
2023-09-20 13:07:29 -04:00
2024-01-27 02:54:39 +03:00
2024-10-12 15:16:05 -04:00
2023-09-20 13:07:29 -04:00
2026-01-24 10:28:46 +01:00