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

How to set the pruned weight blocks as a same learnable value? #1361

Open
hobbitlzy opened this issue Oct 30, 2023 · 1 comment
Open

How to set the pruned weight blocks as a same learnable value? #1361

hobbitlzy opened this issue Oct 30, 2023 · 1 comment
Assignees

Comments

@hobbitlzy
Copy link

I want to use the sparsity feature of the neural-compressor. I want to prune the model weights using block-wise granularity. Unlike traditional pruning approaches that zero out pruned weights, I aim to set the values within pruned blocks to a same learnable value. Does neural-compressor supports this functionality? If not, is there a convenient workaround to achieve this block-pruning with reparameterization functionality?

@YIYANGCAI
Copy link
Collaborator

Hi! Sorry for the late response. I think the method you proposed seems not supported in our current API. However, I believe your idea is interesting, and I will look for a chance to discuss it within my team. By the way, if you have some references which can support the effectiveness of your idea, please feel free to contact us! Thank you.

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

No branches or pull requests

2 participants