Skip to content

Conversation

@kylesayrs
Copy link
Collaborator

Purpose

  • Allow research and others to run experiments with transforms

Changes

  • Add _update_transforms_tied_weights, which updates the _tied_weights_keys attribute of the model. This attribute is read by PreTrainedModel.tie_weights and ensures that transform weights are correctly tied during loading

Postrequisites

Testing

Loaded and verified the perplexity of nm-testing/Llama-3.2-1B-Instruct-quip-w4a16

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
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.

2 participants