FluxML / IRTools.jl

Mike's Little Intermediate Representation
MIT License
111 stars 35 forks source link

Explore precompilation #95

Open ToucheSir opened 2 years ago

ToucheSir commented 2 years ago

When looking at SnoopCompile timings for Zygote (e.g.), IRTools comes up as a big inference block. AIUI this is because Zygote itself can't precompile any methods in IRTools because it does not own them, and hence nothing precompiles reliably all the way up the chain.

https://github.com/FluxML/IRTools.jl/issues/64 may be related.