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

Connection Sparsity with torch QuantizedLinear #229

Open
jasonlyik opened this issue Jul 17, 2024 · 1 comment
Open

Connection Sparsity with torch QuantizedLinear #229

jasonlyik opened this issue Jul 17, 2024 · 1 comment

Comments

@jasonlyik
Copy link
Contributor

Add torch QuantizedLinear as recognized class in connection_sparsity metric, should be another case in the if/elif statements

@jasonlyik
Copy link
Contributor Author

Note that snntorch is not jit traceable because the forward function can either return spikes only or spikes and mem. So may be trouble to add torch QuantizedLinear.

SNNTorch recommends Brevitas library for weight quantization, can look into that instead of QuantizedLinear https://github.com/jeshraghian/snntorch/blob/398c7c45498716d7a60f54e0ac92258a5fd99d41/snntorch/functional/quant.py#L47

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

1 participant