Hi,
I'm using timeout_decorator for machine learning workloads, ensuring that parameter optimizations terminate below pre-defined timeout. This helps in my process, but my workflow became sensitive to any other workload happening on the same host.
I wonder if terminating the function by CPU time is technically possible with the approach followed by timeout_decorator. This would ensure that the optmization step is independent of other processes using the host.
Would this make sense, I could fork / create a new branch or send a pull request with proposed changes.
Let me know if this makes sense, and if you'd be interested in intergrating this in the existing codebase.
Thanks, Mark
Hi,
I'm using
timeout_decoratorfor machine learning workloads, ensuring that parameter optimizations terminate below pre-defined timeout. This helps in my process, but my workflow became sensitive to any other workload happening on the same host.I wonder if terminating the function by CPU time is technically possible with the approach followed by
timeout_decorator. This would ensure that the optmization step is independent of other processes using the host.Would this make sense, I could fork / create a new branch or send a pull request with proposed changes.
Let me know if this makes sense, and if you'd be interested in intergrating this in the existing codebase.
Thanks, Mark