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 do sparsity and quantization-aware-training ? #122

Open
Vieeo opened this issue Jan 23, 2025 · 3 comments
Open

How to do sparsity and quantization-aware-training ? #122

Vieeo opened this issue Jan 23, 2025 · 3 comments
Assignees

Comments

@Vieeo
Copy link

Vieeo commented Jan 23, 2025

How to implement sparsification and quantization-aware-training , and keep the sparse mask unchanged during quantization.

@Vieeo
Copy link
Author

Vieeo commented Feb 7, 2025

I guess this will be helpful: https://www.nvidia.com/en-us/on-demand/session/gtcspring21-s31552/ Original paper: https://arxiv.org/abs/2104.08378 Blog: https://developer.nvidia.com/blog/sparsity-in-int8-training-workflow-and-best-practices-for-tensorrt-acceleration/

Thanks, it can be done with your method. Now, nvidia-modelopt doesn’t seem to keep the sparse mask unchanged during quantization. Do you know the sdk?

@yairb-gm
Copy link

yairb-gm commented Mar 4, 2025

I have the same question - Is it possible to freeze sparse mask while doing QAT?
@Vieeo have you find solution / workaround that can be applied?

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

4 participants