Skip to content
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

Allow TiedLayerSpec to have multiple tied weights #4216

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zphang
Copy link

@zphang zphang commented Aug 24, 2023

Follow-up from (and directly reusing code from): #2035

This PR allows TiedLayerSpec to support a list of tied weights. This will allow whole layers to be reused.

Re: #2035 (comment), tied_weight_attrss has two Ss intentionally, as it is a dictionary of lists. (Happy to rename to something else too.)

Credit: @thomasw21

@zphang
Copy link
Author

zphang commented Aug 24, 2023

@microsoft-github-policy-service agree

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