12 Commits
Author SHA1 Message Date
hugovntr 6b2387a387 fix(dependencies): update cupy to cupy-cuda12x in requirements.txt
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
2024-07-01 10:02:00 +02:00
hugovntr 8d4b4e3531 fix(targets/{colormatch,images}): optimize memory handling
Moved numpy conversion inside CPU branch to avoid unnecessary
conversions when using CUDA. Added memory pool cleanup for CUDA to
prevent memory leaks.
2024-06-11 12:48:59 +02:00
hugovntr ab0112235f chore: readme update 2024-06-10 12:34:46 +02:00
hugovntr 666e1fde46 feat(nodes/targets): Add Runtime44FilmGrain for image noise effect
- 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
2024-06-10 12:31:56 +02:00
hugovntr 9b882ca19f feat(runtime/colormatch): add CUDA support for histogram matching
- 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.
2024-06-10 12:31:35 +02:00
hugovntr 55344012ea chore (docs): Add Iterative Upscale Factor node for determining upscale factor and Mask Sampler & Tiled Mask Sampler for targeted diffusion. 2024-05-05 14:17:32 +02:00
hugovntr 43359a6d26 fix(images): add step parameter to image enhancement controls
This commit introduces a step increment of 0.01 for the brightness,
contrast, and sharpness settings in the Runtime44ImageEnhance class,
allowing for finer adjustments.
2024-05-02 18:53:02 +02:00
hugovntr b51dbbb59a feat: add Runtime44ImageEnhance to various module mappings
This commit introduces the `Runtime44ImageEnhance` class across several modules, updating class imports and mappings to include this new feature.
2024-05-02 18:49:05 +02:00
hugovntr d6b3061be4 feat(targets): add image enhancement class and streamline sampler logic
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.
2024-05-02 18:48:41 +02:00
hugovntr 508efad9f4 feat (v1.1.0): Add new node + Speed improvement for Tiled Mask Sample 2024-05-01 16:49:56 +02:00
Hugo 37e2947c71 Update README.md 2024-05-01 14:18:23 +02:00
hugovntr f5f068e928 🎉 Initial commit 2024-05-01 14:17:01 +02:00