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

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --time=15:00:00
#SBATCH --partition=accelerated
#SBATCH --cpus-per-task=5
#SBATCH --gres=gpu:1
#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 --mail-user=mihir.mahajan2002@gmail.com
#SBATCH --job-name=train_tokenizer_minecraft_overfit_sample
#SBATCH --mem=50G
#SBATCH --mail-type=ALL

# Log the sbatch script
cat $0

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

tf_records_dir=$ws_dir/knoms_tfrecords_500_shards
ws_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/'

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

env | grep SLURM

srun python train_tokenizer.py \
    --ckpt_dir $CHECKPOINT_DIR \
    --batch_size=1 \
    --min_lr=1e-4 \
    --max_lr=1e-4 \
    --log_image_interval=100 \
    --log \
    --log_checkpoint_interval=500 \
    --name=tokenizer-tiny-overfit-$slurm_job_id \
    --tags tokenizer overfit tiny \
    --entity instant-uv \
    --project jafar \
    --data_dir $tf_records_dir \
    --model_dim 384 \
    --latent_dim 32 \
    --num_latents 1024 \
    --patch_size 4 \
    --num_blocks 8 \
    --num_heads 8 \
    --codebook_dropout 0.0 \ 
    --
/var/spool/slurmd/job3309656/slurm_script: line 21: .venv/bin/activate: No such file or directory
SLURM_STEP_NUM_TASKS=1
SLURM_JOB_USER=tum_cte0515
SLURM_TASKS_PER_NODE=1
SLURM_JOB_UID=999226
SLURM_TASK_PID=1591106
SLURM_JOB_GPUS=3
SLURM_LOCALID=0
SLURM_SUBMIT_DIR=/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs
SLURMD_NODENAME=hkn0821
SLURM_JOB_START_TIME=1751381052
SLURM_STEP_NODELIST=hkn0736
SLURM_CLUSTER_NAME=hk
SLURM_JOB_END_TIME=1751435052
SLURM_PMI2_SRUN_PORT=45839
SLURM_CPUS_ON_NODE=6
SLURM_JOB_CPUS_PER_NODE=6
SLURM_GPUS_ON_NODE=1
SLURM_GTIDS=0
SLURM_JOB_PARTITION=accelerated
SLURM_TRES_PER_TASK=cpu=5
SLURM_OOM_KILL_STEP=0
SLURM_JOB_NUM_NODES=1
SLURM_STEPID=4294967290
SLURM_JOBID=3309656
SLURM_PTY_PORT=45201
SLURM_JOB_QOS=normal
SLURM_LAUNCH_NODE_IPADDR=10.0.7.198
SLURM_PTY_WIN_ROW=42
SLURM_PMI2_PROC_MAPPING=(vector,(0,1,1))
SLURMD_DEBUG=2
SLURM_PROCID=0
SLURM_CPUS_PER_TASK=5
SLURM_NTASKS=1
SLURM_TOPOLOGY_ADDR=hkibb.hkibbi2.hkibbi2e2.hkn0821
SLURM_TOPOLOGY_ADDR_PATTERN=switch.switch.switch.node
SLURM_SRUN_COMM_HOST=10.0.7.198
SLURM_SCRIPT_CONTEXT=prolog_task
SLURM_MEM_PER_NODE=51200
SLURM_PTY_WIN_COL=175
SLURM_NODELIST=hkn0821
SLURM_SRUN_COMM_PORT=40861
SLURM_STEP_ID=4294967290
SLURM_JOB_ACCOUNT=hk-project-p0023960
SLURM_PRIO_PROCESS=0
SLURM_NPROCS=1
SLURM_NNODES=1
SLURM_SUBMIT_HOST=hkn0736.localdomain
SLURM_JOB_ID=3309656
SLURM_NODEID=0
SLURM_STEP_NUM_NODES=1
SLURM_STEP_TASKS_PER_NODE=1
SLURM_MPI_TYPE=pmi2
SLURM_PMI2_STEP_NODES=hkn0736
SLURM_CONF=/etc/slurm/slurm.conf
SLURM_JOB_NAME=train_tokenizer_minecraft_overfit_sample
SLURM_NTASKS_PER_NODE=1
SLURM_STEP_LAUNCHER_PORT=40861
SLURM_JOB_GID=502226
SLURM_JOB_NODELIST=hkn0821
GpuFreq=control_disabled
2025-07-01 16:45:07.738780: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1751381108.009194 1591164 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1751381108.042604 1591164 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1751381108.444938 1591164 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1751381108.444988 1591164 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1751381108.444990 1591164 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1751381108.444991 1591164 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1751381142.326172 1591164 gpu_device.cc:2341] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
╭─ Parsing error ──────────────────────────────────╮
│ Unrecognized arguments:                          │
│ ──────────────────────────────────────────────── │
│ For full helptext, run train_tokenizer.py --help │
╰──────────────────────────────────────────────────╯
srun: error: hkn0821: task 0: Exited with exit code 2
/var/spool/slurmd/job3309656/slurm_script: line 54: --: command not found

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

Job ID: 3309656
Cluster: hk
User/Group: tum_cte0515/hk-project-p0023960
Account: hk-project-p0023960
State: FAILED (exit code 127)
Partition: accelerated
Nodes: 1
Cores per node: 6
Nodelist: hkn0821
CPU Utilized: 00:00:06
CPU Efficiency: 1.10% of 00:09:06 core-walltime
Job Wall-clock time: 00:01:31
Starttime: Tue Jul  1 16:44:12 2025
Endtime: Tue Jul  1 16:45:43 2025
Memory Utilized: 488.61 MB
Memory Efficiency: 0.95% of 50.00 GB
Energy Consumed: 77683 Joule / 21.5786111111111 Watthours
Average node power draw: 853.659340659341 Watt