Forced installation of binary wheel instead of global.
There might be a better way to handle this, but as of now
CuPy is pretty annoying for cross-platform support
- Added Runtime44FilmGrain to NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS
- Included Runtime44FilmGrain in the targets/__init__.py module
- Implemented Runtime44FilmGrain class in targets/images.py to add film grain
noise to images using gaussian, poisson, or speckle modes
- Utilizes CuPy for CUDA and NumPy for CPU/Non-CUDA devices
- Added cupy and cucim to requirements.txt for CUDA operations.
- Updated Runtime44ColorMatch class to handle CUDA devices.
- Included conditional import for match_histograms from cucim.
- Converted tensors to cupy arrays when CUDA is available.
- Removed unnecessary imports and optimized memory usage.
This commit introduces a step increment of 0.01 for the brightness,
contrast, and sharpness settings in the Runtime44ImageEnhance class,
allowing for finer adjustments.
This commit introduces a new Runtime44ImageEnhance class in images.py,
allowing for adjustments to brightness, contrast, and sharpness. It also
refactors the Runtime44TiledMaskSampler in sampler.py to simplify the
conditional structure and correct the indentation for output assignment.