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

snpe 作为后端是否后续会支持per_channel 量化 #33

Open
bruce1408 opened this issue Sep 1, 2024 · 1 comment
Open

snpe 作为后端是否后续会支持per_channel 量化 #33

bruce1408 opened this issue Sep 1, 2024 · 1 comment

Comments

@bruce1408
Copy link

bruce1408 commented Sep 1, 2024

请教dipoorlet 量化工具,后续是否会支持提供snpe作为后端的per_channel量化策略?如果没有计划支持,请问有其他方案代替吗?谢谢

@llmc-reviewer
Copy link

请教dipoorlet 量化工具,后续是否会支持提供snpe作为后端的per_channel量化策略?如果没有计划支持,请问有其他方案代替吗?谢谢

这个非常好支持,只需要在snpe的配置里修改为per-channel:True即可:https://github.com/ModelTC/Dipoorlet/blob/c89130744d45ae2e7cb77081b8799c2ff31ee08d/dipoorlet/platform_settings.py#L111C1-L114C29

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