Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在训练时srun命令出现了问题 #17

Open
leaozhun opened this issue Oct 7, 2024 · 0 comments
Open

在训练时srun命令出现了问题 #17

leaozhun opened this issue Oct 7, 2024 · 0 comments

Comments

@leaozhun
Copy link

leaozhun commented Oct 7, 2024

  • PARTITION=super_priority
  • JOB_NAME=psg
  • CONFIG=configs/mask2former/mask2former_r50_lsj_8x2_50e_coco-panoptic.py
  • WORK_DIR=work_dirs/mask2former_r50_ips
  • PORT=1111
  • GPUS_PER_NODE=1
  • CPUS_PER_TASK=5
  • PY_ARGS=
  • PYTHONPATH=/mnt/lustre/jkyang/CVPR23/openpvsg:
  • srun -p super_priority --job-name=psg --gres=gpu:1 --ntasks-per-node=1 --cpus-per-task=5 --kill-on-bad-exit=1 python -u tools/train.py configs/mask2former/mask2former_r50_lsj_8x2_50e_coco-panoptic.py --work-dir=work_dirs/mask2former_r50_ips --launcher=slurm
    srun: error: If munged is up, restart with --num-threads=10
    srun: error: Munge encode failed: Failed to access "/var/run/munge/munge.socket.2": No such file or directory
    srun: error: slurm_send_node_msg: auth_g_create: REQUEST_RESOURCE_ALLOCATION has authentication error
    srun: error: Srun communication socket apparently being written to by something other than Slurm
    srun: error: If munged is up, restart with --num-threads=10
    srun: error: Munge encode failed: Failed to access "/var/run/munge/munge.socket.2": No such file or directory
    srun: error: slurm_send_node_msg: auth_g_create: REQUEST_RESOURCE_ALLOCATION has authentication error
    srun: error: Srun communication socket apparently being written to by something other than Slurm
    srun: error: If munged is up, restart with --num-threads=10
    srun: error: Munge encode failed: Failed to access "/var/run/munge/munge.socket.2": No such file or directory
    srun: error: slurm_send_node_msg: auth_g_create: REQUEST_RESOURCE_ALLOCATION has authentication error
    srun: error: Srun communication socket apparently being written to by something other than Slurm
    srun: error: If munged is up, restart with --num-threads=10
    srun: error: Munge encode failed: Failed to access "/var/run/munge/munge.socket.2": No such file or directory
    srun: error: slurm_send_node_msg: auth_g_create: REQUEST_RESOURCE_ALLOCATION has authentication error
    srun: error: Srun communication socket apparently being written to by something other than Slurm
    srun: error: If munged is up, restart with --num-threads=10
    srun: error: Munge encode failed: Failed to access "/var/run/munge/munge.socket.2": No such file or directory
    srun: error: slurm_send_node_msg: auth_g_create: REQUEST_RESOURCE_ALLOCATION has authentication error
    srun: error: Srun communication socket apparently being written to by something other than Slurm
    srun: error: Unable to allocate resources: Protocol authentication error

具体报错情况如上,请问应该在哪里来做调整?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant