Skip to content

Conversation

@BenjaminBossan
Copy link
Member

  • No need to check _dynamic_tied_weights_keys and no need for recursion in _get_tied_weight_keys
  • Updated an error message that mentioned _dynamic_tied_weights_keys
  • Removed a test that involved _dynamic_tied_weights_keys

The attribute is still referenced in the custom tie_weights method of musicgen and musicgen_melody, but my understanding is that the custom method will be removed anyway, so I left it there.

ArthurZucker and others added 11 commits November 5, 2025 22:02
* No need to check _dynamic_tied_weights_keys and no need for
  recursion
* Updated an error message that mentioned _dynamic_tied_weights_keys
* Removed a test that involved _dynamic_tied_weights_keys

The attribute is still referenced in the custom tie_weights method of
musicgen and musicgen_melody, but my understanding is that the custom
method will be removed anyway, so I left it there.
@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.

@ArthurZucker ArthurZucker force-pushed the refactor-weight-loading branch from 28b620d to f692f4b Compare November 7, 2025 07:55
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.

4 participants