WIP: HunyuanImage2.1: Implement Hunyuan Mixed APG and Fix Refiner text template#9881
Closed
KimbingNg wants to merge 2 commits intoComfy-Org:masterfrom
Closed
WIP: HunyuanImage2.1: Implement Hunyuan Mixed APG and Fix Refiner text template#9881KimbingNg wants to merge 2 commits intoComfy-Org:masterfrom
KimbingNg wants to merge 2 commits intoComfy-Org:masterfrom
Conversation
Kosinkadink
reviewed
Sep 15, 2025
|
|
||
|
|
||
| @classmethod | ||
| def IS_CHANGED(cls, *args, **kwargs): |
Member
There was a problem hiding this comment.
You should remove IS_CHANGED from this node. IS_CHANGED is intended to override the conditions for re-running a node, where if the returned value is the same as the run before, the node won't execute, and if it's different it will execute.
The function is named oddly, it is not intended to be returning a boolean to do something special. In this case, since it always returns True in this code, this node would only ever run just once when placed in the graph no matter if any of the inputs change afterwards.
Contributor
Author
There was a problem hiding this comment.
This is expected behavior for HunyuanMixModeAPG since we need to track current step correctly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HunyuanImage2.1: Implement Hunyuan Mixed APG and Fix Refiner text template
Workflow example:
HunyuanImage-2.1.json
cc @comfyanonymous