Skip to content

Conversation

@hlky
Copy link
Contributor

@hlky hlky commented Feb 7, 2025

What does this PR do?

Follow up to #10714 for ModelMixin's from_pretrained

from diffusers import AutoencoderKL

model = AutoencoderKL.from_pretrained("")
(variable) model: Any

With the change

(variable) model: AutoencoderKL

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

@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 7fb481f into huggingface:main Feb 10, 2025
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