kernels.harness.precompile()

Compile the Stan program of every (given, else registered) entry that

Usage

Source

kernels.harness.precompile(models=None)

has one. Called before the pool spawns - concurrent first-fits would race the compiler over the same executable - and at container build time, so a container start never pays the compile.