Skip to content

module llutil.utils


function in_main_process

in_main_process()

Whether current process is worker process or main process.


function enable_auto_freeze

enable_auto_freeze(enable: bool = True)

function auto_freeze_enabled

auto_freeze_enabled()

function init_torch_multiprocessing

init_torch_multiprocessing()