[tab] /hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/train_dyn_yolorun_new_arch_3358457.log (log)
#!/usr/bin/env bash

#SBATCH --nodes=2
#SBATCH --ntasks-per-node=4
#SBATCH --time=48:00:00
#SBATCH --partition=accelerated
#SBATCH --cpus-per-task=5
#SBATCH --gres=gpu:4
#SBATCH --output=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/%x_%j.log
#SBATCH --error=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/%x_%j.log
#SBATCH --job-name=train_dyn_yolorun_new_arch

# Log the sbatch script
cat $0

module unload mpi/openmpi/5.0
module unload devel/cuda/12.4
# source .venv/bin/activate

array_records_dir=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_new/open_ai_minecraft_arrayrecords_chunked

job_name=$SLURM_JOB_NAME
slurm_job_id=$SLURM_JOB_ID

CHECKPOINT_DIR=$ws_dir/checkpoints/$job_name/$slurm_job_id
mkdir -p $CHECKPOINT_DIR

tokenizer_ckpt_dir=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/big-runs/tokenizer-lr-scaling/train_tokenizer_lr_sweep_1e-4

env | grep SLURM

srun python train_dynamics.py \
    --save_ckpt \
    --num_steps=1001 \
    --warmup_steps=0 \
    --wsd_decay_steps=0 \
    --ckpt_dir $CHECKPOINT_DIR \
    --batch_size=8 \
    --init_lr=1e-3 \
    --max_lr=1e-3 \
    --log_image_interval=100 \
    --log \
    --log_checkpoint_interval=100 \
    --name=dynamics-new-arch-speedrun-new-$slurm_job_id \
    --tags dynamics \
    --entity instant-uv \
    --project jafar \
    --tokenizer_checkpoint=$tokenizer_ckpt_dir \
    --data_dir $array_records_dir \
    --dyna_dim=128 \
    --dyna_num_blocks=2 \
    --dyna_num_heads=4
 SLURM_JOB_USER=tum_cte0515
SLURM_TASKS_PER_NODE=4(x2)
SLURM_JOB_UID=999226
SLURM_TASK_PID=1865034
SLURM_JOB_GPUS=0,1,2,3
SLURM_LOCALID=0
SLURM_SUBMIT_DIR=/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar
SLURMD_NODENAME=hkn0718
SLURM_JOB_START_TIME=1752865934
SLURM_CLUSTER_NAME=hk
SLURM_JOB_END_TIME=1753038734
SLURM_CPUS_ON_NODE=24
SLURM_JOB_CPUS_PER_NODE=24(x2)
SLURM_GPUS_ON_NODE=4
SLURM_GTIDS=0
SLURM_JOB_PARTITION=accelerated
SLURM_TRES_PER_TASK=cpu=5
SLURM_OOM_KILL_STEP=0
SLURM_JOB_NUM_NODES=2
SLURM_JOBID=3358457
SLURM_JOB_QOS=normal
SLURM_PROCID=0
SLURM_CPUS_PER_TASK=5
SLURM_NTASKS=8
SLURM_TOPOLOGY_ADDR=hkibb.hkibbi1.hkibbi1e9.hkn0718
SLURM_TOPOLOGY_ADDR_PATTERN=switch.switch.switch.node
SLURM_SCRIPT_CONTEXT=prolog_task
SLURM_NODELIST=hkn[0718,0720]
SLURM_JOB_ACCOUNT=hk-project-p0023960
SLURM_PRIO_PROCESS=0
SLURM_NPROCS=8
SLURM_NNODES=2
SLURM_SUBMIT_HOST=hkn1991.localdomain
SLURM_JOB_ID=3358457
SLURM_NODEID=0
SLURM_CONF=/etc/slurm/slurm.conf
SLURM_JOB_NAME=train_dyn_yolorun_new_arch
SLURM_NTASKS_PER_NODE=4
SLURM_JOB_GID=502226
SLURM_JOB_NODELIST=hkn[0718,0720]
GpuFreq=control_disabled
GpuFreq=control_disabled
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/train_dynamics.py", line 4, in <module>
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/train_dynamics.py", line 4, in <module>
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/train_dynamics.py", line 4, in <module>
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/train_dynamics.py", line 4, in <module>
    import einops
ModuleNotFoundError: No module named 'einops'
    import einops
ModuleNotFoundError: No module named 'einops'
    import einops
ModuleNotFoundError: No module named 'einops'
    import einops
ModuleNotFoundError: No module named 'einops'
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/train_dynamics.py", line 4, in <module>
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/train_dynamics.py", line 4, in <module>
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/train_dynamics.py", line 4, in <module>
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/train_dynamics.py", line 4, in <module>
    import einops
ModuleNotFoundError: No module named 'einops'
    import einops
ModuleNotFoundError: No module named 'einops'
    import einops
ModuleNotFoundError: No module named 'einops'
    import einops
ModuleNotFoundError: No module named 'einops'
srun: error: hkn0718: tasks 0-3: Exited with exit code 1
srun: error: hkn0720: tasks 4-7: Exited with exit code 1

============================= JOB FEEDBACK =============================

Job ID: 3358457
Cluster: hk
User/Group: tum_cte0515/hk-project-p0023960
Account: hk-project-p0023960
State: FAILED (exit code 1)
Partition: accelerated
Nodes: 2
Cores per node: 24
Nodelist: hkn[0718,0720]
CPU Utilized: 00:00:01
CPU Efficiency: 0.07% of 00:22:24 core-walltime
Job Wall-clock time: 00:00:28
Starttime: Fri Jul 18 21:12:14 2025
Endtime: Fri Jul 18 21:12:42 2025
Memory Utilized: 10.32 MB
Memory Efficiency: 0.00% of 0.00 MB
Energy Consumed: 19186 Joule / 5.32944444444444 Watthours
Average node power draw: 685.214285714286 Watt