Control threads

Every time I run Hail, all the threads are called in,so could you please tell me how do I control the threads used by the Hail runtime.

This is controlled by Spark, and you can set it with the master argument to hl.init: For example: hl.init(master='local[2]') to use 2 cores.

1 Like