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

Experiment with quantization rewrites #171

Open
gussmith23 opened this issue Mar 9, 2022 · 0 comments
Open

Experiment with quantization rewrites #171

gussmith23 opened this issue Mar 9, 2022 · 0 comments
Labels
research This is a research problem

Comments

@gussmith23
Copy link
Owner

I think we could incorporate some quantization-like experiments in Glenside.

We could keep sample values in the analysis (like Ruler's cvec). We could then have rewrites that quantize/manipulate the program with different datatypes (e.g. 8 bit ints) and recalculate the values in the cvec. Then, we could merge only when cvecs match, i.e. when quantization is accurate enough.

This doesn't necessarily need to be done in Glenside; this idea could be implemented elsewhere.

@gussmith23 gussmith23 added the research This is a research problem label Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
research This is a research problem
Projects
None yet
Development

No branches or pull requests

1 participant