-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Don't modify tied_weight_keys in-place
#43619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9b0d04b
4e0dae6
d379594
b11dfad
c22b234
a5c7881
3a4bac5
8676c35
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -327,6 +327,11 @@ def test_feed_forward_chunking(self): | |
| def test_load_save_without_tied_weights(self): | ||
| pass | ||
|
|
||
| # Ignore copy | ||
| def test_tie_weights_is_not_modified(self): | ||
| # this model doesn't need a test | ||
| pass | ||
|
Comment on lines
+330
to
+333
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just passing through, why doesn't this need a test? (wrt comment)
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the model definition is slightly different from |
||
|
|
||
| def test_attention_outputs(self): | ||
| config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common() | ||
| config.return_dict = True | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.