Skip to content

Conversation

hlky
Copy link
Contributor

@hlky hlky commented Dec 16, 2024

What does this PR do?

To match usages of _apply_perturbed_attention_guidance we pass t instead of timestep (which is expanded).

RuntimeError: Boolean value of Tensor with more than one value is ambiguous

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@yiyixuxu @vladmandic

@hlky hlky mentioned this pull request Dec 16, 2024
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

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

thanks!

@yiyixuxu yiyixuxu merged commit 672bd49 into huggingface:main Dec 16, 2024
12 checks passed
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.

3 participants