Options for separate optimization and inference accuracy level during precompilation #48021
Labels
compiler:precompilation
Precompilation of modules
feature
Indicates new feature / enhancement requests
Precompilation has evolved a ton in Julia in recent years, but the controls for it have not. It would be nice if there was a way for example to have different optimization levels during precompilation vs standard compilation, in a way that packages can control at the module level, since a lot of the times the -O1 choice is for latency that is not seen if the package is using a precompiled call. Additionally, this would allow for higher optimization levels that really optimize, doing things like more SLP vectorization or something, if one is okay with the precompilation cost.
This could also allow for more inference controls, for example, enabling #36454 during precompilation if one is okay with the higher latency (to decrease invalidations).
The text was updated successfully, but these errors were encountered: