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

调用autocompress的非结构化剪枝工具后模型参数文件大小不发生变化 #1521

Closed
moonlightian opened this issue Nov 16, 2022 · 1 comment

Comments

@moonlightian
Copy link

请问autocompress的非结构化剪枝是只对模型的参数做置零处理,其实并不改变模型结构吗?发现剪枝前后的模型参数文件model.pdiparams并未发生改变

@ceci3
Copy link
Contributor

ceci3 commented Nov 21, 2022

是的,模型结构没有改变,是参数里的部分参数置零,所以pdiparams大小不发生变化

@paddle-bot paddle-bot bot closed this as completed Feb 6, 2024
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