google / google/heir

Hoist computations that can be precomputed out of a function

Open
#1,475 6 comments 0 reactions 1 assignee Claimed by @asraa View on GitHub
Dominant language
MLIR
Stars
906
Forks
171
Avg merge
4d 12h
Merged PRs (30d)
32

Description

For example, weights that are encoded into plaintexts can be hoisted into a function that can be called as a one time setup.

This can be done at the IR level and then modify the function with the extra precomputed args.

Thinking especially of large ML models and #1232

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.