Skip to content

Conversation

@a-r-r-o-w
Copy link
Contributor

Revealed in #10135 that we can't load config from a provided revision. This is handy for testing single file changes on our weights PRs and has helped for both DCAE and LTX integration

@a-r-r-o-w a-r-r-o-w requested a review from DN6 December 10, 2024 07:26
)
else:
if config:
if config is not None:
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 branch should only be entered when no config is provided. If, for example, I were to pass {}, I want the model to be initialized with default parameters, but currently this does not seem possible.

@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.

@a-r-r-o-w a-r-r-o-w merged commit 0e50401 into main Dec 10, 2024
17 of 18 checks passed
@a-r-r-o-w a-r-r-o-w deleted the single-file-revision-arg branch December 10, 2024 08:42
sayakpaul pushed 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants