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

Converting to masked layers bug fix #303

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Converting to masked layers bug fix #303

merged 2 commits into from
Dec 11, 2024

Conversation

yc7z
Copy link
Collaborator

@yc7z yc7z commented Dec 11, 2024

PR Type

Fix

Short Description

Fixed the bug for converting a model to the masked version by setting the mask scores parameters at the appropriate module level.

Tests Added

Added a new test that uses load_state_dict.

@yc7z yc7z changed the title Masked layers bug fix Converting to masked layers bug fix Dec 11, 2024
@yc7z yc7z requested a review from emersodb December 11, 2024 15:31
Copy link
Collaborator

@emersodb emersodb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me...very subtle bug. Good catch!

@yc7z yc7z merged commit 4a09d5a into main Dec 11, 2024
6 checks passed
@yc7z yc7z deleted the masked_layers_bug_fix branch December 11, 2024 23:24
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