google / google/heir

Allow the user to specify that bootstrapping is forbidden

Open
#2,998 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
MLIR
Stars
906
Forks
171
Avg merge
4d 12h
Merged PRs (30d)
32

Description

A user of HEIR reached out to mention they wanted to compile a model, and when I compiled it, HEIR believed that bootstrapping was necessary, when in fact, provided a mild number of levels (~20), the model could run just fine.

We should provide a high-level configuration option to HEIR that allows the user to essentially say, "no bootstrapping at all" and instead they can provide a level budget upper bound, and then HEIR will either stay within that level budget or else report a nice error that it cannot.

I think this should be possible with the existing passes, and it should just require properly plumbing through pass options.

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.