kinoml icon indicating copy to clipboard operation
kinoml copied to clipboard

Allow environment variable to set number of threads to use

Open jchodera opened this issue 3 years ago • 0 comments

We should add a feature to our training notebooks to check if an environment variable is set (e.g. KINOML_NUM_THREADS), and if so, call `torch.set_num_threads() with the appropriate number of threads. This will allow us to better work within batch queue systems.

jchodera avatar Nov 19 '21 10:11 jchodera