4 ms·
Relying upon a JIT often means the ability to create things which preclude the use of static compilers, which means that accelerated hardware, like ours, cannot
by deepnotderp 9y ago
Relying upon a JIT often means the ability to create things which preclude the use of static compilers, which means that accelerated hardware, like ours, cannot be used efficiently.
- yorwba 9y agoThe kind of optimizations a static compiler might apply can be done by a JIT as well, with the added benefit of actually knowing what kind of workload is going to run. Most of deep learning is applying comparatively small computation graphs to very large arrays of numbers in parallel, so the overhead of compilation is only a small portion of the overall computation time. A smart JIT that decides on the optimal tiling pattern for the array dimensions observed at runtime and rewrites loops accordingly can easily pay for itself.
- Firadeoclus 9y agoAs a counterpoint (and not necessarily the one the GP is referring to), if you were compiling for, say, an FPGA the overhead of compilation would be very significant.
- deepnotderp 9y agoOur processor is analogous to a CGRA, so compilation to it would indeed be hindered by a JIT based compiler.
- gugagore 9y agoThat's "course-grained reconfigurable architecture", for anyone else who didn't know.