Skip to content

log files not named correctly in case of job arrays #2

@Remorax

Description

@Remorax

The log files in tmp contain entirely different numbers when job arrays are launched on SLURM - making it very hard to track logs in such a case. This might be caused by the usage of SLURM_JOB_ID and not SLURM_ARRAY_JOB_ID (but I'm not too sure).

An example command to reproduce this would be:

sbatch -t 12:00:00 --array=1-9%1 --gpus 1 cli/train.sh -c ${config_name} --seed 1 -o ${checkpoints_name} --dtype float32

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