wrapt_timeout_decorator icon indicating copy to clipboard operation
wrapt_timeout_decorator copied to clipboard

add timeout based on process_time (cpu time) for machine learning

Open bitranox opened this issue 2 years ago • 0 comments

introduce timeout based on cpu_time for machine learning workloads, ensuring that parameter optimizations terminate below pre-defined timeout. This eliminates sensitivity to any other workload happening on the same host. This would ensure that the optimization step is independent of other processes using the host.

the plan is to add a parameter use_process_time which defauls to False to use wallclock time. if that parameter is set to True we use process_time

proposed by @cyber42

bitranox avatar Jan 19 '24 11:01 bitranox