ahrefs / ocannl

OCANNL: OCaml Compiles Algorithms for Neural Networks Learning
BSD 2-Clause "Simplified" License
67 stars 2 forks source link

Fix performance of `bin/micrograd_basic` -- very simple scalar computation takes 7 seconds to compile #246

Closed lukstafi closed 7 months ago

lukstafi commented 7 months ago

There's leakiness in ppx_minidebug measurement, but apparently it's ~2s in gccjit compilation we might not be able to recover, but >4s on our side of the compilation, and not inside shape inference.

lukstafi commented 7 months ago

micrograd_basic_compilation_perf_bug