Skip to content

Fix: AttributeError in TangentialClassifierFreeGuidance.is_conditional - #14809

Open
mayuriphad wants to merge 1 commit into
huggingface:mainfrom
mayuriphad:fix-tangential-cfg-is-conditional
Open

mayuriphad wants to merge 1 commit into
huggingface:mainfrom
mayuriphad:fix-tangential-cfg-is-conditional

Conversation

@mayuriphad

Copy link
Copy Markdown

This PR resolves an \AttributeError\ in \TangentialClassifierFreeGuidance.is_conditional. The property was incorrectly referencing an undefined attribute _num_outputs_prepared\ instead of _count_prepared, which is the variable tracked by the base class. Fixes #14794.

Copilot AI lite review requested due to automatic review settings September 18, 2026 10:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added guiders fixes-issue size/S PR with diff < 50 LOC labels Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fixes-issue guiders size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TangentialClassifierFreeGuidance.is_conditional reads an attribute that does not exist

2 participants