* Allow disabling pe in flux code for some other models.
* Initial Hunyuan3Dv2 implementation.
Supports the multiview, mini, turbo models and VAEs.
* Fix orientation of hunyuan 3d model.
* A few fixes for the hunyuan3d models.
* Update frontend to 1.13 (#7331)
* Add backend primitive nodes (#7328)
* Add backend primitive nodes
* Add control after generate to int primitive
* Nodes to convert images to YUV and back.
Can be used to convert an image to black and white.
* Update frontend to 1.14 (#7343)
* Native LotusD Implementation (#7125)
* draft pass at a native comfy implementation of Lotus-D depth and normal est
* fix model_sampling kludges
* fix ruff
---------
Co-authored-by: comfyanonymous <121283862+comfyanonymous@users.noreply.github.com>
* Automatically set the right sampling type for lotus.
* support output normal and lineart once (#7290)
* [nit] Format error strings (#7345)
* ComfyUI version v0.3.27
* Fallback to pytorch attention if sage attention fails.
* Add model merging node for WAN 2.1
* Add Hunyuan3D to readme.
* Support more float8 types.
* Add CFGZeroStar node.
Works on all models that use a negative prompt but is meant for rectified
flow models.
* Support the WAN 2.1 fun control models.
Use the new WanFunControlToVideo node.
* Add WanFunInpaintToVideo node for the Wan fun inpaint models.
* Update frontend to 1.14.6 (#7416)
Cherry-pick the fix: https://github.com/Comfy-Org/ComfyUI_frontend/pull/3252
* Don't error if wan concat image has extra channels.
* ltxv: fix preprocessing exception when compression is 0. (#7431)
* Remove useless code.
* Fix latent composite node not working when source has alpha.
* Fix alpha channel mismatch on destination in ImageCompositeMasked
* Add option to store TE in bf16 (#7461)
* User missing (#7439)
* Ensuring a 401 error is returned when user data is not found in multi-user context.
* Returning a 401 error when provided comfy-user does not exists on server side.
* Fix comment.
This function does not support quads.
* MLU memory optimization (#7470)
Co-authored-by: huzhan <huzhan@cambricon.com>
* Fix alpha image issue in more nodes.
* Fix problem.
* Disable partial offloading of audio VAE.
* Add activations_shape info in UNet models (#7482)
* Add activations_shape info in UNet models
* activations_shape should be a list
* Support 512 siglip model.
* Show a proper error to the user when a vision model file is invalid.
* Support the wan fun reward loras.
---------
Co-authored-by: comfyanonymous <comfyanonymous@protonmail.com>
Co-authored-by: Chenlei Hu <hcl@comfy.org>
Co-authored-by: thot experiment <94414189+thot-experiment@users.noreply.github.com>
Co-authored-by: comfyanonymous <121283862+comfyanonymous@users.noreply.github.com>
Co-authored-by: Terry Jia <terryjia88@gmail.com>
Co-authored-by: Michael Kupchick <michael@lightricks.com>
Co-authored-by: BVH <82035780+bvhari@users.noreply.github.com>
Co-authored-by: Laurent Erignoux <lerignoux@gmail.com>
Co-authored-by: BiologicalExplosion <49753622+BiologicalExplosion@users.noreply.github.com>
Co-authored-by: huzhan <huzhan@cambricon.com>
Co-authored-by: Raphael Walker <slickytail.mc@gmail.com>
* cli_args: Add --duplicate-check-hash-function.
* server.py: compare_image_hash configurable hash function
Uses an argument added in cli_args to specify the type of hashing to default to for duplicate hash checking. Uses an `eval()` to identify the specific hashlib class to utilize, but ultimately safely operates because we have specific options and only those options/choices in the arg parser. So we don't have any unsafe input there.
* Add hasher() to node_helpers
* hashlib selection moved to node_helpers
* default-hashing-function instead of dupe checking hasher
This makes a default-hashing-function option instead of previous selected option.
* Use args.default_hashing_function
* Use safer handling for node_helpers.hasher()
Uses a safer handling method than `eval` to evaluate default hashing function.
* Stray parentheses are evil.
* Indentation fix.
Somehow when I hit save I didn't notice I missed a space to make indentation work proper. Oops!
* Update node_helpers.py to use generic pillow wrapper to resolve multiple meta-data related issues.
replaced open_image function with a generic pillow function that takes Pil functions as a dependency injection and applies the ImageFile.LOAD_TRUNCATED_IMAGES try except fix to them.
This provides an extensible function to handle related errors that can wrap offending functions when discovered without the need to repeat code.
* Update a few Pil functions to use node_helpers.pillow wrapper
Update a Pil function calls in a few locations to use the generic node_helpers.pillow wrapper that takes the function as a dependency injection and uses the try except method with ImageFIle.LOAD_TRUNCATED_IMAGES solution
* Corrected comment in issue #s fixed.
* Update node_helpers.py to remove import of Image from PIL
import of Image is no longer required as functions are Injected
* Fix issue with how PIL loads small PNG files nodes.py
Added flag to prevent ValueError: Decompressed Data Too Large
when loading PNG images with large meta data such as large embedded color profiles
* Update LoadImage node to fix error when loading PNG's in nodes.py
Fixed Value Error: Decompressed Data Too Large thrown by PIL when attempting to opening PNG files with large embedded ICC colorspaces by setting the follow flag to true when loading png images: ImageFile.LOAD_TRUNCATED_IMAGES = True
* Update node_helpers.py to include open_image helper function
open_image includes try except to catch Pillow Value Errors that occur when large ICC profiles are embedded in images.
* Update LoadImage node to use open_image helper function inplace of Image.open
open_image helper function in node_helpers.py fixes a Pillow error when attempting to open images with large embedded ICC profiles by adding an exception handler to load the image with truncated meta data if regular loading is not possible.