ahrefs / ocannl

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

Consider programmatically enforcing that the order of first-time executions is the same as of jitting #234

Closed lukstafi closed 2 months ago

lukstafi commented 8 months ago

This assumption simplifies optimizations. We already make it in some cases of inferring memory modes.

lukstafi commented 3 months ago

There's a loosely related issue that I will fix tomorrow: at link time, require that tensor nodes in the graph of a tensor are either embedded, or already part of the parent context (the context passed to link that will be the parent of the new context).

lukstafi commented 2 months ago

User knows what user does? Maybe this will resurface once there's evidence it's helpful.