Skip to content

Feature: stop when last trained epoch time longer than remaining job time #1818

@albertz

Description

@albertz

Slurm specific: I think via squeue -h -j $SLURM_JOB_ID -O TimeLeft, we can know how much runtime we have left.

When the remaining runtime is less than the training time of the previous epoch, we should stop now, so that Sisyphus can resubmit, and we don't waste the training of half an epoch.

Btw, how should we stop that Sisyphus will continue? Exit state 0 might incorrectly let Sisyphus think that we have fully finished? Exit status non-zero might let Sisyphus think there is a non-recoverable error? How does Sisyphus determine when a job can be resumed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions