Skip to content

Conversation

@sayakpaul
Copy link
Member

No description provided.

@sayakpaul sayakpaul requested a review from yiyixuxu October 9, 2024 18:40
logger = logging.get_logger("diffusers.loaders.lora_pipeline")
logger.setLevel(30)
with CaptureLogger(logger) as cap_logger:
pipeline.load_lora_weights("hf-internal-testing/dora-trained-on-kohya")
Copy link
Member Author

Choose a reason for hiding this comment

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

The warning gets raised when we load the DoRA weights. So, we need to put this line inside the context manager.

@sayakpaul sayakpaul merged commit e16fd93 into main Oct 10, 2024
14 checks passed
@sayakpaul sayakpaul deleted the dora-tests branch October 10, 2024 06:17
sayakpaul added a commit that referenced this pull request Dec 23, 2024
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