Skip to content

Conversation

@KimbingNg
Copy link
Contributor

@KimbingNg KimbingNg commented Sep 15, 2025

HunyuanImage2.1: Implement Hunyuan Mixed APG and Fix Refiner text template

Workflow example:
HunyuanImage-2.1.json

cc @comfyanonymous

@KimbingNg KimbingNg changed the title HunyuanImage2.1: Implement Hunyuan Mixed APG and Fix Refiner text template WIP: HunyuanImage2.1: Implement Hunyuan Mixed APG and Fix Refiner text template Sep 15, 2025


@classmethod
def IS_CHANGED(cls, *args, **kwargs):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is expected behavior for HunyuanMixModeAPG since we need to track current step correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants