Skip to content

catch SIGTERM in SLURM #405

@akoumpa

Description

@akoumpa

when running a batch job on SLURM, before terminating the job, SLURM sends a SIGTERM to the process 1min before terminating. We can catch this signal and save a checkpoint to have the latest weights.

relevant material: https://services.criann.fr/en/services/hpc/cluster-myria/guide/signals-sent-by-slurm/#sigterm-signal

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