Skip to content

CPU time #82

@cyber42

Description

@cyber42

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions