warp.config.load_module_max_workers#

warp.config.load_module_max_workers: int | None = 0#

Default number of worker threads for compiling and loading modules in parallel.

For wp.load_module() and wp.force_load(), if the max_workers parameter is not specified, the default number of worker threads is determined by this setting. 0 means serial loading. If None, Warp determines the behavior (currently equal to min(os.cpu_count(), 4)).