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 determine the gaussian and hwgq step values #7

Closed
ken012git opened this issue Jul 8, 2021 · 5 comments
Closed

How to determine the gaussian and hwgq step values #7

ken012git opened this issue Jul 8, 2021 · 5 comments

Comments

@ken012git
Copy link

How to determine the gaussian and hwgq step values if we want to get more bit configuration?

https://github.com/zhaoweicai/EdMIPS/blob/master/models/quant_module.py#L7
https://github.com/zhaoweicai/EdMIPS/blob/master/models/quant_module.py#L8

Thanks

@cuong-pv
Copy link

I also confused about how to determine the gaussian and hwgq step values? Does it depend on datasets?

@zhaoweicai
Copy link
Owner

As mentioned in the paper, the step values can be determined by Lloyd’s algorithm (which is simply a K-means algorithm). I have a script to compute these values. Drop me an email if you need it.

@qianhuiliu
Copy link

How to determine the gaussian and hwgq step values if we want to get more bit configuration?

https://github.com/zhaoweicai/EdMIPS/blob/master/models/quant_module.py#L7 https://github.com/zhaoweicai/EdMIPS/blob/master/models/quant_module.py#L8

Thanks

Hi, do you have the code to generate the gaussian and hwgq step values?

@SakuraiYuuta
Copy link

As mentioned in the paper, the step values can be determined by Lloyd’s algorithm (which is simply a K-means algorithm). I have a script to compute these values. Drop me an email if you need it.

sakuraishota@126.com, I want the script, thank you so much!

@haiduo
Copy link

haiduo commented Apr 3, 2024

huanghd@stu.xjtu.edu.cn, I also want the script, thank you so much!

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

6 participants