Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.
This repository was archived by the owner on May 30, 2025. It is now read-only.

Experiment with quantization rewrites #171

@gussmith23

Description

@gussmith23

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    researchThis is a research problem

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions